[gradsusr] how to read a hdf5 format file by GrADS?

chunchun Meng.Chunchun at colostate.edu
Thu Jul 10 14:22:30 EDT 2014


Hi James,

Yeah, It's bad to read for users,but maybe good for the model.Thanks a lot for helping.

Thanks !

Best,
Chunchun
________________________________________
From: James E Johnson [james.johnson at nasa.gov]
Sent: Thursday, July 10, 2014 11:12 AM
To: chunchun
Cc: gradsusr at gradsusr.org
Subject: Re: [gradsusr] how to read a hdf5 format file by GrADS?

On Thursday 10 July 2014 12:53:53 chunchun wrote:
> Hi James,
>
> This file is from the NDVI files of RAMS.
>
> I tried h5dump -H NDVI_APR_70N090E.h5,it worked,and the result is showed
>  below:
>
> HDF5 "NDVI_APR_70N090E.h5" {
> GROUP "/" {
>    DATASET "30-second_ndvi_data" {
>       DATATYPE  H5T_IEEE_F32LE
>       DATASPACE  SIMPLE { ( 1201, 1201 ) / ( 1201, 1201 ) }
>    }
> }
> }
>
> the latitude and longitude in the file name is the location of SW corner.So
>  I'll try to create the .ctl  file ad read it.

Yeah, that's bad too. If one were to rename the file, you'd lose the
geographic information. Of course there is no information describing the
geographic extent (5 deg, 10 deg, ?? deg), and which corner not sure how you
know its the SW corner.

James

>
>
> Thanks a lot!
>
> Chunchun
> ________________________________________




More information about the gradsusr mailing list