frost_translate_oldElementCodes: translate oldElementCodes into Frost API standards

frost_translate_oldElementCodesR Documentation

translate oldElementCodes into Frost API standards

Description

Translate oldElementCodes into Frost API standards https://frost.met.no. Reference is https://frost.met.no/elementtable.

Usage

frost_translate_oldElementCodes<-function(oldElementCodes=NULL)

Arguments

oldElementCodes

character vector with the abbreviations used to define weather and climate elements (before Frost-era). The abbreviations are listed at https://frost.met.no/elementtable.

Details

In case an abbreviations is not yet implemented in gibson then the elementId character string is set to "".

Value

A data frame with the same number of rows as the number of elements in oldElementCodes. The columns are: elementId, timeOffset, timeResolution, level.value, level.levelType

Author(s)

Cristian Lussana

See Also

gibson_frost frost_assembler

Examples


# load libraries
library(gibson)
#
out<-frost_translate_oldElementCodes(c("TA","RR_1","TAMRR"))
out


metno/gibson documentation built on Feb. 12, 2024, 7:25 a.m.