get_satellite_imagery {weatherOz} | R Documentation |
Fetch BOM satellite GeoTIFF imagery from
ftp://ftp.bom.gov.au/anon/gen/gms/ and return a terra
SpatRaster
S4 class (see [terra::rast()]
) or stars S3 stars
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()
. Ported from
bomrang with modifications.
get_satellite_imagery(product_id, scans = 1, compat = "terra")
product_id |
|
scans |
|
compat |
|
Valid BOM satellite Product IDs for use with product_id include:
AHI cloud cover only 2km FD GEOS GIS
AHI IR (Ch13) greyscale 2km FD GEOS GIS
AHI VIS (Ch3) greyscale 2km FD GEOS GIS
AHI IR (Ch13) Zehr 2km FD GEOS GIS
AHI VIS (true colour) / IR (Ch13 greyscale) composite 1km FD GEOS GIS
AHI VIS (true colour) / IR (Ch13 greyscale) composite 2km FD GEOS GIS
AHI WV (Ch8) 2km FD GEOS GIS
AHI cloud cover only 2km AUS equirect. GIS
AHI IR (Ch13) greyscale 2km AUS equirect. GIS
AHI VIS (Ch3) greyscale 2km AUS equirect. GIS
AHI IR (Ch13) Zehr 2km AUS equirect. GIS
AHI VIS (true colour) / IR (Ch13 greyscale) composite 1km AUS equirect. GIS
AHI VIS (true colour) / IR (Ch13 greyscale) composite 2km AUS equirect. GIS
AHI WV (Ch8) 2km AUS equirect. GIS
AHI VIS (Ch3) greyscale 0.5km AUS equirect. GIS
A terra SpatRaster
S4 class (see [terra::rast()]
) or
stars S3 stars
class object as selected by the user by
specifying compat
of GeoTIFF images with layers named by BOM
product ID, timestamp and band.
The original bomrang version of this function supported local file caching using hoardr. This version does not support this functionality any longer due to issues with CRAN and hoardr.
Adam H. Sparks, adamhsparks@gmail.com
Australian Bureau of Meteorology (BOM) high-definition satellite
images
http://www.bom.gov.au/australia/satellite/index.shtml.
Other BOM:
find_forecast_towns()
,
get_ag_bulletin()
,
get_available_imagery()
,
get_available_radar()
,
get_coastal_forecast()
,
get_precis_forecast()
,
get_radar_imagery()
,
parse_ag_bulletin()
,
parse_coastal_forecast()
,
parse_precis_forecast()
Other data fetching:
get_ag_bulletin()
,
get_coastal_forecast()
,
get_data_drill()
,
get_data_drill_apsim()
,
get_dpird_apsim()
,
get_dpird_extremes()
,
get_dpird_minute()
,
get_dpird_summaries()
,
get_patched_point()
,
get_patched_point_apsim()
,
get_precis_forecast()
,
get_radar_imagery()
# Fetch AHI VIS (true colour) / IR (Ch13 greyscale) composite 1km FD
# GEOS GIS {terra} `SpatRaster`` object for most recent single scan
available
imagery <- get_satellite_imagery(product_id = "IDE00425", scans = 1)
plot(imagery)
# 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")
imagery <- get_satellite_imagery(product_id = avail, scans = 2)
plot(imagery)