[GRASS-git] [OSGeo/grass] 2a508a: grass.jupyter: Add timeseries visualization (#2010)
Caitlin Haedrich
noreply at github.com
Wed Apr 13 06:38:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 2a508a1b0beb088dea2fd59befb02dedf84fdc95
https://github.com/OSGeo/grass/commit/2a508a1b0beb088dea2fd59befb02dedf84fdc95
Author: Caitlin Haedrich <69856275+chaedri at users.noreply.github.com>
Date: 2022-04-13 (Wed, 13 Apr 2022)
Changed paths:
A doc/notebooks/temporal.ipynb
M python/grass/jupyter/Makefile
M python/grass/jupyter/__init__.py
M python/grass/jupyter/display.py
M python/grass/jupyter/region.py
M python/grass/jupyter/tests/conftest.py
A python/grass/jupyter/tests/timeseries_test.py
A python/grass/jupyter/timeseries.py
Log Message:
-----------
grass.jupyter: Add timeseries visualization (#2010)
* Adds notebook which downloads extra temporal data for the examples.
* strds and stvds are supported.
* Only default style for display is supported (not a big issue for rasters).
* Gaps in datasets by default are empty but with all base layers and overlays.
* Gaps can be optionally filled with data from previous timestamp.
* Renders all images to temp directory managed by Python object.
* Cleanup using weakref finalize to avoid warning from Python library where weakref finalize is used, but only as a fallback.
* Interactive display is using slider widget.
* Animation is available as GIF.
* Rendering called internally and result is cashed and cache invalidated if needed.
* Base layer and overlay handling is done through a proxy object which allows usage of display commands.
* Legend and background color are handled separately.
* t.rast.list and t.vect.list results are parsed from plain text output (to be replaced by JSON).
* Tests use pytest.
More information about the grass-commit
mailing list