and return a list("magick") image object. Files available are the most recent radar snapshot which are updated approximately every 6 to 10 minutes. It is suggested to check file availability first by using get_available_radar().
product_id: Character. BOM product ID to download and import. Value is required.
path: Character. A character string with the name where the downloaded file is saved. If not provided, the default value NULL is used which saves the file in an session temp directory.
download_only: Boolean. Whether the radar image is loaded into the environment as a list("magick") object or just downloaded. Defaults to FALSE
Returns
A list("magick") object of the most recent radar image snapshot published by the BOM . If download_only = TRUE there will be a NULL return value with the download path printed in the console as a message.
Details
Valid BOM Radar Product IDs for radar imagery can be obtained from get_available_radar().
Examples
# Fetch most recent radar image for Wollongong 256km radarimagery <- get_radar_imagery(product_id ="IDR032")imagery
References
Australian Bureau of Meteorology (BOM ) radar images