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

Home » Public Forums » archive » Re: reading multiple HDF files
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: reading multiple HDF files [message #61332 is a reply to message #61327] Tue, 15 July 2008 06:41 Go to previous messageGo to previous message
Juggernaut is currently offline  Juggernaut
Messages: 83
Registered: June 2008
Member
On Jul 15, 7:41 am, julia.waltersp...@gmail.com wrote:
> Hi!
> I'm a newbie to IDL (I used to program in MATLAB but the place i work
> at only has IDL licences) and i need to get some things here done
> asap.
> I've been struggling with reading HDF files from MODIS for quiet some
> time now and I def need some good input!
> Here's the thing:
>
> I downloaded a bunch (hundrets) of MODIS data (e.g. MOD_06, Cloud
> product, daily data, years 2000-2008) in HDF format from which I need
> to extract the SDS "Cloud_Fraction" and plot it as a time series for a
> specific geographical region (Switzerland). I managed to read the
> files with the program hdf_read by David fanning and I have a vague
> idea what to do in order to read in multiple hdf files (I guess this
> is done with a FOR loop).
>
> HOWEVER: I simply cannot imagine how it is possible to link single
> SDS' (e.g. "Cloud_Fraction") from multiple hdf files, and I don't even
> wanna think about displaying them as a time series or on a map of a
> geographic region.
>
> Can anybody give me some good hints? anything would be greatly
> appreciated!!!
> many many thanks
> Julia

Also...as for the loop you can simply do a file_search() routine (just
run a help inquiry on it for syntax) and find all
hdf files in a certain directory. You can use the 'count' variable it
uses to determine the loop size and then use the hdf reader
stuff I mentioned above to plot the data against each other using
'oplot' to plot over successive plots.
Hope this helps a bit.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Where O Where Di My Pointer Go?
Next Topic: IDLWave opens new frame on error/stop

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

Current Time: Wed Oct 08 19:31:10 PDT 2025

Total time taken to generate the page: 0.00442 seconds