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

Cloud masking and scene selection for mosaic #12

Open
BaptisteVandecrux opened this issue Mar 3, 2021 · 1 comment
Open

Cloud masking and scene selection for mosaic #12

BaptisteVandecrux opened this issue Mar 3, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@BaptisteVandecrux
Copy link
Member

Since we are not removing cloudy pixel from the scenes any more, the selection of scenes stitched in the mosaic is now only based on the scenes’ SZA.
In the previous SICE version, cloudy pixels of a scene with low SZA were not used for mosaicking, and the algorithm looked for another scene, of higher SZA, but where cloud-free pixels would be available. This allowed to “rescue” some cloudy pixels using another scene of higher SZA. We could think about a way to keep this behaviour without replacing pixels by NaN.

@BaptisteVandecrux
Copy link
Member Author

Would it be about replacing "SZA" by "SZA_CM" in these lines:

SICE/dm.grass.sh

Lines 70 to 73 in b18b5de

# find the array index with the minimum SZA
# Array for indexing, list for using in GRASS
sza_arr=($(g.list -m type=raster pattern=SZA mapset=*))
sza_list=$(g.list -m type=raster pattern=SZA mapset=* separator=comma)

@AdrienWehrle AdrienWehrle added the enhancement New feature or request label Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants