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

[netCDF #WGH-559494]: software that manipulates nc file



Hi Isilda,

For manipulating information in the header of netCDF files, only the C 
interface is needed, along with the ncdump and possible ncgen utilities.  The 
NCO utilities are developed and maintained from the University of California at 
Irvine, so you will have to get them separately.  For just manipulation of 
header information (the metadata in netCDF files), you don't need the 
Fortran-90 or Fortran-77 interfaces.  They would only be needed if you plan to 
write Fortran programs to extract and manipulate the header information.  
Similarly, unless you need to write C++ programs for extracting and 
manipulating the metadata, you don't need to build the C++ interface.

When you build the software from source, it is possible to specify that only 
the C interface is to be built, by using the "configure" flags --disable-f77 
--disable-f90 --disable-cxx.  However, if you have a Fortran compiler, either 
from the Portland Group or from Intel, the "configure" script will try to build 
the software for use with that compiler by default.

You haven't said what kind of platform you will be using, but it's possible to 
build netCDF for Linux, Windows, Mac OS X, and other Unix platforms.  If you 
are familiar with Java, you could also just use the netCDF Java software 
(available as a separate package) to extract and manipulate header information 
also.

--Russ


Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: WGH-559494
Department: Support netCDF
Priority: Normal
Status: Closed