[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #IHW-370124]: Any link to help me port netCDF3 to netCDF4 ?



This is easy to do since the netcdf-3 API is a subset of netcdf-4.
So, the only change you should need to make is to add the NF_NETCDF4
flag to the second argument to the nf_open call (or nf90_open or whatever
one you are using).
If you want to convert an existing netcdf-3 file to netcdfd-4, then you
can use the nccopy command (part of the netcdf-C code base, which you
will have already installed).

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: IHW-370124
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.