Recent Releases of bomrang
bomrang - bomrang 0.7.4
Bug fixes
get_weather_bulletin()now works properly with new versions of tibble and rvest (@mpadge, #134).A custom useragent is specified for the bomrang package as the RStudio useragent results in an error 403 (denied) when attempting to connect to BOM servers. This did not appear to affect R running in sessions outside of RStudio (@jonocarroll, #130).
curl options are now set to handle the slow responses from BOM servers rather than timing out.
Fixes CRAN NOTE: "'LazyData' is specified without a 'data' directory".
Minor changes and improvements
Changes to internal databases of BOM metadata for station, radar and forecast locations are now tracked in the
data_rawdirectory of the repository on GitHub with the changes being stored inextdataand available in the package through:load(system.file("extdata", "AAC_code_changes.rda", package = "bomrang"))load(system.file("extdata", "JSONurl_site_list_changes.rda", package = "bomrang"))load(system.file("extdata", "marine_AAC_code_changes.rda", package = "bomrang"))load(system.file("extdata", "radar_location_changes.rda", package = "bomrang"))load(system.file("extdata", "stations_site_list_changes.rda", package = "bomrang"))
Station numbers are padded with "0" in output from
get_historical_weather()to align with BOM naming conventions and other bomrang functions (@jonocarroll, #127).Remove rOpenSci footer from README.
Corrects incomplete final line found on /inst/CITATION.
Scientific Software - Peer-reviewed
- R
Published by adamhsparks almost 5 years ago
bomrang - East Perth
Bug fixes
get_current_weather()now returns the correct values forrel_hum, rather than returning a column ofNAget_available_imagery()now fails properly if a non-numericradar_idis supplied
Minor changes
Switch GIS raster file support from
rastertoterraradar_idvalues inget_available_radar()are now provided as a numeric value. This previously was a character that was internally coerced to numericget_radar_imagery()now returns amagick-imageobject rather than arasterobject. The files are .gif natively, this is a better way to handle them
Scientific Software - Peer-reviewed
- R
Published by adamhsparks about 5 years ago
bomrang - East Toowoomba
bomrang 0.7.2
- Fixes an example that wrote to R userspace, when it should not in
get_radar_imagery()
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 5 years ago
bomrang - Cobargo
bomrang 0.7.0
Bug fixes
Resolves an issue where
select()was not recognised as being re-exported by bomrang from dplyrFixes bug where precipitation to 9am, column
r, in ag bulletin was not reported at 0.01 for "Tce" as documented in vignetteFixes bug where weather bulletin contained empty cells rather than a proper
NAvalue where data was missingAdds
skip_on_cran()to all tests causing failures in CRAN checks that should not have been tested on CRANCorrects (and skips) a test that failed on Solaris and macOS when writing to disk by using
tempdir()rather than the userspace
Major changes
Requires R >= 3.5.0 now due to changes in serialisation of internal .Rds files used to store databases of station information
Adds three new functions to parse local XML files, not relying on R's ability to fetch files from an insecure FTP server, thanks to @paulmelloy for this
parse_ag_bulletin()parse_coastal_forecast()parse_precis_forecast()
Improved test coverage, ~93 %
- Adds tests for previously untested
get_weather_bulletin() - Adds tests for
bomrang_tbl()functionality
- Adds tests for previously untested
Fail gracefully with message and returns
invisble(NULL)if a resource is not available for XML or JSON files, not erroring. In cases where a file is not found, error 404 or on the FTP server, an error message is still returned
Minor changes
Comprehensive cleaning of the vignette and reformatting of help files for all functions
Precompile use_case vignette as well as main vignette
Improved matching of possible character strings entered by user for state to include variations of two-letter abbreviations of Australia
Scientific Software - Peer-reviewed
- R
Published by adamhsparks about 6 years ago
bomrang - Mallacoota
Bug fixes
Adds
skip_on_cran()to some tests causing failures in CRAN checks that should not have been tested on CRANFixes bug in functions returning [data.table] objects that don't print to console
Fixes bugs that removed station locations from internal lists being distributed with bomrang and when user updated them on their own machine
Minor changes
- Prebuild main vignette with examples depending on Internet connection, which allows for example output to be displayed for more functions
Scientific Software - Peer-reviewed
- R
Published by adamhsparks about 6 years ago
bomrang - Yarraman
Bug fixes
Fixes a bug with links to documentation from
get_historical()and%>%Updates station location databases to use updated BOM URLs, thanks to @ozjimbob for reporting
Updates file and error handling for image downloads when downloads fail
Ensures that .Rds/.Rda files are saved using version 2, for R from 1.4.0 to 3.5.0 such that users using older versions of R do not have to upgrade to use
bomrangFixes bug that prevents end-user from self-updating internal databases
Minor changes
Plots radar images natively using re-exported
raster::plot()Adds
sweep_for_forecast_towns(), which works analogously tosweep_for_stations(), thanks to @rensa for adding
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 6 years ago
bomrang - Brandon
bomrang 0.5.0
Bug fixes
- Update functionality of
get_precis_forecast()andget_coastal_forecast()to work with latest BOM XML files
Major changes
New print method for
get_historical()andget_current_weather()usingbomrang_tblclass and re-exporting dplyr methods to handle the new class, thanks to @jonocarroll for this huge effortAdd new aliases for
get_current_weather(),get_current()andget_historical(),get_historical_weather()for consistencyAdd new aliases for
get_radar_imagery(),get_radar()andget_satellite_imagery(),get_satellite()to save typingIf images fail to download for any functions, a default image is returned with an error message to try again

get_current_weather()no longer hasraworas.data.tableparameters, all data are returned with columns in proper class as with all other bomrang functions and the returned data.frame is abomrang_tblobject. Therawparameter was set toFALSEby default, so the effect should be minimal for most end users.
Minor changes
Updates documentation formatting and corrects minor issues including spellchecking package and correcting spelling where necessary
Uses
curlto download XML files before parsing them, rather than reading directly from the server.curlgives more flexibility in handling the server connectionsUses
curl::curl_download()in place ofutils::download.file()for a newer implementation of the same protocolsCorrect formatting of DESCRIPTION file to conform with CRAN guidelines
Replaces
\dontrun{}with\donttest{}for examples in documentation
Scientific Software - Peer-reviewed
- R
Published by adamhsparks almost 7 years ago
bomrang - Adelaide Hills
Bug fixes
get_historical()now fetches data for any station with historical data available corrected an issue where previously it only fetched data for stations that currently reportedEnforce standardised output for
get_coastal_forecast(). In some cases BOM does not report all fields available, bomrang will always report these withNAif empty
Minor changes
Add new functionality to interact with and download radar imagery from BOM,
get_available_radar()andget_radar_imagery()When using
update_station_locations()orupdate_forecast_towns()the user is now prompted with a message about reproducibility before proceedingUpdate code of conduct statement in README to reflect that it only applies to the
bomrangprojectUpdate authors' list in vignette to include Dean Marchiori
Add links to on-line versions of vignettes from README
Standardise use of vocabulary in README
Reorder vignette to have output from functions before maps
Add maps of historical data completeness and availability to vignette, Appendix 7
Move copyright information from startup message into CITATION file
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 7 years ago
bomrang - Surfers Paradise
Major changes
- Add new function
get_coastal_forecast(), which fetches the BOM coastal waters forecast
Minor changes
Add spaces between sentences in some error messages when interacting with the BOM servers
Enhance testing for
get_historical()Handle checking multiple imagery files gracefully without returning warning message if more than one file is to be loaded in current session
Update citations for package to reflect current package and paper citation
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 7 years ago
bomrang - South Bank
bomrang 0.2.2
Bug fixes
Fix corrupted zip file download issue for get_historical() on Windows
Minor changes
- Update citations for package to reflect current package and paper citation
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 7 years ago
bomrang - Scrubby Mountain
bomrang 0.2.1
Minor changes
Reduce R requirement back to >= 3.2.0 from 3.5.0
Related to above, check for R version in
get_precis_forecast()and adjust field names according to the R version due totidyr's behaviourClean up and reformat documentation, standardise references to packages, links and author e-mail addresses
Remove deprecated functions
Bug fixes
Correct field names in
get_precis_forecast()wheremaximum_temperatureandminimum_temperaturewere reversedMove rappdirs to Suggests to fix NOTEs on https://cran.rstudio.com/web/checks/checkresultsbomrang.html
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 7 years ago
bomrang - Atherton
bomrang 0.2.0
New functionality
get_historical()retrieves historical daily rainfall, min/max temperatures, or solar exposure. (@jonocarroll)
Minor changes
get_precis_forecast()handles states/territories with no/missing precipitation data gracefully
Bug fixes
- Add
rappdirsto Imports section of DESCRIPTION file to fix missing import
Scientific Software - Peer-reviewed
- R
Published by adamhsparks almost 8 years ago
bomrang - Dubbo
Minor changes
The internal
stations_site_listnow is checked against GADM (Global Administrative Areas), http://www.gadm.org/ to ensure state listed is correct. This is in response to an error where Alice Springs Airport was reported in South Australia in the March 2018 update from BOM. There may be others. The original BOM values for state are in anorg_statecolumn. However,bomrangwill use the correctedstatecolumn values.Update code to be compliant with current and future versions of
janitor
Bug fixes
Correct issue with converting the timzeone in ag bulletin to character where the conversion resulted in a vector of numerals, not the expected string of characters, e.g. "EST"
Remove redundant functionality in
update_station_locations()where data were fetched usingtryCatch()and then again without
Scientific Software - Peer-reviewed
- R
Published by adamhsparks almost 8 years ago
bomrang - Opera house
Major changes
- Use hoardr to manage file caching
Minor changes
Enhanced documentation for the cached files in satellite imagery
Update internal databases of metadata for station locations and URLs
Bug fixes
- Fix issues with
get_precis_forecast()andget_ag_bulletin()where they failed to work properly. This fix lessens internal dependencies on dplyr and removes rlang usage from package.
Deprecated functions
bomrang_cache_list(), now superceded bymanage_cache$list()bomrang_cache_details(), now superceded bymanage_cache$details()bomrang_cache_delete(), now superceded bymanage_cache$delete()bomrang_cache_delete_all(), now superceded bymanage_cache$delete_all()
Scientific Software - Peer-reviewed
- R
Published by adamhsparks about 8 years ago
bomrang - Punyelroo
Major changes
- Antarctic stations reporting with a valid .json file are now included in internal database
Minor changes
Fix typo in DESCRIPTION, Scott's ORCID wasn't given as a full URL
Update authors in vignettes to credit everyone who helped write them
Update vignette style to use normal vignette style with table of contents
Fix error in vignette that referred to
update_forecast_locations(), it should instead refer toupdate_forecast_towns()Update internal stations list with latest data from BoM
Bug fixes
- Fix issue where updating internal stations would fail
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 8 years ago
bomrang - Gluepot
Major changes
- Handle typos in the weather bulletins
Minor changes
Document
get_weather_bulletin()functionality in Appendix 4 of bomrang vignette, thanks @mpadgeSpell checking
Ready for submission to JOSS
Update codemeta json file
Ensure authorship order is the same order in all files
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 8 years ago
bomrang - Adelaide
Bug Fixes
Fix typo in
check_states()Replace
warning()withmessage()inget_states()
Major changes
- Fetch BoM 0900 and 1500 weather bulletins from SHTML sources and create a tidy data frame of the data
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 8 years ago
bomrang - South Australia
Bug Fixes
Recommended
station_namevalues are separated by spaces inget_current_weather()Station names and location names are more consistent in the supplied data and returned data frames.
Lat/Lon values for
get_current_weather()results are now reported using the values from the internal database, which has a higher degree of accuracy. The json file values are rounded while the values from the stations list has four decimal places
Major changes
Fetch BoM satellite images available through public FTP
New use-case vignette, using bomrang for the WINS project
Welcome message included with statement regarding BoM copyright
Concatenate vignettes into a single file with appendices for descriptions of data returned by functions
Product IDs are included in outputs from
get_*()functions that return a tidy dataframeFull station names are reported along with BoM's current name used to refer to a station location. In some cases a station "name" may be the same for both a current and retired station.
Fuzzy matching is used for all functions now when user enters a value for a desired state, station or the whole country for functions that require a
stateargumentOnload a message regarding the copyright and data source,
r Data (c) Australian Government Bureau of Meteorology,, Creative Commons (CC) Attribution 3.0 licence or, Public Access Licence (PAL) as appropriate., See http://www.bom.gov.au/other/copyright.shtmlis displayedthe bomrang vignette now contains instructions for use along with appendices that document the data fields and units, rather than separate vingettes
ramifications of updating station lists are now stated clearly in the vignette and help files for applicable functions
a map of BoM stations is included in an appendix of the bomrang vingette
Lat/Lon values are specified to be in decimal degrees in
get_current_weather()help and vignetteDatabases station locations and other metadata are internal an not exposed to the user
Use
file.path()in place ofpaste0()The package has been linted,
- line lengths are <80 chars,
- best practice naming conventions are followed (where possible)
Lint md files
Spellchecking in all files
agrepis now used in all functions where the user enters state or Australia values to query BoM databest practices for programming with
dplyr 0.7usingrlangare now employed, which reduces the need for the# CRAN NOTE avoidance"JSONurllatlonbystationname" has been shortened to "JSONurlsitelist".
The DESCRIPTION file now states minimum package versions for packages that are undergoing rapid development
Code has been refactored to be shorter, e.g.,
xml_bulletin_urlinget_ag_bulletion().get_obs()has been moved out of the.parse_bulletin()function for easier reading/maintenancefixed a repeat of
return(tidy_df)inget_precis_forecast()
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 8 years ago
bomrang - Launceston
Minor changes
- Add vignettes describing the data returned from
get_precis_forecast()andget_ag_bulletin(), remove this from function help files - Correct documentation reference in README file
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 8 years ago
bomrang - TAS
bomrang 0.0.3
Major changes
- Include internal databases of station locations and metadata for
get_current_weather()andget_ag_bulletin()both derived from the same BOM station master list - The new database includes a more complete list of JSON URLs and ag bulletin station locations
- Generation of the JSON URL list is much faster, now can be updated by the user in a few seconds as desired using the new
update_station_locations()function
Minor changes
- Better tests written for the package
- Add a new file describing internal database creation for station locations, metadata and JSON URLs, createBOMstation_list.md
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 8 years ago
bomrang - VIC
Major changes
- Hugh Parsonage has joined as a contributor
- Added a new function
get_current_weather()to retrieve weather data from specified BOM weather stations - Added a new function
sweep_for_stations()to find stations used inget_current_weather()function, based on distance from a specified latitude and longitude - Renamed existing functions for more clarity.
get_forecast()is nowget_precis_forecast()get_bulletin()is nowget_ag_bulletin()update_locations()is nowupdate_precis_locations()
Minor changes
- All functions will return a
data.frameobject, not atibble - If a server is not responding, the function returns a more meaningful error message on exit
- All date/times are returned in POSIXct format
- UTC offset is returned in a separate
UTC_offsetfield forget_precis_forecast()for bothstart_time_localandend_time_localfields - Spelling and typo corrections
- Enhanced documentation
Bug fixes
- Correct output for ag bulletin where the observation site is listed but has no values. The site will be listed with location data and
NAfor all meteorological values
Scientific Software - Peer-reviewed
- R
Published by adamhsparks over 8 years ago