Skip to contents

Fetch the BOM daily Coastal Waters Forecast for a specified state or region.

Usage

get_coastal_forecast(state = "AUS")

Arguments

state

Australian state or territory as full name or postal code. Fuzzy string matching via base::agrep() is done. Defaults to AUS returning all state forecasts, see details for further information.

Value

A data.table::data.table() of an Australia BOM Coastal Waters Forecast.

Details

Allowed state and territory postal codes, only one state per request or all using 'AUS':

AUS

Australia, returns forecast for all states, NT and ACT

ACT

Australian Capital Territory (will return NSW)

NSW

New South Wales

NT

Northern Territory

QLD

Queensland

SA

South Australia

TAS

Tasmania

VIC

Victoria

WA

Western Australia

References

Forecast data come from Australian Bureau of Meteorology (BOM) Weather Data Services
http://www.bom.gov.au/catalogue/data-feeds.shtml.

And also,

Location data and other metadata come from the BOM anonymous FTP server with spatial data
ftp://ftp.bom.gov.au/anon/home/adfd/spatial/, specifically the DBF file portion of a shapefile,
ftp://ftp.bom.gov.au/anon/home/adfd/spatial/IDM00003.dbf.

Author

Dean Marchiori, deanmarchiori@gmail.com, and Paul Melloy, paul@melloy.com.au

Examples

if (FALSE) { # interactive()

get_coastal_forecast(state = "NSW")
}