nc.get.climatology.bounds.var.list: Get a list of names of climatology bounds variables

Description Usage Arguments Details Value References Examples

View source: R/helpers.r

Description

Get a list of names of climatology bounds variables.

Usage

1

Arguments

f

The file (an object of class ncdf4)

Details

The CF metadata convention defines a climatology attribute which can be applied to a time axis to indicate that the data is climatological in nature; the value of this attribute is the name of another variable in the file which defines the bounds of each climatological time period. This function returns the names of any climatology bounds variables found in a file.

Value

A character vector naming all of the climatology bounds variables found.

References

http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/ch07s04.html

Examples

1
2
3
4
5
6
7
## Get list of climatology bounds variables
## Not run: 
f <- nc_open("pr.nc")
clim.bounds <- nc.get.climatology.bounds.var.list(f)
nc_close(f)

## End(Not run)

ncdf4.helpers documentation built on May 29, 2017, 9:36 p.m.