pyModis

Previous topic

parsemodis module

Next topic

qualitymodis module

PDF documentation

Download the documentation in pdf format



convertmodis module

Using MRT software can convert MODIS HDF file to GeoTiff file or create a HDF mosaic file for several tiles.

class pymodis.convertmodis.convertModis(hdfname, confile, mrtpath)[source]

A class to convert modis data from hdf to tif using resample (from MRT tools)

executable()[source]

Return the executable of resample MRT software

run()[source]

Exec the convertion process

class pymodis.convertmodis.createMosaic(listfile, outprefix, mrtpath, subset=False)[source]

A class to convert several MODIS tiles into a mosaic

executable()[source]

Return the executable of mrtmosaic MRT software

run()[source]

Exect the mosaic process

write_mosaic_xml()[source]

Write the XML metadata file for MODIS mosaic

class pymodis.convertmodis.processModis(hdfname, confile, mrtpath, inputhdf=None, outputhdf=None, geolocfile=None)[source]

A class to process raw modis data from hdf to tif using swath2grid (from MRT Swath tools)

executable()[source]

Return the executable of resample MRT software

run()[source]

Exec the convertion process