-
Notifications
You must be signed in to change notification settings - Fork 9
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
Deal with no pixels for MSS to TM regression #8
Comments
Just a quick note that I ran through this code with another WRS1 scene (since I have 4 WRS1 scenes to cover) and got the same error (even same image being referenced). I will try the other two WRS1 scenes and see if that remains the case. |
Hi Mitchell -- thanks for testing the code! Given the amount of cloud cover in the image, my guess is that no pixels are being found for developing the relationship between the TM and MSS image after cloud/shadow masking. Let me look into only including images with < given-amount-of cloud-cover for developing the relationship. Note that this project is low on my priorities right now, so it may take some time if the fix ends up being gnarly. |
@ZZMitch I added a possible workaround to the module. Add any images that throw this error to the list of images to exclude in the run file. You'll need to do a little detective work to get the Landsat ID based on the image info provided in the error message. Here is your script with the image ID added to the |
@jdbcode I ran the updated code with the extra exclusion and both tasks completed! I will continue the steps and report any other issues if I find them. |
@ZZMitch Glad to hear the work around worked! |
Hey,
I am testing LandsatLinkr out for my study area and got an error when completing step 5. The two tasks (medianOffset and mss2TMCoefCol) fail with this error: Error: Error in map(ID=2_2_LM05_017030_19860815): Array: Parameter 'values' is required.
I am not sure if it is helpful but here is my script: https://code.earthengine.google.com/5c7a9d116d2f8af50d421525c1ad1ddd?noload=true
I also went and checked out the image referenced in the error and attached a jpg of it.
Thanks for building this great tool into GEE, I am excited to use it for some of my projects.

The text was updated successfully, but these errors were encountered: