Home »
Public Forums »
archive »
Re: Spectral subsetting of HDF files
| Re: Spectral subsetting of HDF files [message #41730] |
Fri, 19 November 2004 09:27 |
Liam Gumley
Messages: 473 Registered: November 1994
|
Senior Member |
|
|
Neil. wrote:
> Hi
>
> I want to write a batch script the read the first 7 SD's from an hdf
> file, and then export those bands to an ENVI format file with the same
> basename as the original hdf file. I can get the hdf files open in
> IDL, but I can't seem to get around needing to pick the SD's I wanna
> include in the ENVI file using a dialogue box. Wow, that'll blow a
> hole in batch-ness of the whole thing! I have about 400 hdf files I
> need to process this way.
>
> Someone has to have been through this before. Any help would be
> greatly appreciated.
>
> Cheers. Neil.
My HDF_SD routines might be helpful:
http://www.gumley.com/PIP/Free_Software.html
Chapter 4 of my book covers reading and writing HDF files in detail.
Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
|
|
|
|
Current Time: Tue Dec 02 12:04:54 PST 2025
Total time taken to generate the page: 1.76942 seconds