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

Moved Tcorr water masking code to a dedicated function #70

Merged
merged 5 commits into from
Oct 29, 2024

Conversation

cgmorton
Copy link
Member

@cgmorton cgmorton commented Jul 24, 2024

Changed naming of the mask and function to be "not_water", with mask values of 1 indicating pixels that are not-water (or land) and pixels values of 0 indicating water. This was done so that the masks could be passed directly to the .updateMask() calls in the Tcorr FANO calculation, since updateMask() will keep pixel values of 1 and set pixels of 0 to nodata, and the purpose for these masks is to according to Gabe "get water out of the Tcorr FANO calculation".

@cgmorton
Copy link
Member Author

@gabe-parrish Can I go ahead and merge this into main? The code is functionally the same with this change and I'm not seeing any differences in the test images that I have generated so far.

@gabe-parrish gabe-parrish merged commit 8fa2b21 into main Oct 29, 2024
1 check passed
@gabe-parrish
Copy link
Collaborator

@cgmorton, if we revert, for any reason, will the old branch be 'resuscitated' for lack of a better word?

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

Successfully merging this pull request may close these issues.

2 participants