Recent Releases of weatherOz
weatherOz - v2.0.1
Minor changes
- Update
testthattests to reflect changes in weather station and BOM Radar imagery availability
Bug fixes
get_stations_metadata()fails to fetch data with invalid API key.- Added check to
query_dpird_api()when using an invalid DPIRD API key.
What's Changed
- fix test errors on CRAN by @bozaah in https://github.com/ropensci/weatherOz/pull/95
- Add check for invalid/expired DPIRD API key by @adamhsparks in https://github.com/ropensci/weatherOz/issues/94
Full Changelog: https://github.com/ropensci/weatherOz/compare/v2.0.0...v2.0.1
Scientific Software - Peer-reviewed
- R
Published by bozaah 8 months ago
weatherOz - v2.0.0
Breaking changes
- Functions
get_ag_bulletin()andparse_ag_bulletin()have been defunct because the underlying BOM agricultural bulletin service is no longer available. This removal constitutes a breaking change; please update your code accordingly. - Documentation has been updated to reflect the removal of the
get_ag_bulletin()andparse_ag_bulletin()functions. - Tests for the
get_ag_bulletin()andparse_ag_bulletin()functions now errors given that the functions are now defunct.
Bug fixes
- Fixes Issue 90 with the
get_dpird_summaries()function where tests had fixed dates and errors were generated. The teststest-get_dpird_summaries.Rhave been updated to use previous year from the current date and the tests now pass. - Fixes other bugs with the
find_stations_in()and function where the function would not return the correct number of stations, given recent adjustments to the weather station infrastructure.
Additional fixes and improvements:
- Re-documented package to reflect changes
- Updated test vcr cassette/fixtures
- Updated BOM-related vignette
- Updated WORDLIST for spelling checks
What's Changed
- Fix typo in function arg by @johnbaums in https://github.com/ropensci/weatherOz/pull/86
- lint package by @adamhsparks in https://github.com/ropensci/weatherOz/pull/88
- lint package by @adamhsparks in https://github.com/ropensci/weatherOz/pull/89
- Remove Agricultural Bulletin functionality by @bozaah in https://github.com/ropensci/weatherOz/pull/92
New Contributors
- @johnbaums made their first contribution in https://github.com/ropensci/weatherOz/pull/86
Full Changelog: https://github.com/ropensci/weatherOz/compare/v1.0.0...v2.0.0
Scientific Software - Peer-reviewed
- R
Published by bozaah 10 months ago
weatherOz - v1.0.0
Major Changes
Addressed comments after initial CRAN submission (reduce file size and update links to packages/function in the documentation).
Published manuscript describing package in the Journal of Open Source Software
Package was peer reviewed.
Changes the name of the function
get_station_metadata()toget_stations_metadata()to avoid clashes with {stationaRy}.Adds new functionality,
find_stations_in()to assist in finding stations in a bounding box or geospatial polygon.Allows user to pass along a factor as the
station_codewhen requesting weather data. This allows for the use of the metadata returned fromget_stations_metadata()to be used directly in queries without changing the class of thestation_codecolumn from factor to character.Added functionality to getstationmetadata() so that it returns the metadata for only one station if required, commit.
Several enhanced checks for user inputs to ensure that valid requests are made before sending the API queries are now in place.
Bug Fixes
find_nearby_stations()- Fixes bug where
find_forecast_towns()returned all values, not the proper values. - Fixes bug where BOM and SILO metadata were not properly merged when using
find_nearby_stations() - Fixes bug where closed stations are included in the nearest stations when using
find_nearby_stations()andinclude_closed = FALSE(default). - Fixes the messages when stations aren't found nearby. In certain cases the message indicated that a
station_codewas used whenlatitudeandlongitudehad been provided and vice versa. - Fixes bug when there are no stations that meet the criteria set by the user and an error was emitted that "x" must be a {data.table} object. The function now simply errors if there are no stations from either API that meet the criteria.
- Fixes bug where
get_dpird_extremes()- Fixes example in
get_dpird_extremes()that didn't use "yourapikey" as all other examples did for error checking. - Fixes example for
get_dpird_extremes()that didn't follow the package's standard use of "yourapikey" for theapi_keyvalue in the example.
- Fixes example in
Fixes the re-export of
terra::plot()where checks indicated that it does not have a documented return value or examples.Fixes a bug where the package data was not available when this package was called by another, e.g., {extractOz} used
get_patched_point()but could not validate the user-inputvaluesbecausesilo_daily_valuescould not be found.Fixes bug where results from
get_dpird_summaries()were truncated to only a few of the last results requested rather than the full set from start date to end date.Fixes bug where the DPIRD API would not properly respond to requests from Windows OS machines.
Fixes bug where SILO Data Drill gridded data were not available with enough precision.
Fixes bug where
include_closedwasn't passed along to the API when querying DPIRD station weather data. All queries now included closed stations by default so that a request for a closed station is not denied due to this not being specified, commit.
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 1 year ago
weatherOz - https://github.com/ropensci/weatherOz/releases/tag/v0.0.1
First official release
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 2 years ago