Python package to manipulate the Cassini VIMS data.
Project description
Python package to manipulate the Cassini VIMS data.
Prerequisites
This module use GDAL library to create and load GeoTIFF files. You need to install it first before installing pyvims.
With conda:
$ conda config --add channels conda-forge
$ conda install -c conda-forge gdal
Or directly on Ubuntu:
$ apt-get install libgdal-dev
For other operating system, please refer to OSGeo page.
Install
With pip:
$ pip install pyvims
With the source files:
$ git clone https://github.com/seignovert/pyvims.git
$ cd pyvims ; python setup.py install
Testing
Check the install:
>>> from pyvims import VIMS
Examples
Download test files (ISIS3 cubes of 1487096932_1):
$ wget https://vims.univ-nantes.fr/data/isis/003TI/C1487096932_1_vis.cub
$ wget https://vims.univ-nantes.fr/data/isis/003TI/C1487096932_1_ir.cub
$ wget https://vims.univ-nantes.fr/data/isis/003TI/N1487096932_1_vis.cub
$ wget https://vims.univ-nantes.fr/data/isis/003TI/N1487096932_1_ir.cub
To use, simply do:
>>> from pyvims import VIMS
>>> cub = VIMS('1487096932_1')
>>> cub
VIMS cube: 1487096932_1 [ISIS3]
>>> cub.time
'2005-02-14T18:05:00.976500'
>>> cub.target
u'TITAN'
>>> cub.NS, cub.NL
(42, 42)
For more details, take a look to the Jupyter NoteBook where more example of usage are provided.
Dependencies
Numpy
DateTime
CV2
Piexif
PlanetaryImage
SpiceyPy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyvims-0.6.5.tar.gz
(64.1 kB
view hashes)
Built Distribution
pyvims-0.6.5-py2.py3-none-any.whl
(37.7 kB
view hashes)
Close
Hashes for pyvims-0.6.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a33c358754029f24cc1e9c96b610039a745bfceb30f659f0a361a1da122fcaf3 |
|
MD5 | 5b4da7fda721102f42c551e43ba93b96 |
|
BLAKE2b-256 | b7c9790e1d961226843a13c03b36f555b0eae428db20972ba6cfa53547342600 |