Learn R Programming

⚠️There's a newer version (1.23) of this package.Take me there.

ncdf4 (version 1.19)

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

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.

Copy Link

Version

Install

install.packages('ncdf4')

Monthly Downloads

28,257

Version

1.19

License

GPL (>= 3)

Maintainer

Last Published

December 15th, 2021

Functions in ncdf4 (1.19)

nc_close

Close a netCDF File
ncatt_get

Get attribute from netCDF file
nc_version

Report version of ncdf4 library
nc_redef

Puts a netCDF file back into define mode
ncatt_put

Put an attribute into a netCDF file
ncvar_put

Write data to a netCDF file
nc_open

Open a netCDF File
nc_create

Create a netCDF File
nc_enddef

Takes a netCDF file out of define mode
nc_sync

Synchronize (flush to disk) a netCDF File
ncvar_change_missval

Change the Missing Value For a netCDF Variable
ncvar_add

Add New netCDF Variable to Existing File
ncdim_def

Define a netCDF Dimension
print.ncdf4

Print Information About a netCDF File
ncvar_def

Define a netCDF Variable
ncvar_get

Read data from a netCDF file
ncvar_rename

Rename an Existing Variable in a netCDF File
ncdf4-internal

Internal ncdf4 functions
ncdf4-package

Read, write, and create netCDF files (including version 4 format)