HDF file reading

Arlindo da Silva dasilva at ALUM.MIT.EDU
Mon Mar 3 10:48:11 EST 2008

On Mon, Mar 3, 2008 at 8:59 AM, Dr. Parathasarathi Mukhopadhyay <
mpartha at tropmet.res.in> wrote:

> Hi All,
> Can any one suggest how to convert HDF files (e. g. TRMM rain) in to
> binary files (in
> linux platform)?
> The GrADS utility sdfopen is not working. It gives an error "SDF file has
> no discernible
> X coordinate". Any clue to fix this!

If you use the "ctl" that Jennifer provides in a separate message you can
create fortran sequential binaries with lats4d:

  lats4d -i trmm.ctl -o trmm -format sequential  -v

If you want a flat binary, just use the "stream" format:

  lats4d -i trmm.ctl -o trmm -format stream  -v

If you would like a nice summary of the dataset enter

  lats4d -i trmm.ctl -format stats -v

Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080303/4d5dd1cb/attachment.html 

More information about the gradsusr mailing list