Learn R Programming

⚠️There's a newer version (0.7.4) of this package.Take me there.

bomrang: Australian Government Bureau of Meteorology (BOM) Data from R

Provides functions to interface with Australian Government Bureau of Meteorology (BOM) data, fetching data and returning a tidy data frame of précis forecasts, current weather data from stations, ag information bulletins, historical weather data or a raster::stack() object of satellite imagery from GeoTIFF files.

Credit for the name, bomrang, goes to Di Cook, who suggested it while attending the rOpenSci AUUnconf in Brisbane, 2016, upon seeing the vignette that we had assembled during the Unconf.

Quick Start

Install the stable release from CRAN.

install.packages("bomrang")

Or from GitHub for the version in development.

if (!require("remotes")) {
  install.packages("remotes", repos = "http://cran.rstudio.com/")
  library("remotes")
}

install_github("ropensci/bomrang", build_vignettes = TRUE)

Using bomrang

Several functions are provided by bomrang to retrieve Australian Bureau of Meteorology (BOM) data. A family of functions retrieve weather data and return tidy data frames;

  • get_precis_forecast(), which retrieves the précis (short) forecast;
  • get_current_weather(), which fetches the current weather from a given

station;

  • get_ag_bulletin(), which retrieves the agriculture bulletin;
  • get_weather_bulletin(), which retrieves the BOM 0900 or 1500 bulletins;
  • get_coastal_forecast(), which returns coastal waters forecasts; and
  • get_historical(), which retrieves historical daily observations for a given

station.

A second group of functions retrieve information pertaining to satellite imagery,

  • get_available_imagery() and the imagery itself,
  • get_satellite_imagery(). Vignettes are provided illustrating examples of

all functions and a use case.

Meta

Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

References

Australian Bureau of Meteorology (BOM) Weather Data Services

Australian Bureau of Meteorology (BOM) Weather Data Services Agriculture Bulletins

Australian Bureau of Meteorology (BOM) Weather Data Services Observation of Rainfall

Copy Link

Version

Install

install.packages('bomrang')

Monthly Downloads

67

Version

0.3.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Adam Sparks

Last Published

August 15th, 2018

Functions in bomrang (0.3.0)

sweep_for_stations

Find Nearest BOM Weather Stations
manage_cache

Manage Locally Cached BOM Files
update_forecast_towns

Update bomrang Internal Database with Latest BOM Forecast Towns
update_station_locations

Update bomrang Internal Databases with Latest BOM Station Metadata
get_current_weather

Get Current Weather Observations of a BOM Station
bomrang

Australian Government Bureau of Meteorology (BOM) Data from R
get_historical

Obtain Historical BOM Data
get_precis_forecast

Get BOM Daily Pr<U+00E9>cis Forecast for Select Towns
get_weather_bulletin

Get BOM 0900 or 1500 Weather Bulletin
get_ag_bulletin

Get BOM Agriculture Bulletin Information for Select Stations
get_satellite_imagery

Get BOM Satellite GeoTIFF Imagery
get_available_imagery

Get a Listing of Available BOM Satellite GeoTIFF Imagery
get_coastal_forecast

Get BOM Coastal Waters Forecast