-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix computation of barotropic streamfunction
This merge includes several fixes: * Most important, the computation of the BSF only includes one constraint on the mean BSF at boundary vertices above 45 deg. S. Previously, the computation attempted to make the BSF zero on all boundary vertices, which is not correct since the value on isolated boundaries (e.g. the coast of South America vs. Antarctica) should differ by the transport between them. * The full velocity (including bolus and submesoscale components) is used instead of just the resolved. * The mask for transport has been fixed to correctly identify the deepest level on an edge. The colormap has been changed (to blue-orange-div) to indicate a clear break with the incorrect BSF plots before this fix and to slightly improve the contrast at high absolute values of the BSF. The code has been linted to follow PEP8 conventions
- Loading branch information
Showing
2 changed files
with
106 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters