Skip to content

ncdf4

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

v1.24 · Mar 25, 2025 · GPL (>= 3)

Description

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.

Downloads

CRAN

29.5K

Last 30 days

664th

107.4K

Last 90 days

488.9K

Last year

Trend: -19.7% (30d vs prior 30d)

r2u CRAN

292

Last 30 days

1K

Last 90 days

2.6K

Last year

Trend: +9.8% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.9Mb
  sub-directories of 1Mb or more:
    libs   5.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.1Mb
  sub-directories of 1Mb or more:
    libs   5.7Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 16.9Mb
  sub-directories of 1Mb or more:
    libs  16.6Mb

Reverse Dependencies (98)

depends

Dependency Network

Dependencies Reverse dependencies M3 meteoForecast CDSim CLimd CSTools EmissV FjordLight HYPEtools HiClimR PAMmisc PAMscapes RCGLS RchivalTag SeaVal StormR +83 more reverse deps ncdf4

Version History

20 tracked
new 1.24 Mar 10, 2026
updated 1.24 ← 1.23 diff Mar 24, 2025
updated 1.23 ← 1.22 diff Aug 16, 2024
updated 1.22 ← 1.21 diff Nov 27, 2023
updated 1.21 ← 1.20 diff Jan 6, 2023
updated 1.20 ← 1.19 diff Dec 2, 2022
updated 1.19 ← 1.18 diff Dec 14, 2021
updated 1.18 ← 1.17.1 diff Nov 25, 2021
updated 1.17.1 ← 1.17 diff Nov 5, 2021
updated 1.17 ← 1.16.1 diff Oct 22, 2019
updated 1.16.1 ← 1.16 diff Mar 10, 2019
updated 1.16 ← 1.15 diff Apr 1, 2017
updated 1.15 ← 1.14 diff Dec 3, 2015
updated 1.14 ← 1.13 diff Nov 9, 2015
updated 1.13 ← 1.12 diff Sep 15, 2014