Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: [NetCDF] - The JAVA ucar.nc2.dataset package is equivalent to what in C++?

Hi,

> I just inherited some code that uses the Java [ucar.nc2.dataset]
> package. Now, my problem is that I need to translate this Java code
> into C++ code. However, I don't know what (or if) the equivalent
> library is in C++. Any ideas?

There is a C++ library for netCDF, but it's not equivalent to the Java
library.  The C++ library was written in about ten years ago, with
only relatively minor updates.  The Java library is under active
development and is the most advanced interface for netCDF use,
especially it's handling of NcML, reading other formats through a
Common Data Model interface, interpretation of coordinate systems, and
providing client access to netCDF data from OPeNDAP servers or HTTP
servers.  None of these capabilities are in the C++ interface, so if
your code uses them, some development will be required.

The latest C++ library is part of the netCDF source code:

  ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-beta.tar.gz

and is documented here:

  http://www.unidata.ucar.edu/software/netcdf/docs_beta/netcdf-cxx.html

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
russ@xxxxxxxxxxxxxxxx                     http://www.unidata.ucar.edu

==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690