Correct references to GSODRdata package where incorrectly referred to as GSODdata
get_GSOD() when using station parameterget_GSOD() function returns a data.frame object in the current R session with the option to save data to local disknearest_stations() is now included to find stations within a user specified radius (in kilometres) of a point given as latitude and longitude in decimal degreesget_GSOD() function will retrieve the latest station data from NCDC and automatically merge it with the CGIAR-CSI SRTM elevation values provided by this package. Previously, the package provided it’s own list of station information, which was difficult to keep up-to-datereformat_GSOD() function reformats station files in “WMO-WBAN-YYYY.op.gz” format that have been downloaded from the United States National Climatic Data Center’s (NCDC) FTP server.get_station_list() allows for fetching latest station list from the FTP server and querying by the user for a specified station or location.GSODRdata, which provide climate data formatted for use with GSODR.
NA not -9999get_GSOD() function optimised for speed as best possible after FTPing files from NCDC serverget_GSOD() function now checks stations to see if the years being queried are provided and returns a message alerting user if the station and years requested are not availablestation = "" parameter, the get_GSOD() function now checks to see if the file exists on the server, if it does not, a message is returned and all other stations that have files are processed and returned in outputget_GSOD() functionpath parameter is now instead called dsn to be more inline with other tools like readOGR() and writeOGR()max_missing parameter is now user set, defaults to no check, return all stations regardless of missing daysmerge_station_years = TRUE parameter, only one output file is generatedstations list with latest version from NCDC published 12-07-2016ByteCompile option upon installation for small increase in speedwrite.csv.raw from [iotools]("https://cran.r-project.org/web/packages/iotools/index.html") to greatly improve runtime by decreasing time used to write CSV files to diskwriteOGR() from rgdal, in place of raster's shapefile to improve runtime by decreasing time used to write shapefiles to disktoupper() function. A new function from juba fixes this issue and users can now select country againtf item was incorrectly set as tf <- "~/tmp/GSOD-2010.tar, not tf <- tempfile, in get_GSOD() (Issue 6)