Learn R Programming

ncdf4 (version 1.23)

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

31,115

Version

1.23

License

GPL (>= 3)

Maintainer

Last Published

August 17th, 2024

Functions in ncdf4 (1.23)

ncatt_put

Put an attribute into a netCDF file
nc_redef

Puts a netCDF file back into define mode
nc_enddef

Takes a netCDF file out of define mode
nc_version

Report version of ncdf4 library
ncdf4-package

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

Rename an Existing Variable in a netCDF File
ncdf4-internal

Internal ncdf4 functions
ncvar_get

Read data from a netCDF file
ncvar_change_missval

Change the Missing Value For a netCDF Variable
ncdim_def

Define a netCDF Dimension
print.ncdf4

Print Information About a netCDF File
ncvar_add

Add New netCDF Variable to Existing File
ncvar_def

Define a netCDF Variable
nc_sync

Synchronize (flush to disk) a netCDF File
nc_create

Create a netCDF File
ncvar_put

Write data to a netCDF file
nc_close

Close a netCDF File
nc_open

Open a netCDF File
ncatt_get

Get attribute from netCDF file