Registry / other / netcdf-cxx4

netcdf-cxx4

JSON →
library4.3.1vcpkgunverified

C++ interface for NetCDF, a set of machine-independent data formats for array-oriented scientific data.

vcpkg install netcdf-cxx4
INSTALL
IMPORT
SIG · NETCDF-CXX4
N
netcdf-cxx4
othercppv4.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

netcdf
✓ #include <netcdf>

Create a NetCDF file with a dimension and variable

#include <netcdf> #include <iostream> int main() { netCDF::NcFile dataFile("test.nc", netCDF::NcFile::replace); netCDF::NcDim dim = dataFile.addDim("x", 10); netCDF::NcVar var = dataFile.addVar("data", netCDF::ncDouble, dim); std::cout << "NetCDF file created\n"; return 0; }
Debug
Known issues
gotchaRequires the C NetCDF library (netcdf-c) to be installed separately.
fix
Install netcdf-c via vcpkg or system package manager before using netcdf-cxx4.
affects: all
Upgrade
Version history
4.3.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

netcdf-cxx4 — pip install netcdf-cxx4 · libregistry