HDF-SDS Read Error for dtype FLOAT32

Zhong Liu zliu at POP600.GSFC.NASA.GOV
Fri Oct 26 17:34:14 EDT 2007


Dear Henrique Barbosa,

I think you forgot to add the z dimension in the ctl file. Try to add z,
such as,

dset ^CSH.021001.6.HDF
dtype hdfsds
undef -9999.9
xdef 720 linear -180.0 0.5
ydef 148 linear -37.0 0.5
zdef 19 levels 0.5 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
tdef 1 linear 00Z01oct2002 1mon
vars 1
LatentHeating=>lh  19 t,z,x,y latent heat
endvars

Good luck.

Regards,

-Zhong

Henrique Barbosa wrote:
> Dear all,
>
> I am trying to open monthly convective/stratiform heating
> from TRMM:
>
> http://daac.gsfc.nasa.gov/data/datapool/TRMM/01_Data_Products/02_Gridded/09_Monthly_Heating_CSH/index.html
>
> for which I wrote this simple ctl:
>
> dset ^CSH.021001.6.HDF
> dtype hdfsds
> undef -9999.9
> xdef 720 linear -180.0 0.5
> ydef 148 linear -37.0 0.5
> zdef 19 levels 0.5 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
> tdef 1 linear 00Z01oct2002 1mon
> vars 1
> LatentHeating=>lh  19 t,x,y latent heat
> endvars
>
> Grads opens the ctl successfully but complains when
> showing the data with the following message:
>
> ga-> d lh
> HDF-SDS Read Error for dtype FLOAT32
> Data Request Error:  Error for variable 'lh'
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = lh
>
> Does anyony know what it means? Any clues how to
> solve it? Btw, I am able to read the data with official TRMM
> software and write it as a plain binary. Hence it is not
> a problem with the data, but with Grads being able
> to read the HDF4.
>
> []'s
> Henrique
>
>


--
********************************************************************
* Zhong Liu, Ph.D.                     |  zliu at pop600.gsfc.nasa.gov*
* George Mason University and          |                           *
* NASA Goddard Earth Sciences          |  (301) 614-5764 (voice)   *
* Data and Information Services Center |  (301) 614-5268 (fax)     *
* NASA/GSFC, Code 610.2                |                           *
* Greenbelt. MD. 20771  U.S.A.         |                           *
********************************************************************
* For more information about the Goddard DISC and its services:    *
* http://disc.gsfc.nasa.gov/                                       *
********************************************************************



More information about the gradsusr mailing list