Skip to content

Commit

Permalink
Fix blending of ocean fraction
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Jan 15, 2025
1 parent 791aa4b commit adfecb5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,9 @@ def _combine_topo(self):
(1.0 - alpha) * ds_bedmachine.bed_elevation)

alpha = ds_out.maliFrac
# NOTE: MALI's ocean fraction is already scaled by the MALI fraction
ds_out['oceanFracObserved'] = (
alpha * ds_mali.oceanFrac +
ds_mali.oceanFrac +
(1.0 - alpha) * ds_bedmachine.oceanFracObserved)

ds_out['ssh'] = ds_out.landIceDraftObserved
Expand Down

0 comments on commit adfecb5

Please sign in to comment.