There are several development environments available for programmers who develop on Windows.
For the latter two, the Linux/Unix build instructions may be used. For the former build environment, you may download using the Windows build instructions, or you may download the pre-built netCDF-C libraries from this page.
Users who prefer to build the netCDF-C libraries from source in a Windows environment using Microsoft Visual Studio are referred to Build Instructions for netCDF-C using CMake
These libraries can be used with Visual Studio 2010 projects. The downloads are installer packages which contain the netCDF-C libraries and utilities (ncgen, ncgen3, ncdump and nccopy), as well as the associated dependencies.
Configuration | 32-bit | 64-bit |
---|---|---|
netCDF 3 | netCDF4.3.0-NC3-32.exe | netCDF4.3.0-NC3-64.exe |
netCDF3+DAP | netCDF4.3.0-NC3-DAP-32.exe | netCDF4.3.0-NC3-DAP-64.exe |
netCDF4 | netCDF4.3.0-NC4-32.exe | netCDF4.3.0-NC4-64.exe |
netCDF4+DAP | netCDF4.3.0-NC4-DAP-32.exe | netCDF4.3.0-NC4-DAP-64.exe |
In order to use the netcdf libraries, you must ensure that the .dll files (along with any dependencies from deps/shared/bin) are on the system path. In order to compile a program using these libraries, you must first link your program against the appropriate 'import' (.lib) libraries.
When installed, the netCDF libraries are placed in the specified locations, along with the netCDF-C utilities and
The following points should be considered when using the netCDF-C libraries on Windows.
Both of these issues are being actively worked on. The may be tracked in the Unidata JIRA system at http://bugtracking.unidata.ucar.edu/, using the provided JIRA identifiers.