Convert MODIS HDF file using GDAL Python bindings. It can create GeoTiff file (or other GDAL supported formats) or HDF mosaic file for several tiles.
Classes:
Functions:
A class to convert modis data from hdf to GDAL formats using GDAL
Parameters: |
|
---|
A class to mosaic modis data from hdf to GDAL formats using GDAL
Parameters: |
---|
A class holding information about a GDAL file.
Class copied from gdal_merge.py
Parameters: | filename (str) – Name of file to read. |
---|---|
Returns: | 1 on success or 0 if the file can’t be opened. |
Copy this files image into target file.
This method will compute the overlap area of the file_info objects file, and the target gdal.Dataset object, and copy the image data for the common window area. It is assumed that the files are in a compatible projection. no checking or warping is done. However, if the destination file is a different resolution, or different image pixel type, the appropriate resampling and conversions will be done (using normal GDAL promotion/demotion rules).
Parameters: |
|
---|---|
Returns: | 1 on success (or if nothing needs to be copied), and zero one failure. |
Return the GDAL resampling method
Parameters: | res (str) – the string of resampling method |
---|