getPrecipitation: Get precipitation data.

View source: R/get_precipititation_data.R

getPrecipitationR Documentation

Get precipitation data.

Description

Get precipitation data, group 6RRRt_R from section 1 and 3, and group 7R_{24}R_{24}R_{24}R_{24} from section 3.

Usage

getPrecipitation(synop)

Arguments

synop

a synop data object, output of the function getSynopSections.

Value

A named list of numeric vector of length 2,
the first element of the list is a vector of length 2: c(duration[in hour], amount [in mm]) from section 1, the second element is a vector length 3: c(duration[in hour], amount [in mm], amount past 24 hour [in mm]) from section 3.

Examples


## Not run: 
aaxx <- "AAXX 07181 33837 11583 83102 10039 29072 30049 40101 52035 60012="
synop <- getSynopSections(aaxx)
precip <- getPrecipitation(synop)

## End(Not run)


rijaf-iri/decodeSYNOP documentation built on May 1, 2024, 4:32 p.m.