Provides automated downloading, parsing, cleaning, unit conversion and formatting of Global Surface Summary of the Day (GSOD) weather data from the from the USA National Centers for Environmental Information (NCEI) for use in R. Units are converted from from United States Customary System (USCS) units to International System of Units (SI). Stations may be individually checked for number of missing days defined by the user, where stations with too many missing observations are omitted. Only stations with valid reported latitude and longitude values are permitted in the final data. Additional useful elements, saturation vapour pressure (es), actual vapour pressure (ea) and relative humidity are calculated from the original data and included in the final data set. The resulting data include station identification information, state, country, latitude, longitude, elevation, weather observations and associated flags. Data may be automatically saved to disk. File output may be returned as a comma-separated values (CSV) or GeoPackage (GPKG) file. Additional data are included with this R package: a list of elevation values for stations between -60 and 60 degrees latitude derived from the Shuttle Radar Topography Measuring Mission (SRTM). For information on the GSOD data from NCEI, please see the GSOD readme.txt file available from, <http://www1.ncdc.noaa.gov/pub/data/gsod/readme.txt>.
Version: | 1.0.6 |
Depends: | R (≥ 3.2.0) |
Imports: | curl, data.table, dplyr, fields, magrittr, purrr (≥ 0.2.0), R.utils, readr, rgdal (≥ 1.1-9), sp, stats, utils |
Suggests: | ggplot2, knitr, lubridate, plotKML, raster, reshape2, rgeos, rmarkdown, roxygen2 (≥ 6.0.1), spacetime, testthat, tibble, tidyr, covr |
Published: | 2017-09-19 |
Author: | Adam Sparks [aut, cre] (http://orcid.org/0000-0002-0061-8359), Tomislav Hengl [aut] (http://orcid.org/0000-0002-9921-5129), Andrew Nelson [aut] (http://orcid.org/0000-0002-7249-3778) |
Maintainer: | Adam Sparks <adamhsparks at gmail.com> |
BugReports: | https://github.com/ropensci/GSODR/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/ropensci/GSODR |
NeedsCompilation: | no |
Citation: | GSODR citation info |
Materials: | README NEWS |
CRAN checks: | GSODR results |
Reference manual: | GSODR.pdf |
Vignettes: |
GSODR GSODR use case: Specified years/stations vignette Working with spatial and climate data from GSODR |
Package source: | GSODR_1.0.6.tar.gz |
Windows binaries: | r-devel: GSODR_1.0.6.zip, r-release: GSODR_1.0.6.zip, r-oldrel: GSODR_1.0.6.zip |
OS X El Capitan binaries: | r-release: GSODR_1.0.6.tgz |
OS X Mavericks binaries: | r-oldrel: GSODR_1.0.6.tgz |
Old sources: | GSODR archive |
Please use the canonical form https://CRAN.R-project.org/package=GSODR to link to this page.