Skip to content

Commit

Permalink
FIX: Avoid naming conflict with rasterio node.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpu-creare committed Oct 7, 2021
1 parent fb25635 commit 75670f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions podpac/core/data/datasource.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def udims(self):
return self.coordinates.udims

@property
def crs(self):
def _crs(self):
""" datasource crs. """
return self.coordinates.crs

Expand Down Expand Up @@ -339,8 +339,8 @@ def eval(self, coordinates, **kwargs):
coordinates = coordinates.drop(extra)

# transform coordinates into native crs if different
if coordinates.crs.lower() != self.crs.lower():
coordinates = coordinates.transform(self.crs)
if coordinates.crs.lower() != self._crs.lower():
coordinates = coordinates.transform(self._crs)

# note: super().eval (not self._eval)
output = super().eval(coordinates, **kwargs)
Expand Down

0 comments on commit 75670f6

Please sign in to comment.