Changes between Version 8 and Version 9 of GSoC/2021/JupyterAndGRASS/MiniGrant2022


Ignore:
Timestamp:
02/01/22 13:35:39 (3 years ago)
Author:
chaedri
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSoC/2021/JupyterAndGRASS/MiniGrant2022

    v8 v9  
    7070}}}
    7171{{{#!td
    72 
    73 }}}
    74 {{{#!td
    75 
     72Draft of time_slider and animate
     73}}}
     74{{{#!td
     75Ok
    7676}}}
    7777|-----------------------
     
    138138Here's a quick update of what I worked on last week for my Mini Project on improving grass.jupyter.
    139139
    140 1) What did I accomplish this week?
     140**1) What did I accomplish this week?**
    141141I 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 [https://mybinder.org/v2/gh/chaedri/grass/Jupyter-Timeseries?urlpath=lab%2Ftree%2Fdoc%2Fnotebooks%2FTemporal.ipynb  here] and view the PR [https://github.com/OSGeo/grass/pull/2010 on GitHub].
    142142
    143 2) What do I plan to do next week?
     143**2) What do I plan to do next week?**
    144144* Switch from a dropdown menu to a !SelectionSlider for the `TimeSlider` visualization
    145145* Create more robust ways to add background and overlay layers to the `TimeSlider`
    146146* Start the `TimeSeries.animate()` function for animating space time datasets
    147147
    148 3) Am I blocked on anything?
     148**3) Am I blocked on anything?**
    149149No, I'm not currently blocked on anything.
    150150
     
    152152
    153153== Week 3 ==
     154Here's a quick update on my Mini Project for improving grass.jupyter.
     155
     156**1) What did I accomplish this week?**
     157* Switched from a Dropdown menu to a SelectionSlider for the time_slider visualization. I found a bug in ipywidgets which slowed me down a bit this week. I ended up [opening an issue on GitHub](https://github.com/jupyter-widgets/ipywidgets/issues/3363) and it was quickly addressed (go ipywidgets!).
     158* Wrote TimeSeries.animate() function for animating space time datasets You can [test it out on Binder](https://mybinder.org/v2/gh/chaedri/grass/Jupyter-Timeseries?urlpath=lab%2Ftree%2Fdoc%2Fnotebooks%2FTemporal.ipynb) and [view the PR](https://github.com/OSGeo/grass/pull/2010).
     159
     160
     161**2) What do I plan to do next week?**
     162* Cleanup and write nice docstrings for TimeSeries visualizations
     163* The current visualizations are not great for multitemporal datasets (i.e. datasets with varying time steps), since the steps in the animation and time slider are all regularly spaced. Next week, I'll work on a way to address this.
     164* Maybe start working on GRASS-folium integration for interactive mapping
     165
     166**3) Am I blocked on anything?**
     167No, I'm not currently blocked on anything.
     168
     169Feedback, thoughts and comments welcome!
    154170
    155171