MazamaScience / MazamaSatelliteUtils

Satellite Data Download and Utility Functions
http://mazamascience.github.io/MazamaSatelliteUtils
GNU Lesser General Public License v3.0
0 stars 0 forks source link

think through what "nativeGrid" functions we need #63

Closed jonathancallahan closed 4 years ago

jonathancallahan commented 4 years ago

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.