NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] The netCDF format flavor generated by ncgen

Hi Gabriel,

> I have installed netCDF-4.0.1 and I generated
> a .nc file using ncgen.
> 
> I would like to ask what is the flavor of the
> format generated by ncgen: is it the so-called
> netcdf4-classic or the new new hdf5-based
> format?
> 
> How can I check the which flavor is generated
> by ncgen?

You can use the "-k" option of ncdump to determine what kind of netCDF
file you have.  For example:

      $ ncdump -k foo.nc
      classic

Similarly, you can use the "-k" option of ncgen to specify which kind of
netCDF file to generate (or to generate code for).

--Russ



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: