Skip to content

Commit

Permalink
FIX: Fixing overview usage when there is a crs mismatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpu-creare committed May 12, 2021
1 parent 2c2a937 commit 3172a67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions podpac/core/data/datasource.py
Expand Up @@ -376,6 +376,7 @@ def _eval(self, coordinates, output=None, _selector=None):
data = self.create_output_array(rsc, data=data.data)
else:
crds = Coordinates.from_xarray(data, crs=data.attrs.get("crs", None))
data = self.create_output_array(crds.transform(rsc.crs), data=data.data)
output = data
else:
output.data[:] = data.data
Expand Down

0 comments on commit 3172a67

Please sign in to comment.