comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Converting multi images from hdf to envi standard format
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Converting multi images from hdf to envi standard format [message #89662 is a reply to message #89624] Fri, 07 November 2014 14:30 Go to previous message
Chris Anderson is currently offline  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.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: 3D lights affecting only certain objects?
Next Topic: Functional analysis in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:47:58 PDT 2025

Total time taken to generate the page: 0.00360 seconds