HDF files

Jennifer Adams jma at COLA.IGES.ORG
Wed Feb 9 13:50:46 EST 2005


On Feb 9, 2005, at 1:42 PM, Andreea Ira wrote:

> Hi all,
> I have upgraded GrADS and even if I have now version
> 1.9 the "dtype hdfsds", like Jennifer said, it's still
> not working and i wonder why.
> The message i receive is :
> Scanning description file:  testit.ddf
> Open Error:  Can't open description file
These messages are meant to be informative....
GrADS can't open your text file. Does it exist in the directory where
you were running GrADS? What if you put the full path in front of your
descriptor file name?


> I didn't replace the old version, i have both versions
> now. Do you think that it might be a problem?
> I appreciate any answer you might have. I am new in
> this GrADS thing and i try to learn as much and as
> fast as I can.
> Thank you,
> Andreea
>
>
>
>
> --- Jennifer Adams <jma at COLA.IGES.ORG> wrote:
>
>> Andrea,
>> Try this 'dtype hdfsds' descriptor file with the
>> 'open' command:
>>
>> DSET ^CER_ES4_Aqua-FM3_Edition2_024024.200207
>> DTYPE hdfsds
>> TITLE This is only a test
>> UNDEF 3.4028235e+38 _FillValue
>> XDEF 144 LINEAR -180.0 2.5
>> YDEF  72 LINEAR  -90.0 2.5
>> ZDEF 1 LEVELS 1000
>> TDEF 1 LINEAR 0Z01JUL2002 1dy
>> VARS 5
>> Solar_incidence=>solin     0 y,x Incident Radiation
>> Net_radiant_flux=>netflux 0 y,x Net radiation
>> Longwave_flux=>lwflux     0 y,x Longwave flux
>> Shortwave_flux=>swflux    0 y,x Shortwave flux
>> Albedo=>albedo                  0 y,x Albedo
>> ENDVARS
>>
>> In the dump file  you sent in your original email,
>> there was a second
>> listing for the variable "Shortwave flux" that also
>> varied in a time
>> dimension -- can't imagine how you got an HDF file
>> with two variables
>> of the same name with different shapes, but ... if
>> you want that
>> instead change the tdef size to 31 instead of 1 and
>> change y,x in that
>> variable's units declaration to "t,y,x" instead of
>> "y,x" .
>>
>> Jennifer
>>
>>
>>
>>
>>
>>
>
>
>
> __________________________________
> Do you Yahoo!?
> All your favorites on one personal page – Try My Yahoo!
> http://my.yahoo.com
>
>
--
Jennifer Miletta Adams
IGES/COLA
4041 Powder Mill Rd., Suite 302
Calverton, MD 20705



More information about the gradsusr mailing list