Skip to content

Commit

Permalink
another attempts to isolate projection issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kcartier-wri committed Sep 3, 2024
1 parent 34759aa commit 6aab4c2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions city_metrix/layers/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ def get_image_collection(
engine='ee',
scale=scale,
geometry=ee.Geometry.Rectangle(*bbox),
chunks={'X': 512, 'Y': 512},
)

ds = xr.open_dataset(
Expand All @@ -305,10 +304,10 @@ def get_image_collection(
print('CRS: %s' % (crs_orig))
print('CRS: %s' % (crs_modified))

x_val_orig = ds_orig.coords['lon'].values.min()
x_val_modified = ds.coords['X'].values.min()
print('Org_x: %s' % (x_val_orig))
print('Modified_x: %s' % (x_val_modified))
# x_val_orig = ds_orig.coords['lon'].values.min()
# x_val_modified = ds.coords['X'].values.min()
# print('Org_x: %s' % (x_val_orig))
# print('Modified_x: %s' % (x_val_modified))



Expand Down

0 comments on commit 6aab4c2

Please sign in to comment.