View source: R/parse_harp_parameter.R
parse_harp_parameter | R Documentation |
Parses a harp-style parameter name and returns accumulation time, level (if any) and the base name of the parameter
parse_harp_parameter(
param,
vertical_coordinate = c(NA_character_, "pressure", "model", "height", "isotherm",
"unknown")
)
param |
Parameter name - available names can be found from show_param_defs. |
vertical_coordinate |
If the parameter is for the upper air, the vertical coordinate system must be given. Can be "pressure" for pressure levels, "model" for model levels or "height" for altitude levels. |
A list (of class harp_parameter) with fullname
,
basename
, level_type
, level
, accum
parse_harp_parameter("AccPcp1h")
parse_harp_parameter("z500")
parse_harp_parameter("s100m")
parse_harp_parameter("T", vertical_coordinate = "pressure")
parse_harp_parameter("S", vertical_coordinate = "model")
parse_harp_parameter("RH", vertical_coordinate = "height")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.