Closed mbauer288 closed 1 year ago
This is great. Yes. plenty of notebooks out of date.
Dask[distributed], sqlalchemy, and rasterio actually have become hard (non-optional) dependencies of starepandas. We shall add them to the setup.cfg. I'd guess jupyter (related) things remain optional to execute the examples for now.
I will make an effort to have all notebooks being invoked when we call pytest which shall force us to fix all the notebooks. At this point, arguably jupyter will become a hard dependency as well. We need this for pystare as well. I will open a separate issue for this
I fixed all notebooks and the STAREPandas dependencies. I also added the notebooks as tests through nbmake. They are run as GH actions, so we will always know when we break the API of our examples. One can also run them locally with:
pytest --nbmake --nbmake examples/*.ipynb
I found a couple of probably out-of-date API examples/tests (search for ## NEEDS FIX?), but otherwise everything seems to work.
OS : Ubuntu 22.04 LTS Codename : jammy Kernel : 5.15.0-41-generic Architecture: x86_64
CPU : Intel i7-9700K @ 3.60GHz x 8 cores GPU : NVIDIA GeForce RTX 2080 SUPER RAM : 32 GB DDR4-2666 MHz (2 x 16 GB) HD: : 2.5 TB
Step 1: Install STAREPandas (https://github.com/SpatioTemporal/STAREPandas)