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

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

[netCDF #CYF-313110]: Help on building netCDF 4.0 for windows



> Ed,
> 
> With the 3.x libs I've used the classes from netcdfcpp.h and related methods 
> for get(), set_cur(), put() etc.
> 

Was this on windows?

If so, you must have imported those files into visual studio, correct?

> Almost all our reading is done with the NcVar::get() methods. Same goes with 
> NcFile and NcDim methods.
> 
> netcdf.cpp, ncvalues.cpp, netcdfcpp.h and ncvalues.h were all supplied with 
> the 3.x library - I've not used anything that didn't come from the libs. 
> These methods are much more convenient for us than directly using the C API.
> 
> I see the same files in the 4.x sources under the cxx folder. Should I use 
> these versions? Will they work with the 4.x C API with HDF5 enabled?
> 
> Thanks,
> -Ajit

Yes, you should use them, and yes they will with the netCDF-4/HDF5 files.

But, you will not be able to access many netCDF-4 features with the cxx C++ 
library, because it does not handle them well. The cxx4 library is under 
development to address this, but is not yet complete.

Thanks,

Ed

Ticket Details
===================
Ticket ID: CYF-313110
Department: Support netCDF
Priority: High
Status: Closed


 
 
  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