ncdim: Quick build netCDF typical dimensions.

Description Usage Arguments Value

Description

Quick build typical netCDF dimensions like longitude, latitude and time.

Usage

1
2
3
4
5
6
7
ncdim_lon(vals = NULL, from = NULL, csize = NULL, len = NULL,
  name = "lon", longname = "longitute")

ncdim_lat(vals = NULL, from = NULL, csize = NULL, len = NULL,
  name = "lat", longname = "latitute")

ncdim_time(time, name = "time", calendar = "proleptic_gregorian", ...)

Arguments

vals

Values of the dimension. For lon and lat can be a series of longitudes and latitudes, for time can be a series of dates and times. If not provided, can provide from, csize and len for substitudes.

from

Beginning of the values. Provided if vals was not provided.

csize

Size of the gridcells for lon and lat. Also can be regarded as the interval of the lon and lat values.

len

Length of the values.

name

Name of the dimensions. Default are lon, lat and time.

longname

Long name of the dimensions.

time

Time or date series for time dimension.

...

Other parameter for function time2num.

Value

A netCDF dimension object.


Sibada/sibadaR documentation built on Jan. 31, 2020, 6:40 p.m.