Average each covariate over the study area, per month and year
Source:R/covariates.R
covariate_monthly_means.RdCollapses the covariate grid to one value per (year, month, covariate) — the spatial mean across the study area. Summarizing during a run rather than returning the full grid keeps the result small: a multi-decade Copernicus fetch is millions of grid points, while its summary is a few hundred rows.
Arguments
- env_dat
covariate data from
fetch_covariates()- vars
covariate names to summarize;
NULLuses all of them