Skip to content

Commit

Permalink
Make BMI spacing a distance
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Aug 8, 2022
1 parent 5e8f566 commit 4d080a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bmi_topography/bmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,8 @@ def initialize(self, config_file: str) -> None:
0: BmiGridUniformRectilinear(
shape=self._da.rio.shape,
yx_spacing=(
self._da.rio.transform().e,
self._da.rio.transform().a,
abs(self._da.rio.transform().e),
abs(self._da.rio.transform().a),
),
yx_of_lower_left=(
float(self._da.y.min().data),
Expand Down

0 comments on commit 4d080a6

Please sign in to comment.