Skip to content

Commit

Permalink
Add fl_id to call (#1738)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion authored Aug 24, 2024
1 parent e24c5eb commit 1501e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oggm/core/sia2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def get_mb(self, year=None):
if self._mb_current_date != date or (self._mb_current_out is None):
# We need to reset all
self._mb_current_date = date
_mb = self._mb_call(self.surface_h.flatten(), year=year)
_mb = self._mb_call(self.surface_h.flatten(), year=year, fl_id=0)
_mb = _mb.reshape((self.ny, self.nx))
if self.mb_filter is not None:
_mb[~ self.mb_filter & (_mb > 0)] = 0
Expand Down

0 comments on commit 1501e4e

Please sign in to comment.