ACCESS-Cloud-Based-InSAR / dem-stitcher

Download and merge DEM tiles
Apache License 2.0
43 stars 15 forks source link

Anti-meridian #47

Closed cmarshak closed 1 year ago

cmarshak commented 1 year ago

The bug

At the antimeridian line, there is no "unwrapping" of the tiles and therefore only longitudes -180 to 180 are included.

To Reproduce

bounds = [-180.25, 51.25, -179.75, 51.75]
X, p = stitch_dem(bounds,
                               dem_name='glo_30')

Additional context

The above should yield the same as

bounds = [179.75, 51.25, 180.25, 51.75]
X, p = stitch_dem(bounds,
                               dem_name='glo_30')