NASA-IMPACT / veda-docs

Documentation for the VEDA Project
https://nasa-impact.github.io/veda-docs
Apache License 2.0
7 stars 7 forks source link

Update gif generation notebook #163

Closed smohiudd closed 3 months ago

smohiudd commented 3 months ago

The gif-generation notebook has a number of errors and will require updating (tracked in https://github.com/NASA-IMPACT/veda-docs/issues/121).

This PR:

review-notebook-app[bot] commented 3 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

smohiudd commented 3 months ago

Getting an error importing selenium:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[48], line 3
      1 # for convenience we will wrap the API call from above into a method that will
      2 # save the contents of the image file into a file stored within the temp directory
----> 3 from gif_generation_dependencies.helper_functions import generate_frame
      5 # temporary directory to hold PNGs
      6 with tempfile.TemporaryDirectory() as tmpdirname:

File [~/veda-docs/notebooks/tutorials/gif_generation_dependencies/helper_functions.py:12](https://hub.openveda.cloud/user/smohiudd/lab/tree/veda-docs/notebooks/tutorials/veda-docs/notebooks/tutorials/gif_generation_dependencies/helper_functions.py#line=11)
      9 import rasterio
     10 import rasterio.features
---> 12 from selenium import webdriver
     13 from selenium.webdriver.chrome.service import Service as ChromeService
     14 from webdriver_manager.chrome import ChromeDriverManager

ModuleNotFoundError: No module named 'selenium'
github-actions[bot] commented 3 months ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://NASA-IMPACT.github.io/veda-docs/pr-preview/pr-163/ on branch gh-pages at 2024-08-19 19:11 UTC

jsignell commented 3 months ago

ref #121