[gradsusr] opening modis hdf files

See Hai Ooi axl419 at yahoo.com
Wed Nov 21 03:48:21 EST 2012


Thank you Jennifer and James.
 
I was unable to open the files with the different combinations of my following .ctl file:-
 
dset ^./MYD08_D3.A%y4%j3.005.%ch.hdf
*dset ^./MYD08_D3.A2003%j3.005.%ch.hdf
chsub 1 1 2007081003101
chsub 2 2 2007081005859
options yrev template
xdef XDim:mod08 360 linear -180.0 1.0
ydef YDim:mod08 180 linear -90.0 1.0
*tdef 2 linear 1may2003 1dy
tdef TIME2DIMS:mod08 2 linear 1may2003 1dy
vars 3
Deep_Blue_Aerosol_Optical_Depth_550_Land_Mean=>od_550 0 t,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 t,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 t,y,x Optical depth at 0.55 microns for land (corrected): Minimum
endvars
 

 
error 1 (as %t3)
-----------------------
ga-> xdfopen c:/homeuse/asip2/test2/mod08.ctl
Scanning Descriptor File:  c:/homeuse/asip2/test2/mod08.ctl
gadxdf error: Missing or invalid dimension size.
  --> The invalid description file record is:
  --> tdef 2 linear 1may2003 1dy
  The data file was not opened.
 
erro 2 (as %j3)
-------------------
ga-> xdfopen c:/homeuse/asip2/test2/mod08.ctl
Scanning Descriptor File:  c:/homeuse/asip2/test2/mod08.ctl
gadxdf error: Missing or invalid dimension size.
  --> The invalid description file record is:
  --> tdef 2 linear 1may2003 1dy
  The data file was not opened.
 
error 3 (as TIME2DIMS:mod08)
---------------------------------------------
ga-> xdfopen c:/homeuse/asip2/test2/mod08.ctl
Scanning Descriptor File:  c:/homeuse/asip2/test2/mod08.ctl
gadsdf: Time dimension TIME2DIMS:mod08 is not an SDF dimension.
SDF Descriptor file c:/homeuse/asip2/test2/mod08.ctl was not successfully opened
 & parsed.
 
error 4 (as %y4)
-----------------------
ga-> xdfopen c:/homeuse/asip2/test2/mod08.ctl
Scanning Descriptor File:  c:/homeuse/asip2/test2/mod08.ctl
gadsdf: Time dimension TIME2DIMS:mod08 is not an SDF dimension.
SDF Descriptor file c:/homeuse/asip2/test2/mod08.ctl was not successfully opened
 & parsed.

 
 
Where did I go wrong ?  I attach my data directory file for your reference too.
 
Again, thank you and best regards.
 
Ooi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20121121/e0f3d0cb/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: directory.rtf
Type: application/msword
Size: 532064 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20121121/e0f3d0cb/attachment-0003.dot 


More information about the gradsusr mailing list