Closed supermarkion closed 2 years ago
Hi, How are you.
In this PR:
grab_offset_dict
_sentinel2_fmask
gdal_edit
gdal_translate
This S2 fix have to run with Python-FMask 5.5.
Cheers
Sai
Hi, How are you.
In this PR:
grab_offset_dict
in metadata.py to extract offset values from zipped XML file (normally copy paste from [wagl] (https://github.com/GeoscienceAustralia/wagl/blob/develop/wagl/acquisition/__init__.py#L697) design)._sentinel2_fmask
moethod. Compare to pre 2021-Nov version. I added three steps in CLI:grab_offset_dict
method to grab offset_dict (band_id -> offset_value).gdal_edit
CLI to attach offset values to VRT metadatagdal_translate
CLI to apply offest values to VRTThis S2 fix have to run with Python-FMask 5.5.
Cheers
Sai