xdfopen

Ghan, Steven J Steve.Ghan at PNL.GOV
Mon Jan 17 19:10:49 EST 2005


I'm trying to open an hdf file using xdfopen.
I'm following the instructions, but I'm getting the following result:

gradshdf
Grid Analysis and Display System (GrADS) Version 1.8SL11
Copyright (c) 1988-2001 by Brian Doty
Center for Ocean-Land-Atmosphere Studies
Institute for Global Environment and Society
All Rights Reserved
Config: v1.8SL11 32-bit little-endian readline sdf/xdf hdf-sds lats
printim
Issue 'q config' command for more information.
Landscape mode? (no for portrait):
GX Package Initialization: Size = 11 8.5
ga-> xdfopen A2002185.ddf
Scanning Descriptor File:  A2002185.ddf
SDF file has no discernable time coordinate.
Alleged lon dimension (from YDEF) is not an SDF dimension.  Cannot
continue.
Lon dimension name is:
YDim_MOD_CMG_Snow_5km
Alleged lat dimension (from XDEF) is not an SDF dimension.  Cannot
continue.
Lat dimension name is:
XDim_MOD_CMG_Snow_5km
Data file MYD10C2.A2002185.004.2004026093314.hdf was not successfully
opened & parsed.

My ddf file has the following:

DSET MYD10C2.A2002185.004.2004026093314.hdf
TITLE July 3 2002
options yrev
UNDEF -2
YDEF YDim_MOD_CMG_Snow_5km 3600 LINEAR -89.975 0.05
XDEF XDim_MOD_CMG_Snow_5km 7200 LINEAR -179.975 0.05
VARS 1
Eight_Day_CMG_Snow_Cover=>snowcover 1 99 snow cover percent
ENDVARS

The result of hdf ncdump applied to the hdf file is 

netcdf MYD10C2.A2002185.004.2004026093314 {
dimensions:
        YDim_MOD_CMG_Snow_5km = 3600 ;
        XDim_MOD_CMG_Snow_5km = 7200 ;

variables:
        byte Eight_Day_CMG_Snow_Cover(YDim_MOD_CMG_Snow_5km,
XDim_MOD_CMG_Snow_5km) ;

I am running linux redhat 7.3

Any ideas what the problem might be, or what to try next?

-Steve Ghan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20050117/7ad4b0de/attachment.html 


More information about the gradsusr mailing list