Skip to content

Commit

Permalink
Fix typo in cell_area dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
coroa committed Mar 12, 2024
1 parent e7f7165 commit f51a06c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ptolemy/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ class IndexRaster:
@cached_property
def cell_area(self):
return xr.DataArray.from_series(cell_area_from_file(self.indicator)).astype(
dtype=self.boundary, copy=False
dtype=self.boundary.dtype, copy=False
)

@property
Expand Down

0 comments on commit f51a06c

Please sign in to comment.