ncdf4.helpers {ncdf4.helpers} | R Documentation |
ncdf4.helpers: helper functions for NetCDF files.
Description
This package provides a number of helper functions for NetCDF files opened using the ncdf4
package.
Details
Dealing with NetCDF format data is unnecessarily difficult. The ncdf4
package does a good job of making many lower-level operations easier. The ncdf4.helpers
package aims to build higher-level functions upon the foundation of ncdf4
.
One concept central to much of the package is the idea of indexing, and dealing with data, by axis rather than by indices or by specific dimension names. The axes used are:
X (the horizontal axis)
Y (the vertical axis)
Z (the pressure / depth axis)
S (the reduced spatial grid axis)
T (the time axis)
Indexing by axis avoids the pitfalls of using data in forms other than (X, Y, Z, T), such as (T, X, Y). Avoiding using dimension names directly avoids problems when using projected data.
The functions in the package can be broken down into the following categories:
Functions which get, put, and transform data:
nc.put.var.subset.by.axes
,nc.get.var.subset.by.axes
,nc.conform.data
Functions which deal with identifying axes, variables, and types of dimensions:
nc.get.variable.list
,nc.get.dim.axes
,nc.get.dim.for.axis
,nc.get.dim.bounds.var.list
,nc.get.dim.names
,nc.get.dim.axes.from.names
,nc.get.coordinate.axes
,nc.get.compress.dims
,nc.is.regular.dimension
.Functions which deal with getting, classifying, and using time information:
nc.get.time.series
,nc.make.time.bounds
,nc.get.time.multiplier
.Functions which make sense of projection information:
nc.get.proj4.string
.Functions to ease chunked processing of data in parallel:
get.cluster.worker.subsets
.Functions to ease dealing with CMIP5 data:
get.split.filename.cmip5
.Utility functions:
get.f.step.size
.
References
http://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html