Provides automated downloading, parsing, cleaning, unit conversion and
formatting of Global Surface Summary of the Day (GSOD) weather data from
the from the USA's National Oceanic and Atmospheric Administration's (NOAA)
National Centre for Environmental Information (NCEI) for use in R. All 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.
For climate data that have been formatted specifically for use with the
GSODR
package, please see the GSODRdata
package
(Sparks et al.) available on GitHub:
https://adamhsparks.github.io/GSODRdata/. Four data frames of climate
data are provided from various sources for GSOD station locations.
Karger, D. N., Conrad, O., Bohner, J., Kawohl, T., Kreft, H., Soria-Auza, R. W., et al. (2016) Climatologies at high resolution for the Earth land surface areas. arXiv preprint arXiv:1607.00217
New, M., Lister, D., Hulme, M., Makin, I., (2002) A high-resolution data set of surface climate over global land areas. Climate Research 21:1--25
Sparks A., Hengl T., Nelson A. (2017) GSODRdata: Extra Climate Data for the GSODR Package. R package version 0.1.0, https://adamhsparks.github.io/GSODRdata/index.html.
Wilson A. M., Jetz W. (2016) Remotely Sensed High-Resolution Global Cloud Dynamics for Predicting Ecosystem and Biodiversity Distributions. PLoS Biol 14(3): e1002415. doi:10.1371/journal. pbio.1002415
GSODR functions:
get_GSOD
Fetch, clean and reformat data from NCEI GSOD
database
reformat_GSOD
Clean and reformat local files from NCEI
GSOD database
nearest_stations
Find stations within a given radius
expressed in kilometres for a given point using Latitude and Longitude
update_station_list
Download the latest station list from the
NCEI FTP server updates the package's internal database of stations and their
metadata.
isd_history
GSDOR provides a cleaned, local copy of
the "isd_history.csv" file to help make some processes faster with
elevation data derived from SRTM90m data also included in these data
country_list
GSODR provides a cleaned list of the
countries which are represented in the GSOD data set
Useful links: