Re: Writing to an HDF4 File

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Tue, 02 Sep 2008 17:00:48 -0600

Hello,

To the best of my knowledge, you can wrote HDF-SDS
the *exact* same way you write netCDF. Just change
the file extension.

    fout = addfile ("foo.nc", "c")

for hsf-sds
 
    fout = addfile ("foo.hdf", "c")

See also:
http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclFormatSupport.shtml

Good luck
D

ony.Conrad wrote:
> Hello:
>
> I have been looking for an example of an NCL script that writes a
> scientific data set or two, along with 2 or 3 variables of metadata, to
> an HDF4 file. I've been searching for such an example but so far have
> not found one. Your help is much appreciated.
>
> ---A Thousand Thanks
> ---Tony Conrad
> ---NSOF/NOAA
> ---Suitland, Maryland, USA
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-- 
======================================================
Dennis J. Shea                  tel: 303-497-1361    |
P.O. Box 3000                   fax: 303-497-1333    |
Climate Analysis Section                             |
Climate & Global Dynamics Div.                       |
National Center for Atmospheric Research             |
Boulder, CO  80307                                   |
USA                        email: shea 'at' ucar.edu |
======================================================
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Sep 02 2008 - 17:00:48 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 03 2008 - 11:24:29 MDT