To cite package ‘ncdf4’ in publications use:

Pierce D (2025). ncdf4: Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files. R package version 1.24, https://CRAN.R-project.org/package=ncdf4.

Corresponding BibTeX entry:

  @Manual{,
    title = {ncdf4: Interface to Unidata netCDF (Version 4 or Earlier)
      Format Data Files},
    author = {David Pierce},
    year = {2025},
    note = {R package version 1.24},
    url = {https://CRAN.R-project.org/package=ncdf4},
  }