The local_jon/createNativeGrid-example.R demonstrates the powerful tools we have available to us if we keep the data in it's native grid rather than using as.numeric to unravel the grid.
Unraveling is useful because we can then put lat, lon, AOD and DQF into a tibble for conversion into spatialpoints.
But the native grid is nice, too! Especially for stacking up multiple time steps and applying functions along the time axis without first having to rasterize.
The task in this issue is to prototype some functions for subsetting, plotting, averaging, etc. on the native grid to get a sense for what is useful and will make writing higher level functions concise and readable.
The
local_jon/createNativeGrid-example.R
demonstrates the powerful tools we have available to us if we keep the data in it's native grid rather than usingas.numeric
to unravel the grid.Unraveling is useful because we can then put lat, lon, AOD and DQF into a tibble for conversion into spatialpoints.
But the native grid is nice, too! Especially for stacking up multiple time steps and applying functions along the time axis without first having to rasterize.
The task in this issue is to prototype some functions for subsetting, plotting, averaging, etc. on the native grid to get a sense for what is useful and will make writing higher level functions concise and readable.