You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In code block 6 # Creating and applying the mask to the images. mask = tempImage10 == 0 tempImage10[mask] = np.nan tempImage11[mask] = np.nan
Should the mask be set twice? # Creating and applying the mask to the images. mask = tempImage10 == 0 tempImage10[mask] = np.nan mask = tempImage11 == 0 tempImage11[mask] = np.nan
The text was updated successfully, but these errors were encountered:
Because, in this case, I was trying to mask out pixels with zero values and my assumption was that they could be the same for both bands 10 and 11. Indeed, they might not be the same.
Thanks for picking that up. I should update that part in the next release.
Thank you for this repo! It looks really good.
I was able to replicated:
https://github.com/pylandtemp/pylandtemp/blob/master/tutorials/Tutorial_1-%20load_landsat8_image_from_amazon_and_google_cloud.ipynb
In code block 6
# Creating and applying the mask to the images. mask = tempImage10 == 0 tempImage10[mask] = np.nan tempImage11[mask] = np.nan
Should the mask be set twice?
# Creating and applying the mask to the images. mask = tempImage10 == 0 tempImage10[mask] = np.nan mask = tempImage11 == 0 tempImage11[mask] = np.nan
The text was updated successfully, but these errors were encountered: