Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grass.jupyter: timeseries visualizations #2010

Merged
merged 57 commits into from
Apr 13, 2022

Conversation

chaedri
Copy link
Contributor

@chaedri chaedri commented Dec 9, 2021

TimeSeries class for grass.jupyter:

  • Interactive timeline slider
  • GIF animation
  • Tests

Binder Test Link:

https://mybinder.org/v2/gh/chaedri/grass/Jupyter-Timeseries?urlpath=lab%2Ftree%2Fdoc%2Fnotebooks%2Ftemporal.ipynb

@neteler neteler added the Python Related code is in Python label Dec 9, 2021
@neteler neteler added this to the 8.0.1 milestone Dec 9, 2021
Co-authored-by: Veronica Andreo <veroandreo@gmail.com>
@wenzeslaus wenzeslaus modified the milestones: 8.0.1, 8.2.0 Dec 10, 2021
@veroandreo
Copy link
Contributor

Looking cool so far :)

image

@ninsbl
Copy link
Member

ninsbl commented Jan 31, 2022

Really nice!

Tested in Binder.

It currently prints:
<function grass.jupyter.timeseries.TimeSeries.TimeSlider.<locals>.view_image(date)>
at the bottom of the last cell though...

@chaedri
Copy link
Contributor Author

chaedri commented Feb 1, 2022

Really nice!

Tested in Binder.

It currently prints: <function grass.jupyter.timeseries.TimeSeries.TimeSlider.<locals>.view_image(date)> at the bottom of the last cell though...

Thanks for checking it out! The printout at the bottom should be gone with the latest commit.

@chaedri chaedri marked this pull request as ready for review March 29, 2022 15:29
@chaedri chaedri requested a review from wenzeslaus March 30, 2022 18:10
@wenzeslaus wenzeslaus merged commit 2a508a1 into OSGeo:main Apr 13, 2022
@chaedri chaedri deleted the Jupyter-Timeseries branch April 14, 2022 20:40
@wenzeslaus wenzeslaus changed the title Jupyter: timeseries visualizations grass.jupyter: timeseries visualizations Apr 27, 2022
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
* 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.
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
* 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.
neteler pushed a commit to nilason/grass that referenced this pull request Nov 7, 2023
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Python Related code is in Python
Development

Successfully merging this pull request may close these issues.

6 participants