Skip to content

Commit

Permalink
Update the MODIS query in compare_nasa_ee.py now that xee is fixed in g…
Browse files Browse the repository at this point in the history
…oogle/Xee#120

PiperOrigin-RevId: 596084974
  • Loading branch information
simonff authored and copybara-github committed Jan 5, 2024
1 parent f8c6f0a commit 5c8bb13
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions replicas/compare_nasa_ee.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,7 @@ def compare(
if ee_scale:
kwargs['scale'] = ee_scale
if collection_id == 'MODIS/061/MCD43A4':
# This should work, but doesn't. See
# https://github.com/google/Xee/issues/112
kwargs['geometry'] = ee.Geometry.Rectangle(
[4447800, -2223901, 4448801, -2222900],
ee.Projection(SIN),
False,
True,
)

kwargs['geometry'] = ee.Geometry.Point(4447800, -2223901)
kwargs['crs'] = SIN
kwargs['projection'] = ee.Projection(SIN)

Expand Down

0 comments on commit 5c8bb13

Please sign in to comment.