xdfopen

Don Hooper hoop at COLORADO.EDU
Tue Jan 18 14:46:05 EST 2005


My bad; as Jennifer points out, it's "dtype hdfsds", not "dtype hdf".
See, I told you I didn't know much about it.  ;)

-Hoop
> From owner-gradsusr at LIST.CINECA.IT  Tue Jan 18 12:23:32 2005
> From: Jennifer Adams <jma at COLA.IGES.ORG>
>
> Hi, Steve --
> I added a mod to the 'dtype hdfsds' interface so it can handle byte
> data (in HDF parlance, the data types are DFNT_INT8 or DFNT_UINT8) for
> the next (1.9b4) release of GrADS. I don't know exactly when that
> release will be ready...
> Jennifer
>
>
> On Jan 17, 2005, at 7:10 PM, Ghan, Steven J wrote:
>
> > 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



More information about the gradsusr mailing list