Easy Access to NetCDF Files with CF Metadata Conventions
Overview
Network Common Data Form ('netCDF') files are widely used for scientific data. Library-level access in R is provided through packages 'RNetCDF' and 'ncdf4'. Package 'ncdfCF' is built on top of 'RNetCDF' and makes the data and its attributes available as a set of R6 classes that are informed by the Climate and Forecasting Metadata Conventions. Access to the data uses standard R subsetting operators and common function forms.
Patch release with bug fixes.
API
- When selecting auxiliary coordinates on an axis, printing a
CFVariableusing that axis will print the name of the active coordinates for that axis and its units, if set.
Code
- Fixed NC_CHAR label/axis dimensions.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 50 (3 internal)includes a package overview page
- Examples that run
- 100%12 run in a plain check
- Exported functions with examples
- 21%
- Documented parameters
- 92%
- Return-value docs
- 54%
- Help pages citing references
- 8%
- Using ncdfCF HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Issues over time
Commits over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/r-cf/ncdfcf on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-29 · The repository has a site deploy workflow
pkgdown site last built 2026-08-29
Show all practicesHide 2 practices
Dependencies
Installing ncdfCF adds 12 packages (7 with compiled code, 15 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, rlang 766 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.8.2Latest
- 0.8.1
- 0.8.0
- 0.7.02025-09-13 · diff ↗ ·
removed 2 exports
CFArray, makeGroupadded 3 exports
as_CF, makeCharacterAxis, makeVerticalAxis - 0.6.12025-06-15 · diff ↗
- 0.6.02025-05-29 · diff ↗ ·
removed 2 exports
CFAuxiliaryLongLat, CFAxisScalaradded 2 exports
makeAxis, makeDiscreteAxis - 0.5.0
- RR 4.5.0 released · 2025-04-11
- 0.4.02025-03-11 · diff ↗ ·
removed 5 exports
CFData, CFVariableGeneric, CFVariableL3b, MemoryGroup, makeMemoryGroupadded 2 exports
CFArray, makeVirtualGroup - 0.3.02025-01-19 · diff ↗ ·
removed 3 exports
CFAxis, CFVariable, NCGroupadded 12 exports
CFAxisLongitude, CFAxisScalar, CFAxisVertical, CFDataset, CFLabel, CFVariableGeneric, CFVariableL3b, makeLatitudeAxis, makeLongitudeAxis, makeMemoryGroup, makeTimeAxis, peek_ncdf - 0.2.12024-10-14 · diff ↗ ·
removed 8 exports
attribute, axis, brief, has_bounds, id, name, shard, show_attributesadded 15 exports
CFAuxiliaryLongLat, CFAxis, CFAxisCharacter, CFAxisDiscrete, CFAxisLatitude, CFAxisNumeric, CFAxisTime, CFBounds, CFData, CFGridMapping, CFVariable, MemoryGroup, NCGroup, aoi, groups - 0.1.12024-06-10
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-06-10
- Total releases
- 11 / 2 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0
- Download size
- 1.1 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ncdfCF")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.