|
|
Re: Converting multi images from hdf to envi standard format [message #89662 is a reply to message #89624] |
Fri, 07 November 2014 14:30  |
Chris Anderson
Messages: 3 Registered: August 2014
|
Junior Member |
|
|
I think your best bet will be using GDAL (http://gdal.org/). GDAL is not an IDL function, but instead runs via command line. You can use gdal_translate to convert between file formats very quickly and easily. An example command would be:
gdal_translate -of ENVI input_file.hdf output_file
or
gdal_translate -of GTiff input_file.hdf output_file
You could write a wrapper in IDL to loop through each of your 200 images if you really want to do that, or you could do it with a windows batch file or shell script if you wanted.
|
|
|