Releases: ropensci/GSODR
v3.1.2
GSODR 3.1.2
Bug fixes
- Fix (more) bugs related to
NA
value replacements.
Minor changes and improvements
-
Simplify
NA
value replacement in "PRCP" column. -
The PRCP column values are rounded to two decimal places as in original GSOD data, not one.
-
The TEMP_ATTRIBUTES, DEWP_ATTRIBUTES, SLP_ATTRIBUTES, STP_ATTRIBUTES, VISIB_ATTRIBUTES and WDSP_ATTRIBUTES columns are formatted as an integer not character.
-
Better tests for the generated weather data
data.table
output checking values and formats. -
Tests are updated for updated data availability in the GSOD data due to continuous improvements to the data set.
-
Standardise handling of author/contributor comments.
None have a full stop now in the comment. -
Use
on.exit()
to reset the working directory to the original user-space value after changing the working directory to untar files located intempdir()
.
v3.1.1
GSODR 3.1.1
Bug fixes
-
Fixes bug reported in #84 in the FRSHTT columns where the values were all reported as
NA
even if there were observed values. -
Fixes bug where NA values reported as 99.99, 999.9 or 9999.9 were not replaced with
NA
.
Minor changes
- Examples are no longer wrapped in
\donttest{}
but use@examplesIf interactive()
instead.
GSODR 3.1.0
New features
-
Include columns for COUNTRY_NAME (country name in English), ISO2C and ISO3C in the final output from
get_GSOD()
andreformat_GSOD()
. -
Diffs in the isd_history are now recorded in the
/data-raw/fetch_isd-history.md
file and shipped with GSODR asisd_history.rda
, which can be viewed by usingload(system.file("extdata", "isd_diff.rda", package = "GSODR"))
. -
Update and improve documentation to reflect country name and ISO code columns.
Minor improvements
- Update NCEI data usage statement.
GSODR 3.0.0
Major changes
- Remove parallel processing functionality.
A bug that I was unable to properly debug withfuture.apply::future_lapply()
caused theget_GSOD()
andreformat_GSOD()
functions to run without completing or responding was fixed by simply using R's baselapply()
function.
If parallel processing is needed, users should implement their own solutions to download and process in parallel.
Bug fixes
-
Fix bug that caused the package to run without responding.
-
Fix test that failed on CRAN's Solaris server for some reason.
-
Removes a working DOI link from the reference for the equation used because win-builder checks say it doesn't work (even though it does and there's nothing wrong with the link any time I check).
v2.1.2
GSODR 2.1.2
Bug fixes
- Fix bug where
nearest_stations()
did not always return the nearest station as the first value in the vector
Minor changes
-
Update internal isd-history database, adding 11 stations
-
Fix any links that redirect found in DESCRIPTION, documentation or other materials in the package
2.1.1
GSODR 2.1.1
Bug fixes
- Fix bug where station metadata files could not be updated
Minor changes
-
Update internal station list to latest
-
Correct an error in documentation for
update_station_list()
-
Remove spatial vignettes to slim down Suggests and make CI maintenance easier
2.1.0
Major changes
- Implement new calculations for EA, ES and RH using improved August-Roche-Magnus approximation (Alduchov & Eskridge 1996).
HT Rich Iannone for his use in stationaRy.
This will result in different EA, ES and RH calculations from the prior versions of GSODR.
However, this new implementation should be more accurate as discussed in (Alduchov & Eskridge 1996).
Alduchov, O.A. and Eskridge, R.E., 1996. Improved Magnus form approximation of saturation vapor pressure. Journal of Applied Meteorology and Climatology, 35(4), pp.601-609.
Minor changes
-
Update internal station list to latest
-
Enhanced documentation
v2.0.1
Bug fixes
-
Corrects internal bug that provided a warning message when GSOD files were
parsed -
Fixes bug where not all files downloaded were cleaned up on the function
exit when fetching station inventories -
Fixes bug where station inventories from
get_inventory()
lacked the
location metadata, i.e. country and other geographic information
Minor changes
-
Update vignette to use latest functions from tidyr, i.e.
tidyr::pivot_longer()
-
Update internal station list to latest
-
Tidy up documentation, mainly fix functions' title capitalisation
-
get_GSOD()
checks the number of stations being requested. If the number is
10, the entire annual file will be downloaded and requested stations will then
be selected and returned. This saves time by reducing the number of requests
made to the server. Users should not see any difference other than quicker
responses for a large number of requested stations.
Major changes
- Requires R >= 3.5.0 due to the storage of .Rds files using the latest version
v2.0.0
Bug fixes
get_GSOD()
now uses https rather than FTP server, correcting bug where the
data could not be downloaded any longer
Major changes
-
Corrected elevation values are no longer available from GSODR
-
Objects are returned as
data.table
objects
Minor changes
-
get_inventory()
now uses https rather than FTP server -
update_station_list()
now uses https rather than FTP server -
Implement better error handling when attempting to fetch station inventories
-
Reduced package dependencies
-
Improved vignettes that are pre-compiled for faster package installation and
updated content with linting and error corrections -
Users may now specify country by FIPS code when using
get_GSOD()
-
Improved test coverage
-
Update internal database of station locations
1.3.2
Bug fixes
- Fixes a bug where extra data could be appended to dataframe. See
#49. This also means that when you are
retrieving large amounts of data, e.g. global data for 20+ years, you won't fill
up your hard disk space due to the raw data before processing.
Minor changes
- Update internal database of station locations