Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Three.ipynb .tif file? #2

Open
1 task
rsignell opened this issue Mar 7, 2024 · 1 comment
Open
1 task

Missing Three.ipynb .tif file? #2

rsignell opened this issue Mar 7, 2024 · 1 comment

Comments

@rsignell
Copy link

rsignell commented Mar 7, 2024

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

Preview Give feedback
@NCristea
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants