[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #SWB-752299]: netcdf4 sample data
- Subject: [netCDF #SWB-752299]: netcdf4 sample data
- Date: Tue, 07 Apr 2009 11:45:58 -0600
> Greetings,
>
> I am looking at the Netcdf Tutorial
> (http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-tutorial/index.html)
> which has code examples but I do not see netcdf4 sample data. Is there
> any? Where can I get it?
>
> Thanks very much,
> --dan
>
> --
> Daniel Kahn
> Science Systems and Applications Inc.
> 301-867-2162
>
All the example come in two parts, a write and a read program. Build and run
the write program, and it will create the netCDF-4 file. The read program will
read it.
For a more tailored example, just add NC_NETCDF4 to the create mode flag for
one of your programs that creates a netCDF file. If you do this, a
netCDF-4/HDF5 file of the exact same data contents will be constructed.
Good luck!
Ed
>
Ticket Details
===================
Ticket ID: SWB-752299
Department: Support netCDF
Priority: Normal
Status: Closed