This function returns a arrays (or list of arrays) of convolved footpritns with flux
Usage
obs_convolve(
foot_path = "AAA",
name_foot = "foot1",
flon = "foot1lon",
flat = "foot1lat",
time_foot,
flux = "CTCO2",
df_flux,
flux_format = "%Y%m%d.nc",
factor = 1e+09,
fn = NULL,
as_list = FALSE,
verbose = TRUE
)
Arguments
- foot_path
path for footprint (length 1).
- name_foot
name of the footprint variable in the NetCDF file.
- flon
name of lons
- flat
name of lats
- time_foot
Time of the footprints (in the name file) or third dimension
- flux
String, default NOAA "CTCO2". Implies bio, ocn, fossil, fire.
- df_flux
data.table with columns f (full path) and nf file name 'Ymd.nc'
- flux_format
string with date format 'Ymd.nc'
- factor
number to multiply fluxes.
- fn
string with function to aggregate convolved fluxes, e.g. `mean`, `sum`, `max`, etc.
- as_list
Logical, to return list of arrays
- verbose
Logical, to display more information