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://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html#climatological-statistics

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 Oct. 15, 2021, 5:19 p.m.