-
Notifications
You must be signed in to change notification settings - Fork 147
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
i.sentinel: easier computing shadows #137
i.sentinel: easier computing shadows #137
Conversation
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
FYI: I do have a (not yet committed) raster based computation of cloud shadows (derived from this module) that can speedup the process significantly, esp. for higher cloud coverage with many cloud areas... |
@AnikaBettge please let me know when you think it is ready for merge, |
@neteler I think it is now ready for merge |
grass7/imagery/i.sentinel/i.sentinel.import/i.sentinel.import.py
Outdated
Show resolved
Hide resolved
Message cosmetics
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improvement!
This is a great improvement and I know this is merged already, but how are we supposed to easily know the name of the json dump to use it as input for |
* add metadata json dump file for shadow computing * Update grass7/imagery/i.sentinel/i.sentinel.mask/i.sentinel.mask.py * write same number of files -j and metadata * change standard json folder to cell_misc/RASTERNAME Co-authored-by: Markus Neteler <neteler@gmail.com>
i.sentinel.mask needs the MTD_TL.xml file. The used information are also written by i.sentinel.import with r.support in the metadata of the bands.
Since, the metadata cannot be parsed properly due to wrong line breaks, you can now create a json dump metadata file by i.sentinel.import and use it in i.sentinel.mask.