Skip to content

Commit

Permalink
fixup thin film culling
Browse files Browse the repository at this point in the history
  • Loading branch information
cbegeman committed Oct 25, 2023
1 parent 0a0452f commit f38ec10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compass/ocean/tests/isomip_plus/geom.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def _get_geom_fields(ds_geom, ds_mesh, thin_film_present):
y_cell = ds_mesh.yIsomipCell.values

if thin_film_present:
ocean_fraction = - ds_geom['landFraction'] + 1.0
ocean_fraction = xarray.where(ds_geom['Z_bed'] > 0., 0., 1.)
else:
ocean_fraction = (ds_geom['landIceFloatingFraction'] +
ds_geom['openOceanFraction'])
Expand Down

0 comments on commit f38ec10

Please sign in to comment.