geo-smart / scm_geosmart_use_case

ML for Snow Cover Mapping: A GeoSMART Use Case Book
https://geo-smart.github.io/scm_geosmart_use_case/
MIT License
3 stars 5 forks source link

Missing `Three.ipynb` .tif file? #2

Open rsignell opened 9 months ago

rsignell commented 9 months ago

Cell [1] of notebook three.ipynb references the tif file: ./data/planet/20180528_181110_1025_3B_AnalyticMS_SR_clip.tif which doesn't exist in the repo ./data dir.

There is a similar looking file ./book/chapters/data/SCA/20180528_181110_1025_3B_AnalyticMS_SR_clip_SCA.tif but when I tried that .tif in the notebook instead, I got the error:

IndexError                                Traceback (most recent call last)
Cell In[5], line 13
     10 im1 = axs[0,0].imshow(planet[0,:,:],cmap='jet')
     11 axs[0,0].set_title("Surface reflectance of blue band", fontsize=16)
---> 13 im2 = axs[0,1].imshow(planet[1,:,:], cmap='jet')
     14 axs[0,1].set_title("Surface reflectance of green band", fontsize=16)
     16 im3 = axs[1,0].imshow(planet[2,:,:], cmap='jet')

IndexError: index 1 is out of bounds for axis 0 with size 1
### Tasks
- [ ] https://github.com/geo-smart/scm_geosmart_use_case/issues/3
NCristea commented 8 months ago

Thanks, Rich. We are moving this into a Python package and currently testing the code. We will update this repo soon.