i.sentinel: easier computing shadows#137
Conversation
Co-Authored-By: Markus Neteler <[email protected]>
Co-Authored-By: Markus Neteler <[email protected]>
Co-Authored-By: Markus Neteler <[email protected]>
|
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
|
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 <[email protected]>
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.