opera-adt / DSWX-SAR

Dynamic Surface Water Extent from Synthetic Aperture Radar
Apache License 2.0
10 stars 6 forks source link

save product into MGRS tiles using database #14

Closed oberonia78 closed 1 year ago

oberonia78 commented 1 year ago

This PR modified the save_mgrs_tiles.py to use the MGRS and MGRS tile collection databases. The previous version uses the python package 'mgrs' to identify the MGRS tiles intersecting the input mosaic image. However, the bugs were found that package 'mgrs' has unnecessary MGRS tiles, and the extents computed from package 'mgrs' does not correspond to DSWx-HLS. To resolve the problems, the databases are added to the workflow.