[gradsusr] opening modis hdf files
Sagar Parajuli
psagar at utexas.edu
Mon Nov 19 10:35:16 EST 2012
Thank you all for your help. H Ooi, your help really helped me; by including
'options yrev' - I could open with correct projection. I have separate file
for each time step so I will have to make a loop to open all the files. For
anyone who is trying to open modis hdf, I am re-writing the complete script
for everyone's reference.
dset ^./MYD08_D3.A2003121.005.2007081003101.hdf
options yrev
xdef XDim:mod08 360 linear -180.0 1.0
ydef YDim:mod08 180 linear -90.0 1.0
vars 3
Deep_Blue_Aerosol_Optical_Depth_550_Land_Mean=>od_550 0 y,x Optical depth at
0.55 microns for land (corrected): Mean
Deep_Blue_Aerosol_Optical_Depth_550_Land_Standard_Deviation=>od_550_sd 0 y,x
Optical depth at 0.55 microns for land (corrected): Standard Deviation
Deep_Blue_Aerosol_Optical_Depth_550_Land_Minimum=>od_550_min 0 y,x Optical
depth at 0.55 microns for land (corrected): Minimum
endvars
Sincerely,
Sagar Prasad Parajuli
Graduate Student/Research Assistant
University of Texas at Austin
Jackson School of Geosciences
1 University Station C1100, JGB 5.322
Austin, TX 78712
Contact: <mailto:psagar at utexas.edu> psagar at utexas.edu
Cell: 512 965 4093
texas-longhorn-logo
From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org]
On Behalf Of See Hai Ooi
Sent: Monday, November 19, 2012 2:53 AM
To: GrADS Users Forum
Subject: Re: [gradsusr] opening modis hdf files
Hi Sergey,
Thank you for your help shown to Sagar. I think the .ctl file should
look like as attached (yrev is needed in options). However, I have one
question. The data refers to only one time step. How should I modify the
file name (....A2003121.005.2007....hdf => the processing time differs from
file to file) and tdef correspondingly if there are several time steps (say,
121, 122, 123 etc as in day of year perpetual calendar) ?
Best regards.
Ooi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20121119/abe286ff/attachment-0003.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1251 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20121119/abe286ff/attachment-0003.jpe
More information about the gradsusr
mailing list