ncdf4: Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files

Provides a high-level R interface to data files written using Unidata's netCDF library (version 4 or earlier), which are binary data files that are portable across platforms and include metadata information in addition to the data sets. Using this package, netCDF files (either version 4 or "classic" version 3) can be opened and data sets read in easily. It is also easy to create new netCDF dimensions, variables, and files, in either version 3 or 4 format, and manipulate existing netCDF files. This package replaces the former ncdf package, which only worked with netcdf version 3 files. For various reasons the names of the functions have had to be changed from the names in the ncdf package. The old ncdf package is still available at the URL given below, if you need to have backward compatibility. It should be possible to have both the ncdf and ncdf4 packages installed simultaneously without a problem. However, the ncdf package does not provide an interface for netcdf version 4 files.

Version: 1.22
Published: 2023-11-28
DOI: 10.32614/CRAN.package.ncdf4
Author: David Pierce
Maintainer: David Pierce <dpierce at>
License: GPL (≥ 3)
NeedsCompilation: yes
SystemRequirements: netcdf library version 4.1 or later
Materials: ChangeLog
In views: Spatial, SpatioTemporal
CRAN checks: ncdf4 results


Reference manual: ncdf4.pdf


Package source: ncdf4_1.22.tar.gz
Windows binaries: r-devel: not available, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ncdf4_1.22.tgz, r-oldrel (arm64): ncdf4_1.22.tgz, r-release (x86_64): ncdf4_1.22.tgz, r-oldrel (x86_64): ncdf4_1.22.tgz
Old sources: ncdf4 archive

Reverse dependencies:

Reverse depends: M3, meteoForecast
Reverse imports: angstroms, CLimd, cmsaf, cmsafops, cmsafvis, cropDemand, cropZoning, cruts, CSTools, cubble, dacc, daymetr, easyNCDF, ebvcube, eixport, EmissV, eurocordexr, FjordLight, gcxgclab, gdalcubes, gimms, gumboot, HiClimR, hyfo, HYPEtools, itsdm, lgcp, lue, marmap, meteoEVT, mzR, ncdf4.helpers, ncdump, oceanmap, PAMmisc, PAMscapes, pastclim, pRecipe, raytracing, rbi, RCGLS, RchivalTag, rechaRge, rerddap, rerddapXtracto, reslr, s2dv, satin, SeaVal, smosr, StormR, tagtools, TargetSearch, TCHazaRds, tidync
Reverse suggests: appeears, argoFloats, bio3d, camsRad, CFtime, climatol, csdata, ecmwfr, erah, exactextractr, FedData, geometa, grwat, GWASdata, GWASTools, heatwaveR, HelpersMG, hwsdr, jcext, magclass, metR, ncdfgeom, oce, raster, rdwd, REddyProcNCDF, RtsEva, skylight, terra, thredds, ursa, xcms


Please use the canonical form to link to this page.