Skip to content

raster rework for next course #47

@stijnvanhoey

Description

@stijnvanhoey

@jorisvandenbossche , I think we should do some rework on the current state of the raster info in the repo. My proposal:

  • Remove 11-numpy.ipynb. Could be an option to integrate the convolution example at the end in an advanced exercise or use-case as it is a useful GIS element
  • Remove 12-rasterio.ipynb
  • Combine 10-introduction-raster.ipynb, 13-xarray.ipynb & 14-xarray-intro.ipynb to have a single introduction on rasters, but using xarray and rio-xarray directly. Focus on xarray based on analogy with geopandas instead of analogy/extension of numpy ('adds context to NumPy'). Start with single data source, i.e. DataArray; add write to file example/exercise

For clarity/consistency during the course: we handle bands/channels of a single data source as a DataArray dimension (RGB,..), we handle different kinds of data (temperature, salinity,...) as DataSets. We might make a remark in the end that switching is fine.

  • 15-xarray-datasets.ipynb -> rework towards DataSets containing different variables instead of the b4/b8 example; add write to file example/exercise

  • Combine 16-raster-processing.ipynb and 20-raster-vector-tools.ipynb into a single notebook on raster/vector tooling. Proposal of topics to cover: clip region (with/without buffer), conversion raster/vector, proximity (xarray-spatial ) and rasterstats; move "Cloud: only download what you need" to the 'big-data' notebook. I would add an addendum on 'calling external tools' like https://www.whiteboxgeo.com/, http://www.saga-gis.org/saga_tool_doc/2.2.7/a2z.html,...

  • 21-xarray-dask-big-data.ipynb: extend with the COG-info, mention also https://geemap.org/ (requires account of google earth engine)?

  • What to use for the zonal statistics -> what about https://github.com/corteva/geocube vs https://xarray-spatial.org/user_guide/zonal.html vs rasterstats package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions