GSODR (version 2.0.0)

GSODR: Global Surface Summary of the Day (GSOD) Weather Data Client


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 Centre for Environmental Information (NCEI) for use in R. All units are converted 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 (RH) 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.



For information on the GSOD data from NCEI, please see the GSOD readme.txt file available from,

For climate data that have been formatted specifically for use with the GSODR package, please see the GSODRdata package (Sparks et al.) available from GitHub: Four data frames of climate data are provided from various sources for GSOD station locations.

See Also

GSODR functions:

get_GSOD Download, Clean, Reformat Generate New Elements and Return a Tidy Data Frame of GSOD Weather Data

reformat_GSOD Clean, Reformat Generate New Elements and Return a Tidy Data Frame of GSOD Weather Data from Local Disk

nearest_stations Find Nearest GSOD Stations to Specified a Latitude and Longitude

update_station_list Download the Latest Station List Information and Update GSODR's Internal Database

get_inventory Download and return a tidy data frame of GSOD weather station data inventories

Useful links: