Fetch BOM satellite GeoTIFF imagery from
ftp://ftp.bom.gov.au/anon/gen/gms/ and return a raster
SpatRaster
object of 'GeoTIFF' files. Files are
available at ten minutes update frequency with a 24 hour delete time.
It is suggested to check file availability first by using
get_available_imagery
.
Arguments
- product_id
Character. BOM product ID to download in 'GeoTIFF' format and import as a
SpatRaster
object. A vector of values fromget_available_imagery
may be used here. Value is required.- scans
Numeric. Number of scans to download, starting with most recent and progressing backwards, e.g., 1 - the most recent single scan available , 6 - the most recent hour available, 12 - the most recent 2 hours available, etc. Negating will return the oldest files first. Defaults to 1. Value is optional.
- cache
Logical. Store image files locally for later use? If
FALSE
, the downloaded files are removed when R session is closed. To take advantage of cached files in future sessions, usecache = TRUE
. Defaults toFALSE
. Value is optional.
Value
A SpatRaster
object of GeoTIFF images with layers named by
BOM Product ID, timestamp and band.
Details
Valid BOM satellite Product IDs for use with product_id include:
- IDE00420
AHI cloud cover only 2km FD GEOS GIS
- IDE00421
AHI IR (Ch13) greyscale 2km FD GEOS GIS
- IDE00422
AHI VIS (Ch3) greyscale 2km FD GEOS GIS
- IDE00423
AHI IR (Ch13) Zehr 2km FD GEOS GIS
- IDE00425
AHI VIS (true colour) / IR (Ch13 greyscale) composite 1km FD GEOS GIS
- IDE00426
AHI VIS (true colour) / IR (Ch13 greyscale) composite 2km FD GEOS GIS
- IDE00427
AHI WV (Ch8) 2km FD GEOS GIS
- IDE00430
AHI cloud cover only 2km AUS equirect. GIS
- IDE00431
AHI IR (Ch13) greyscale 2km AUS equirect. GIS
- IDE00432
AHI VIS (Ch3) greyscale 2km AUS equirect. GIS
- IDE00433
AHI IR (Ch13) Zehr 2km AUS equirect. GIS
- IDE00435
AHI VIS (true colour) / IR (Ch13 greyscale) composite 1km AUS equirect. GIS
- IDE00436
AHI VIS (true colour) / IR (Ch13 greyscale) composite 2km AUS equirect. GIS
- IDE00437
AHI WV (Ch8) 2km AUS equirect. GIS
- IDE00439
AHI VIS (Ch3) greyscale 0.5km AUS equirect. GIS
We cache using hoardr, find your cache folder by executing
manage_cache$cache_path_get
.
References
Australian Bureau of Meteorology (BOM) high-definition satellite images
http://www.bom.gov.au/australia/satellite/index.shtml
Author
Adam H. Sparks, [email protected]
Examples
# \donttest{
# Fetch AHI VIS (true colour) / IR (Ch13 greyscale) composite 1km FD
# GEOS GIS \code{SpatRaster} object for most recent single scan available
imagery <- get_satellite_imagery(product_id = "IDE00425", scans = 1)
# Get a list of available image files and use that to specify files for
# download, downloading the two most recent files available
avail <- get_available_imagery(product_id = "IDE00425")
#>
#> The following files are currently available for download:
#> [1] "IDE00425.202206010410.tif" "IDE00425.202206010420.tif"
#> [3] "IDE00425.202206010430.tif" "IDE00425.202206010440.tif"
#> [5] "IDE00425.202206010450.tif" "IDE00425.202206010500.tif"
#> [7] "IDE00425.202206010510.tif" "IDE00425.202206010520.tif"
#> [9] "IDE00425.202206010530.tif" "IDE00425.202206010540.tif"
#> [11] "IDE00425.202206010550.tif" "IDE00425.202206010600.tif"
#> [13] "IDE00425.202206010610.tif" "IDE00425.202206010620.tif"
#> [15] "IDE00425.202206010630.tif" "IDE00425.202206010640.tif"
#> [17] "IDE00425.202206010650.tif" "IDE00425.202206010700.tif"
#> [19] "IDE00425.202206010710.tif" "IDE00425.202206010720.tif"
#> [21] "IDE00425.202206010730.tif" "IDE00425.202206010740.tif"
#> [23] "IDE00425.202206010750.tif" "IDE00425.202206010800.tif"
#> [25] "IDE00425.202206010810.tif" "IDE00425.202206010820.tif"
#> [27] "IDE00425.202206010830.tif" "IDE00425.202206010840.tif"
#> [29] "IDE00425.202206010850.tif" "IDE00425.202206010900.tif"
#> [31] "IDE00425.202206010910.tif" "IDE00425.202206010920.tif"
#> [33] "IDE00425.202206010930.tif" "IDE00425.202206010940.tif"
#> [35] "IDE00425.202206010950.tif" "IDE00425.202206011000.tif"
#> [37] "IDE00425.202206011010.tif" "IDE00425.202206011020.tif"
#> [39] "IDE00425.202206011030.tif" "IDE00425.202206011040.tif"
#> [41] "IDE00425.202206011050.tif" "IDE00425.202206011100.tif"
#> [43] "IDE00425.202206011110.tif" "IDE00425.202206011120.tif"
#> [45] "IDE00425.202206011130.tif" "IDE00425.202206011140.tif"
#> [47] "IDE00425.202206011150.tif" "IDE00425.202206011200.tif"
#> [49] "IDE00425.202206011210.tif" "IDE00425.202206011220.tif"
#> [51] "IDE00425.202206011230.tif" "IDE00425.202206011240.tif"
#> [53] "IDE00425.202206011250.tif" "IDE00425.202206011300.tif"
#> [55] "IDE00425.202206011310.tif" "IDE00425.202206011320.tif"
#> [57] "IDE00425.202206011330.tif" "IDE00425.202206011340.tif"
#> [59] "IDE00425.202206011350.tif" "IDE00425.202206011400.tif"
#> [61] "IDE00425.202206011410.tif" "IDE00425.202206011420.tif"
#> [63] "IDE00425.202206011430.tif" "IDE00425.202206011450.tif"
#> [65] "IDE00425.202206011500.tif" "IDE00425.202206011510.tif"
#> [67] "IDE00425.202206011520.tif" "IDE00425.202206011530.tif"
#> [69] "IDE00425.202206011540.tif" "IDE00425.202206011550.tif"
#> [71] "IDE00425.202206011600.tif" "IDE00425.202206011610.tif"
#> [73] "IDE00425.202206011620.tif" "IDE00425.202206011630.tif"
#> [75] "IDE00425.202206011640.tif" "IDE00425.202206011650.tif"
#> [77] "IDE00425.202206011700.tif" "IDE00425.202206011710.tif"
#> [79] "IDE00425.202206011720.tif" "IDE00425.202206011730.tif"
#> [81] "IDE00425.202206011740.tif" "IDE00425.202206011750.tif"
#> [83] "IDE00425.202206011800.tif" "IDE00425.202206011810.tif"
#> [85] "IDE00425.202206011820.tif" "IDE00425.202206011830.tif"
#> [87] "IDE00425.202206011840.tif" "IDE00425.202206011850.tif"
#> [89] "IDE00425.202206011900.tif" "IDE00425.202206011910.tif"
#> [91] "IDE00425.202206011920.tif" "IDE00425.202206011930.tif"
#> [93] "IDE00425.202206011940.tif" "IDE00425.202206011950.tif"
#> [95] "IDE00425.202206012000.tif" "IDE00425.202206012010.tif"
#> [97] "IDE00425.202206012020.tif" "IDE00425.202206012030.tif"
#> [99] "IDE00425.202206012040.tif" "IDE00425.202206012050.tif"
#> [101] "IDE00425.202206012100.tif" "IDE00425.202206012110.tif"
#> [103] "IDE00425.202206012120.tif" "IDE00425.202206012130.tif"
#> [105] "IDE00425.202206012140.tif" "IDE00425.202206012150.tif"
#> [107] "IDE00425.202206012200.tif" "IDE00425.202206012210.tif"
#> [109] "IDE00425.202206012220.tif" "IDE00425.202206012230.tif"
#> [111] "IDE00425.202206012240.tif" "IDE00425.202206012250.tif"
#> [113] "IDE00425.202206012300.tif" "IDE00425.202206012310.tif"
#> [115] "IDE00425.202206012320.tif" "IDE00425.202206012330.tif"
#> [117] "IDE00425.202206012340.tif" "IDE00425.202206012350.tif"
#> [119] "IDE00425.202206020000.tif" "IDE00425.202206020010.tif"
#> [121] "IDE00425.202206020020.tif" "IDE00425.202206020030.tif"
#> [123] "IDE00425.202206020040.tif" "IDE00425.202206020050.tif"
#> [125] "IDE00425.202206020100.tif" "IDE00425.202206020110.tif"
#> [127] "IDE00425.202206020120.tif" "IDE00425.202206020130.tif"
#> [129] "IDE00425.202206020140.tif" "IDE00425.202206020150.tif"
#> [131] "IDE00425.202206020200.tif" "IDE00425.202206020210.tif"
#> [133] "IDE00425.202206020220.tif" "IDE00425.202206020230.tif"
#> [135] "IDE00425.202206020250.tif" "IDE00425.202206020300.tif"
#> [137] "IDE00425.202206020310.tif" "IDE00425.202206020320.tif"
#> [139] "IDE00425.202206020330.tif" "IDE00425.202206020340.tif"
#> [141] "IDE00425.202206020350.tif" "IDE00425.202206020400.tif"
#> [143] "IDE00425.202206020410.tif" "IDE00425.202206020420.tif"
#> [145] "IDE00425.202206020430.tif" "IDE00425.202206020440.tif"
#> [147] "IDE00425.202206020450.tif"
imagery <- get_satellite_imagery(product_id = avail, scans = 2)
# }