Skip to content

Releases: ropensci/GSODR

v4.1.2

12 Sep 23:12
36c7c68
Compare
Choose a tag to compare

Bug fixes

  • Enforce {data.table} >= 1.15.4 due to issue with fifelse() as reported in #121

  • Fix issue with working directory changing as reported in #124

v4.1.1

25 Jul 12:32
845952b
Compare
Choose a tag to compare

Bug fixes

  • This is a continuation of the bug in the GSOD CSV file format data from the previous release.
    The missing values should be 9999.9 as 999.9 is a valid "STP" value.
    However, this does not appear to be the value that's actually used for missing data in this field.
    So, I've elected to set the STP field to NA when "STP_ATTRIBUTES" are equal to "0" or no observations used in reporting "STP" to see if this overcomes the issue.

v4.1.0

21 Jul 09:12
cfb6867
Compare
Choose a tag to compare

Minor changes

  • Added citation information for the data themselves to README.

  • Adds new function, get_updates(), which gets the changelog for the GSOD data and returns it sorted with most recent changes first.

Bug fixes

  • This is really a bug in the GSOD data, not {GSODR}, but we do our best to please.
    As reported by @geospacedman in #117, STP values above 1000 were not properly reported.
    Upon further inspection, it was found that the GSOD data in the CSV files is incorrect and the leading "1" is truncated and the values are reported as "034" for e.g. "1034".
    Further, {data.table} drops the leading zeros by default on import with fread() unless keepLeadingZeros = TRUE is set, so that is now set and the "1" is appended when the values are >1000 and all should be well with the world again.

  • Fixes title that ended with a full stop.

GSODR v4.0.0

28 Mar 05:03
1ffd23b
Compare
Choose a tag to compare

Major changes

  • Breaking change nearest_stations() now returns a data.table of all station metadata and a value with the distance in kilometres from the user-provided coordinates.
    This function previous returned a single character vector.
    To replicate the previous functionality, you can use the following method by calling the STNID column name.
nearest_stations(LAT = 14.16742, LON = 121.255669, distance = 50)$STNID

Minor changes

  • Update internal isd history database.

GSODR 3.1.10

06 Feb 00:47
145c35a
Compare
Choose a tag to compare

Minor changes

  • Use {roxyglobals} for handling global values.

  • Update internal isd history database.

  • Tidy up Appendix 2 in vignette, map of GSOD station locations.
    Add a caption and remove text from .png image itself.

Bug fixes

  • Fix codecov badge in README

GSODR 3.1.9

22 Aug 09:57
9729c2e
Compare
Choose a tag to compare

Bug fixes

  • Fix duplicated elevation columns.

Minor changes

  • Remove {httr} as an Import. Use base functionality to check existence first and then {curl} will properly error if a download fails, we will use that functionality.

  • Fix codecov badge to point at proper branch.

  • Ensure function titles are all proper title case.

  • Enhanced handling of data requests for incompatible station-year combinations. A warning() is issued for each bad combo, but if a vector() of stations is requested, any valid stations will still be downloaded with the bad combos omitted after the warning is emitted.

v3.1.7

05 Jan 23:46
Compare
Choose a tag to compare
  • Fix bug where the isd_history.Rda data object was not updated using the data_raw/fetch_isd-history.Rmd.
  • Fix bug where stations were not available in the internal isd_history file, this caused NA values to appear for some stations when run using format_GSOD() or to not be available for download with get_GSOD(). This adds 1,334 new stations that are now available through GSODR. These were always available through GSOD but this bug prevented them from being accessed through this package.
  • Fix minor bug where get_inventory() returned garbage in the header of the object.

3.1.5

13 Aug 06:48
Compare
Choose a tag to compare
  • Redoc package to correct HTML issues.

  • Update internal isd-history database.

  • Update changed URLs.

3.1.5

08 May 01:01
Compare
Choose a tag to compare

GSODR 3.1.5

Minor changes

  • Update internal isd-history database.

  • Use return(invisible(NULL)) for functions that check user inputs without any returns.

  • Replace class(years) == "character") with inherits(years, what = "character") in an internal function, .validate_years().

  • Updates invalid URLs.

GSODR 3.1.4

13 Oct 11:33
a8deef9
Compare
Choose a tag to compare

Minor changes

  • Skip ANY and ALL tests on CRAN.
    This fixes the "problems" with GSODR failing on a Solaris instance when the server failed to respond.

  • Update internal isd-history database.

  • Use \CRANpkg{} in place of \pkg{} in documentation.

Full Changelog: v3.1.2...v3.1.4