[GRASS-dev] grass.jupyter Mini Project: Week 2 Recap

Hello grass-dev and grass-users,

Here’s a quick update of what I worked on last week for my Mini Project on improving grass.jupyter. Per usual, you can find more details about the project and a copy of this report at [1].

  1. What did I accomplish this week?

I started on visualization functions for space time datasets (strds and stvds). I created a grass.jupyter class called TimeSeries that will eventually have two methods: TimeSlider() for creating an interactive time slider where users can scroll through the rendered maps and animate() for creating animations of the space time datasets. I have a draft version of the TimeSlider working - currently, users have to switch through the maps with a drop down menu instead of a slider (or scroll with arrow keys) . You can test it out on Binder at [2] and view the PR at [3].

  1. What do I plan to do next week?
  • Switch from a dropdown menu to a SelectionSlider for the TimeSlider visualization
  • Create more robust ways to add background and overlay layers to the TimeSlider
  • Start the TimeSeries.animate() function for animating space time datasets
  1. Am I blocked on anything?
  • No, I’m not currently blocked on anything.
    Feedback, thoughts and comments welcome!

Have a great week,
Caitlin

[1] https://trac.osgeo.org/grass/wiki/GSoC/2021/JupyterAndGRASS/MiniGrant2022
[2] https://mybinder.org/v2/gh/chaedri/grass/Jupyter-Timeseries?urlpath=lab%2Ftree%2Fdoc%2Fnotebooks%2FTemporal.ipynb
[3] https://github.com/OSGeo/grass/pull/2010