Learn R Programming

eixport (version 0.4.0)

to_brams_spm: Inputs for BRAMS-SPM

Description

Create inputs for BRAMS-SPM. The inputs consist of a data-frame or a list of data-frames with daily emissions (mol/day), lat, long. Also, including a functions describing the hourly profile.

Usage

to_brams_spm(sdf, epsg = 4326)

Arguments

sdf

Grid emissions, which can be a SpatialPolygonsDataFrame or polygon grid class sf' including the hourly emissions in mol/h for 24 hours. The object can also be a list of objects SpatialPolygonsDataFrame or Spatial Features polygon grid class 'sf'.

epsg

Coordinate reference system, e.g: "4326". Used to transform the coordinates of the output.

Value

data-frame of daily gridded emissions, lat, long and a message with function.

References

SPM BRAMS: FREITAS, E. MARTINS, L., SILVA, P. and ANDRADE, M. A simple photochemical module implemented in rams for tropospheric ozone concentration forecast in the metropolitan area of s<U+00E3>o paulo, brazil: Coupling and validation. Atmospheric Environment, Elsevier, n. 39, p. 6352<U+2013>6361, 2005.

Examples

Run this code
# NOT RUN {
data(gCO)
df1 <- to_brams_spm(sdf = gCO, epsg = 4326)
head(df1)
df2 <- to_brams_spm(sdf = list(co = gCO, pm = gCO), epsg = 4326)
lapply(df2, head)
# }

Run the code above in your browser using DataLab