dim.val.ncv {ncvar}R Documentation

Get NetCDF Dimension Lengths (internal)

Description

Get the lengths of all NetCDF dimensions for a given variable. For internal use only.

Usage

dim.val.ncv(dim)

Arguments

dim Object of class "dim.ncv".

Details

Return a vector containing the lengths of all NetCDF dimensions for a given variable. For internal use only.

Value

A vector of dimension lengths.

Author(s)

Juerg Schmidli

Examples

## Define some dimensions
dim <- dim.def.ncv(dimlist=list("lon", 5, "lat", 10, "height", 30) )
len <- dim.val.ncv(dim)


[Package ncvar version 1.0-4 Index]