Skip to main content

Python package to manipulate the Cassini VIMS data.

Project description

Build PyPI Status Version Python License

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 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/T3/C1487096932_1_vis.cub
$ wget https://vims.univ-nantes.fr/data/isis/T3/C1487096932_1_ir.cub
$ wget https://vims.univ-nantes.fr/data/isis/T3/N1487096932_1_vis.cub
$ wget https://vims.univ-nantes.fr/data/isis/T3/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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyvims-0.6.2-py2.py3-none-any.whl (36.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3
pyvims-0.6.2.tar.gz (34.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page