Workaround for computing NDVI stats on all census tracts #724
lauren-alexandra
started this conversation in
General
Replies: 2 comments
-
Great find! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It was taking hours while looping over the census tracts to process even a quarter of the data in my local repository. I switched to using the free Google Colab Jupyter Notebook service on a standard runtime (default). I calculated NDVI statistics for each tract in just 40 minutes.
For the setup, I copied over what I had in my repository notebook and included the following package installs at the top of the Colab notebook. To get the package versions, I ran
conda list
in my local conda environment.If you want to download the stats CSV to work with it locally, open the folder in the Files panel storing your file and download. Example file path: /root/Projects/earth-analytics/data/chicago-greenspace/chicago-ndvi-stats.csv
Beta Was this translation helpful? Give feedback.
All reactions