getObsDateTime: Get Observation Date-Time.

View source: R/get_station_datetime.R

getObsDateTimeR Documentation

Get Observation Date-Time.

Description

Get the day and hour of a meteorological report, group YYGGiw of section 1.

Usage

getObsDateTime(synop)

Arguments

synop

a synop data object, output of the function getSynopSections.

Value

A character vector of length 2, c(day, hour).

Examples


## Not run: 
aaxx <- "AAXX 28154 89022 42698 72506 11360 21382 39758 49808="
synop <- getSynopSections(aaxx)
ddhh <- getObsDateTime(synop)

## End(Not run)


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