Open PeterDSteinberg opened 7 years ago
Possibly useful reference: https://pubs.er.usgs.gov/publication/sir20165141
Also, the data used by the Puget Sound Lidar datashader example mentioned by Peter is here: https://github.com/bokeh/datashader/blob/master/examples/datasets.yml#L52
Use the xarray_filters/notebooks as a basis.
It would be interesting to combine LANDSAT with lidar or DEM elevation feature engineering. See LANDSAT notebooks in datashader and the S3 LANDSAT downloader in earthio
The laplace filter mentioned above as an example relates to the Phase II milestone on zonal statistics and spatial filters.
See numba/examples/kernel_density_estimation.py and other examples in that examples directory for ideas on numba spatial filters. Also, xarray_filters.polygon_tools is a point-in-polygon function from Phase based on numba
.
I changed the milestone of this issue for the Zonal Statistics, Filters, and Change Detection (from Promotion / Validation). Making the notebooks will help identify tests / use cases for the zonal stats milestone. See also #188 on how notebooks relate to documentation / auto-testing of code examples.
Another use case for modeling with such DEM/Lidar/LANDSAT input data is natural disaster mapping e.g. fire/flood - https://github.com/ContinuumIO/elm/issues/190.
One use case for machine learning in river / estuary 2D or 3D flow and/or sediment transport models is automated derivation of mesh density specifications for inputs into mesh generators. The mesh generators take polygons that specify higher density at changes in slope, e.g. road prisms or levees, and lower density in simple / flat topography.
TODO:
from scipy.ndimage.filters import laplace
np.gradient