Changes between Version 8 and Version 9 of GSoC/2021/JupyterAndGRASS/MiniGrant2022
- Timestamp:
- 02/01/22 13:35:39 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GSoC/2021/JupyterAndGRASS/MiniGrant2022
v8 v9 70 70 }}} 71 71 {{{#!td 72 73 }}} 74 {{{#!td 75 72 Draft of time_slider and animate 73 }}} 74 {{{#!td 75 Ok 76 76 }}} 77 77 |----------------------- … … 138 138 Here's a quick update of what I worked on last week for my Mini Project on improving grass.jupyter. 139 139 140 1) What did I accomplish this week? 140 **1) What did I accomplish this week?** 141 141 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 [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]. 142 142 143 2) What do I plan to do next week? 143 **2) What do I plan to do next week?** 144 144 * Switch from a dropdown menu to a !SelectionSlider for the `TimeSlider` visualization 145 145 * Create more robust ways to add background and overlay layers to the `TimeSlider` 146 146 * Start the `TimeSeries.animate()` function for animating space time datasets 147 147 148 3) Am I blocked on anything? 148 **3) Am I blocked on anything?** 149 149 No, I'm not currently blocked on anything. 150 150 … … 152 152 153 153 == Week 3 == 154 Here'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?** 167 No, I'm not currently blocked on anything. 168 169 Feedback, thoughts and comments welcome! 154 170 155 171