planetarypy / planetaryimage

Python PDS and Isis Cube file parser.
BSD 3-Clause "New" or "Revised" License
39 stars 20 forks source link

Adding support for Mastcam PDS .dat images #51

Open godber opened 8 years ago

godber commented 8 years ago

Many Mastcam PDS images are distributed as compressed .dat files that need to be decompressed into .IMG files.

The source for a utility dat2img is available in the PDS to do this conversion:

http://pds-imaging.jpl.nasa.gov/data/msl/MSLMST_0007/SOFTWARE/

It may be possible to build this using distutils:

https://docs.python.org/2/extending/building.html

Sample data files:

http://pds-imaging.jpl.nasa.gov/data/msl/MSLMST_0007/DATA/EDR/SURFACE/0640/0640ML0027190060302751I01_XXXX.LBL http://pds-imaging.jpl.nasa.gov/data/msl/MSLMST_0007/DATA/EDR/SURFACE/0640/0640ML0027190060302751I01_XXXX.IMG