ASFHyP3 / hyp3-gamma

HyP3 plugin for generating SAR products with GAMMA
BSD 3-Clause "New" or "Revised" License
28 stars 7 forks source link

Fill COP30 Coverage Gaps #494

Closed AndrewPlayer3 closed 9 months ago

AndrewPlayer3 commented 9 months ago

This PR points gamma to a new geojson file, which allows for COP90 to fill the COP30 coverage gaps over Azerbaijan and Armenia.

asjohnston-asf commented 9 months ago

New content of cop30-2021-with-cop90-us-west-2-mirror.geojson looks great, and I've confirmed the needed GLO-90 tiles have been copies to s3://asf-dem-west/.

I don't think we need to add cop30-filled-with-cop90.geojson to the repository since we're referencing the remote file at https://asf-dem-west.s3.amazonaws.com/v2/cop30-2021-with-cop90-us-west-2-mirror.geojson

I also think it's worth removing whitespace from cop30-2021-with-cop90-us-west-2-mirror.geojson in S3 to reduce the file size from ~14 MB to ~9 MB so remote gdal calls can load it faster:

>>> import json
>>> with open('cop30-2021-with-cop90-us-west-2-mirror.geojson') as f:
...     data = json.load(f)
... 
>>> with open('cop30-2021-with-cop90-us-west-2-mirror.geojson', 'w') as f:
...     json.dump(data, f, separators=(',', ':'))
...