Description Usage Arguments Value Examples
View source: R/goesaodc_calcAverageScanSpdf.R
Creates a SpatialPointsDataFrame
of averaged AOD
readings from a list
of GOES scan SpatialPointsDataFrame
s.
1 | goesaodc_calcAverageScanSpdf(spdfList = NULL, na.rm = FALSE)
|
spdfList |
|
na.rm |
Logical flag determining whether to remove NA values before
calculating the average. Defaults to |
SpatialPointsDataFrame
that is the average of all the
SpatialPointsDataFrames
in a list
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | library(MazamaSatelliteUtils)
setSatelliteDataDir("~/Data/Satellite")
bboxOregon <- c(-125, -116, 42, 47)
scanFiles <- goesaodc_listScanFiles(
satID = "G17",
datetime = "2020-09-08 12:00",
endtime = "2020-09-08 13:00",
timezone = "America/Los_Angeles"
)
spdfList <- goesaodc_createScanSpdf(
filename = scanFiles,
bbox = bboxOregon
)
goesaodc_calcAverageScanSpdf(
spdfList = spdfList,
na.rm = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.