From 5c8bb13939e143e5ab886d8db84a74b2ca2e54ba Mon Sep 17 00:00:00 2001 From: Simon Ilyushchenko Date: Fri, 5 Jan 2024 14:30:17 -0800 Subject: [PATCH] Update the MODIS query in compare_nasa_ee.py now that xee is fixed in https://github.com/google/Xee/pull/120 PiperOrigin-RevId: 596084974 --- replicas/compare_nasa_ee.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/replicas/compare_nasa_ee.py b/replicas/compare_nasa_ee.py index c4ed5795a..e3de9eeb9 100644 --- a/replicas/compare_nasa_ee.py +++ b/replicas/compare_nasa_ee.py @@ -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)