meteo_noaa_hourly: Hourly NOAA Integrated Surface Hourly (ISH) meteorological...

View source: R/meteo_noaa_hourly.R

meteo_noaa_hourlyR Documentation

Hourly NOAA Integrated Surface Hourly (ISH) meteorological data

Description

Downloading hourly (meteorological) data from the SYNOP stations available in the NOAA ISD collection. Some stations in the dataset are dated back even up to 1900. By default only records that follow FM-12 (SYNOP) convention are processed. Further details available at: https://www1.ncdc.noaa.gov/pub/data/noaa/readme.txt

Usage

meteo_noaa_hourly(
  station = NULL,
  year = 2019,
  fm12 = TRUE,
  allow_failure = TRUE
)

Arguments

station

ID of meteorological station(s) (characters). Find your station's ID at: https://www1.ncdc.noaa.gov/pub/data/noaa/isd-history.txt

year

vector of years (e.g., 1966:2000)

fm12

use only FM-12 (SYNOP) records (TRUE by default)

allow_failure

logical - whether to proceed or stop on failure. By default set to TRUE (i.e. don't stop on error). For debugging purposes change to FALSE

Value

data.frame with historical meteorological data in hourly intervals

Examples


# London-Heathrow, United Kingdom
  noaa = meteo_noaa_hourly(station = "037720-99999", year = 1949)


climate documentation built on Oct. 19, 2024, 9:06 a.m.