Skip to content

Commit

Permalink
correct sign of floatingBasalMassBal
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhoffman committed Jul 3, 2024
1 parent 1e12de1 commit c815154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions landice/mesh_tools_li/interpolate_mpasOcean_to_mali.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ def remap_mpas_to_mali(self):
f['mpas_cellCenterElev'] = mcce

if self.have_landIceFreshwaterFlux:
m = xr.DataArray(self.newLandIceFWFlux.astype('float64'),dims=('Time','nCells'))
f['floatingBasalMassBal'] = m
melt = xr.DataArray(self.newLandIceFWFlux.astype('float64'),dims=('Time','nCells'))
f['floatingBasalMassBal'] = -1.0 * melt

#delete unncessary variables with 'string1' dimension or will cause errors.
try:
Expand Down

0 comments on commit c815154

Please sign in to comment.