process_geos {amadeus} | R Documentation |
Process atmospheric composition data
Description
The process_geos()
function imports and cleans raw atmospheric
composition data, returning a single SpatRaster
object.
Usage
process_geos(
date = c("2018-01-01", "2018-01-10"),
variable = NULL,
path = NULL,
extent = NULL,
...
)
Arguments
date |
character(1 or 2). Date (1) or start and end dates (2). Format YYYY-MM-DD (ex. September 1, 2023 = "2023-09-01"). |
variable |
character(1). GEOS-CF variable name(s). |
path |
character(1). Directory with downloaded netCDF (.nc4) files. |
extent |
numeric(4) or SpatExtent giving the extent of the raster
if |
... |
Placeholders. |
Value
a SpatRaster
object;
Note
Layer names of the returned SpatRaster
object contain the variable,
pressure level, date, and hour.
Author(s)
Mitchell Manware
Examples
## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
## amount of data which is not included in the package.
## Not run:
geos <- process_geos(
date = c("2024-01-01", "2024-01-10"),
variable = "O3",
path = "./data/aqc_tavg_1hr_g1440x721_v1"
)
## End(Not run)
[Package amadeus version 1.1.6 Index]