Skip to content

Commit

Permalink
Correct basal heat flux sign convention
Browse files Browse the repository at this point in the history
Co-authored-by: Trevor Hillebrand <[email protected]>
  • Loading branch information
matthewhoffman and trhille committed Feb 28, 2024
1 parent 8270f19 commit b8649fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compass/landice/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ def preprocess_ais_data(self, source_gridded_dataset,
data.variables['vErr'][:] = np.sqrt(data.variables['ex'][:]**2 +
data.variables['ey'][:]**2)

data.variables['bheatflx'][:] *= -1.e-3 # correct units and sign
data.variables['bheatflx'][:] *= 1.e-3 # correct units
data.variables['bheatflx'].units = 'W m-2'

data.variables['subm'][:] *= -1.0 # correct basal melting sign
Expand Down

0 comments on commit b8649fa

Please sign in to comment.