gsodReformat-deprecated: Reformat list of available GSOD stations

gsodReformat-deprecatedR Documentation

Reformat list of available GSOD stations

Description

This function is intended to convert the initial list of available GSOD stations (see https://www.ncei.noaa.gov/pub/data/noaa/isd-history.csv) to an object of class sf for further processing.

Arguments

data

data.frame. Usually built-in gsodstations.

df2sp

logical, default is FALSE. If TRUE, the list of available GSOD stations is converted to sf.

...

Currently not used.

Value

An object of class data.frame, or a sf object if df2sp = TRUE.

Author(s)

Florian Detsch

See Also

GSODTools-deprecated

Examples

# Reformat coordinates and convert to spatial object
gsod_shp <- suppressWarnings(
  gsodReformat(
    data = gsodstations
    , df2sp = TRUE
  )
)

if (interactive()) {
  plot(gsod_shp)
}


environmentalinformatics-marburg/GSODTools documentation built on Jan. 5, 2024, 12:19 a.m.