create_var_attribute_definition: Create variable attribute definition

Description Usage Arguments Value Examples

View source: R/attributes.R

Description

Create variable attribute definition

Usage

1
2
3
4
5
create_var_attribute_definition(type = 2L,
  type_description = "accumulated over the preceding interval",
  dat_type = "der",
  dat_type_description = "AWAP data interpolated from observations",
  location_type = "Point")

Arguments

type

A data type identifier, as a coded description.

type_description

description of this data type identifier.

dat_type

a character, the type of data stored in this variable

dat_type_description

a character, human readable description of the data stored in this variable

location_type

a character, type of location, e.g. 'Point'

Value

a list of attributes, describing the type of variable stored

Examples

1
2
3
4
5
6
va <- create_var_attribute_definition(type=2L, 
  type_description='accumulated over the preceding interval', location_type='Point')
vdef <- create_variable_definition(name='rain_sim', 
  longname='Rainfall ensemble forecast derived from some prediction', 
  units='mm', missval=-9999.0, precision='double', 
  var_attribute=va)

efts documentation built on May 2, 2019, 3:39 p.m.