NIEHS / chopin

Scalable GIS methods for environmental and climate data analysis
https://niehs.github.io/chopin/
Other
6 stars 2 forks source link

Support for other classes for spatial data + lower level access #86

Closed sigmafelix closed 3 days ago

sigmafelix commented 1 week ago
sigmafelix commented 3 days ago

https://github.com/NIEHS/chopin/blob/f855f2ac59006812740a61b53097744fa3d036e6/R/scale_process.R#L582-L621

This function can map generic functions' arguments that are not x or y, which are standard argument names for using par_* functions, into x or y. Users will take advantage of this function to parallelize workflows using spatial data analysis packages based on sf or terra objects.

Along with S4 method expansion with proper signatures, maintainers / contributors can easily expand chopin functions to be compatible with new spatial data classes in the future.