Skip to content

How to fix clipping data in vegetation notebook error. #68

Answered by nquarder
oye-bobs asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @oye-bobs - I was able to look at your notebook (https://github.com/cu-esiil-edu/shortcourse-02-vegetation-oye-bobs/blob/main/vegetation.ipynb) and it appears you have some variable names that are causing the issue.

Notice in the cell where we write the loop to extract the date from the file names and add it as a dimension. At the top of that cell we create an empty list called ndvi_das = []. We fill this empty list with the output from the loop. In your code you call this ndvi_da. You should change this to ndvi_das like we have in the solutions (https://cu-esiil-edu.github.io/esiil-learning-portal/shortcourse/notebooks/05-vegetation/vegetation.html).

Then, notice in the next cell down…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@oye-bobs
Comment options

oye-bobs Apr 29, 2024
Collaborator Author

Comment options

You must be logged in to vote
0 replies
Comment options

oye-bobs
May 2, 2024
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@oye-bobs
Comment options

oye-bobs May 3, 2024
Collaborator Author

Answer selected by oye-bobs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants