Recent Releases of weatherOz

weatherOz - weatherOz 3.0.0

What's new

MET Norway forecast support

You can now fetch hourly forecasts for Australian locations with get_metno_forecast(), then aggregate them with get_metno_daily_forecast().

For users who want more control, 3 new helpers are now exported:

  • metno_timeseries_to_data_table()
  • metno_resample_data_table()
  • metno_get_dominant_symbol()

Breaking changes

  • get_dpird_summaries() wind output changed from long to wide: removed wind_height, added height-specific fields (*_3m, *_10m) and one row per period. Previous wind_height columns is removed.
  • Removed agricultural bulletin functions: get_ag_bulletin() and parse_ag_bulletin()

If you had downstream code that filtered by wind_height, update those paths to read the new column names directly.

The agricultural bulletin functions were already defunct in v2.x and are now removed in v3.0.0 because the upstream BOM agricultural bulletin service is no longer available.

Fixes

  • Fixed a timezone-related day-gap issue when combining historical data with forecasts.
  • Improved MET.NO request behaviour with cache/revalidation support.
  • Improved handling of mixed old/new DPIRD schemas across paginated responses.
  • Refreshed docs and links where upstream BoM pages moved.

Checks

  • CI checks green
  • Win-builder pass
  • URL checks cleaned up for moved BoM endpoints

What's Changed

Full Changelog: https://github.com/ropensci/weatherOz/compare/v2.0.2...v3.0.0

Climate Change - Climate Data Processing and Analysis - R
Published by bozaah about 2 months ago

weatherOz - v2.0.2

weatherOz 2.0.2 - CRAN re-submission

This release addresses the compatibility issues that led to the package being archived on CRAN (2025-08-25). The fixes include VCR/HTTP testing compatibility with updated crul package dependencies and resolving URL validation issues identified in CRAN checks.

What is changed?

  • Fixed VCR/crul compatibility: Updated minimum vcr requirement to >= 2.0.0 to resolve compatibility issues with crul >= 1.6.0
  • Resolved deprecated mock() function: All VCR cassette testing now works with the latest HTTP testing infrastructure
  • Fixed curl import warnings: Added @importFrom curl for all curl functions used in the package
  • Updated URLs across README.md, R file, documentation and vignettes

URL updates and fixes

Updated DPIRD URLs: Fixed all broken URLs following DPIRD's system migration

  • https://www.agric.wa.gov.au/web-apishttps://www.dpird.wa.gov.au/online-tools/apis/
  • https://www.agric.wa.gov.au/apis/api-terms-and-conditionshttps://www.dpird.wa.gov.au/online-tools/apis/api-terms-and-conditions/
  • https://www.agric.wa.gov.au/form/dpird-api-registrationhttps://www.dpird.wa.gov.au/forms/dpird-api-registration/
  • Updated URLs: Fixed pulse industry URL redirect
    • https://www.pulseaus.com.au/about/australian-pulse-industryhttps://grainsaustralia.com.au

Test improvements

  • Flexible station count testing: Update tests to use ranges instead of fixed station counts
  • Prevents test failures due to minor station count variations

No Breaking Changes

  • All public API functions remain unchanged
  • No user-facing functionality affected

Full Changelog: https://github.com/ropensci/weatherOz/compare/v2.0.1...v2.0.2

Climate Change - Climate Data Processing and Analysis - R
Published by bozaah 7 months ago

weatherOz - v2.0.1

Minor changes

  • Update testthat tests 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

Full Changelog: https://github.com/ropensci/weatherOz/compare/v2.0.0...v2.0.1

Climate Change - Climate Data Processing and Analysis - R
Published by bozaah about 1 year ago

weatherOz - v2.0.0

Breaking changes

  • Functions get_ag_bulletin() and parse_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() and parse_ag_bulletin() functions.
  • Tests for the get_ag_bulletin() and parse_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 tests test-get_dpird_summaries.R have 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

New Contributors

Full Changelog: https://github.com/ropensci/weatherOz/compare/v1.0.0...v2.0.0

Climate Change - Climate Data Processing and Analysis - R
Published by bozaah over 1 year 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() to get_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_code when requesting weather data.
    This allows for the use of the metadata returned from get_stations_metadata() to be used directly in queries without changing the class of the station_code column from factor to character.

  • Added functionality to get_station_metadata() 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() and include_closed = FALSE (default).

    • Fixes the messages when stations aren't found nearby. In certain cases the message indicated that a station_code was used when latitude and longitude had 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.

  • get_dpird_extremes()

    • Fixes example in get_dpird_extremes() that didn't use "your_api_key" as all other examples did for error checking.

    • Fixes example for get_dpird_extremes() that didn't follow the package's standard use of "your_api_key" for the api_key value in the example.

  • 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-input values because silo_daily_values could 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_closed wasn'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.

Climate Change - Climate Data Processing and Analysis - R
Published by adamhsparks almost 2 years ago

weatherOz - https://github.com/ropensci/weatherOz/releases/tag/v0.0.1

First official release

Climate Change - Climate Data Processing and Analysis - R
Published by adamhsparks almost 3 years ago