goesaodc_createSingleScanSpdf: Create an SPDF from a single GOES AOD scan

Description Usage Arguments Examples

View source: R/goesaodc_createScanSpdf.R

Description

Creates a SpatialPointsDataFrame of AOD readings from a GOES scan file.

Usage

1
goesaodc_createSingleScanSpdf(filename = NULL, bbox = bbox_CONUS, dqfLevel = 3)

Arguments

filename

Name of the scan file.

bbox

Bounding box for the region of interest. Defaults to CONUS.

dqfLevel

Allowed data quality level. All readings with a DQF value above this level will have their AOD values set to NA. Must be either 0, 1, 2, or 3, with 0 being the highest quality. Defaults to 3.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
library(MazamaSatelliteUtils)
setSatelliteDataDir("~/Data/Satellite")

bboxOregon <- c(-125, -116, 42, 47)

scanFile <- goesaodc_listScanFiles(
  satID = "G17",
  datetime = "2020-09-08 12:30",
  timezone = "America/Los_Angeles"
)

MazamaSatelliteUtils:::goesaodc_createSingleScanSpdf(
  filename = scanFile,
  bbox = bboxOregon
)

MazamaScience/MazamaSatelliteUtils documentation built on Dec. 17, 2021, 3:20 a.m.