Skip to content

Added option to turn off baroclinic OBC time filtering#995

Merged
adcroft merged 3 commits intomom-ocean:dev/gfdlfrom
ESMG:dev/esmg
Sep 17, 2019
Merged

Added option to turn off baroclinic OBC time filtering#995
adcroft merged 3 commits intomom-ocean:dev/gfdlfrom
ESMG:dev/esmg

Conversation

@kshedstrom
Copy link
Collaborator

This allows us to compute phase speed for tangential flow from tangential flow instead of using the normal flow phase speed. Not sure it helps.

Also, swapped in and out for the tracer reservoirs, to match my expectations.

@codecov-io
Copy link

codecov-io commented Sep 6, 2019

Codecov Report

❗ No coverage uploaded for pull request base (dev/gfdl@a8dce64). Click here to learn what that means.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##             dev/gfdl     #995   +/-   ##
===========================================
  Coverage            ?   43.16%           
===========================================
  Files               ?      213           
  Lines               ?    62350           
  Branches            ?        0           
===========================================
  Hits                ?    26912           
  Misses              ?    35438           
  Partials            ?        0
Impacted Files Coverage Δ
src/core/MOM_open_boundary.F90 31.07% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a8dce64...53b8be5. Read the comment docs.

Copy link
Contributor

@MJHarrison-GFDL MJHarrison-GFDL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the time filter is identical to setting gamma to zero. So why add this option?

@kshedstrom
Copy link
Collaborator Author

What I'm really adding is the option to compute tangential velocity phase speed from itself rather than reusing the normal velocity phase speed. I can check for gamma==0 to trigger the code instead if you prefer.

@adcroft adcroft merged commit 53b8be5 into mom-ocean:dev/gfdl Sep 17, 2019
marshallward pushed a commit to marshallward/MOM6 that referenced this pull request Dec 10, 2025
* Fix for ice-shelf friction velocity bugs

Fixed an incorrect area used to calculate cell-centered ocean surface velocity under the ice_shelf, which can impact the calculation of ice-shelf friction velocity. Added missing flags to some allocate_surface_state calls so that sfc_state%taux_shelf and sfc_state%tauy_shelf are allocated. This is required for the surface-stress-based (rather than surface-velocity-based) calculation of ice-shelf friction velocity. Also added taux_shelf and tauy_shelf as diagnostics for the surface stress under the ice shelf.

* Removed unneeded taux_shelf and tauy_shelf diagnostics

* Added ustar_from_vel_bugfix flag, which if true, fixes the ustar from ocean velocity bug
herrwang0 pushed a commit to herrwang0/MOM6 that referenced this pull request Dec 13, 2025
* Fix for ice-shelf friction velocity bugs

Fixed an incorrect area used to calculate cell-centered ocean surface velocity under the ice_shelf, which can impact the calculation of ice-shelf friction velocity. Added missing flags to some allocate_surface_state calls so that sfc_state%taux_shelf and sfc_state%tauy_shelf are allocated. This is required for the surface-stress-based (rather than surface-velocity-based) calculation of ice-shelf friction velocity. Also added taux_shelf and tauy_shelf as diagnostics for the surface stress under the ice shelf.

* Removed unneeded taux_shelf and tauy_shelf diagnostics

* Added ustar_from_vel_bugfix flag, which if true, fixes the ustar from ocean velocity bug
claireyung pushed a commit to ACCESS-NRI/MOM6 that referenced this pull request Dec 17, 2025
* Fix for ice-shelf friction velocity bugs

Fixed an incorrect area used to calculate cell-centered ocean surface velocity under the ice_shelf, which can impact the calculation of ice-shelf friction velocity. Added missing flags to some allocate_surface_state calls so that sfc_state%taux_shelf and sfc_state%tauy_shelf are allocated. This is required for the surface-stress-based (rather than surface-velocity-based) calculation of ice-shelf friction velocity. Also added taux_shelf and tauy_shelf as diagnostics for the surface stress under the ice shelf.

* Removed unneeded taux_shelf and tauy_shelf diagnostics

* Added ustar_from_vel_bugfix flag, which if true, fixes the ustar from ocean velocity bug
claireyung added a commit to ACCESS-NRI/MOM6 that referenced this pull request Dec 17, 2025
claireyung pushed a commit to ACCESS-NRI/MOM6 that referenced this pull request Jan 8, 2026
* Fix for ice-shelf friction velocity bugs

Fixed an incorrect area used to calculate cell-centered ocean surface velocity under the ice_shelf, which can impact the calculation of ice-shelf friction velocity. Added missing flags to some allocate_surface_state calls so that sfc_state%taux_shelf and sfc_state%tauy_shelf are allocated. This is required for the surface-stress-based (rather than surface-velocity-based) calculation of ice-shelf friction velocity. Also added taux_shelf and tauy_shelf as diagnostics for the surface stress under the ice shelf.

* Removed unneeded taux_shelf and tauy_shelf diagnostics

* Added ustar_from_vel_bugfix flag, which if true, fixes the ustar from ocean velocity bug
claireyung pushed a commit to claireyung/MOM6 that referenced this pull request Jan 12, 2026
* Fix for ice-shelf friction velocity bugs

Fixed an incorrect area used to calculate cell-centered ocean surface velocity under the ice_shelf, which can impact the calculation of ice-shelf friction velocity. Added missing flags to some allocate_surface_state calls so that sfc_state%taux_shelf and sfc_state%tauy_shelf are allocated. This is required for the surface-stress-based (rather than surface-velocity-based) calculation of ice-shelf friction velocity. Also added taux_shelf and tauy_shelf as diagnostics for the surface stress under the ice shelf.

* Removed unneeded taux_shelf and tauy_shelf diagnostics

* Added ustar_from_vel_bugfix flag, which if true, fixes the ustar from ocean velocity bug
dougiesquire pushed a commit to claireyung/MOM6 that referenced this pull request Jan 13, 2026
* Fix for ice-shelf friction velocity bugs

Fixed an incorrect area used to calculate cell-centered ocean surface velocity under the ice_shelf, which can impact the calculation of ice-shelf friction velocity. Added missing flags to some allocate_surface_state calls so that sfc_state%taux_shelf and sfc_state%tauy_shelf are allocated. This is required for the surface-stress-based (rather than surface-velocity-based) calculation of ice-shelf friction velocity. Also added taux_shelf and tauy_shelf as diagnostics for the surface stress under the ice shelf.

* Removed unneeded taux_shelf and tauy_shelf diagnostics

* Added ustar_from_vel_bugfix flag, which if true, fixes the ustar from ocean velocity bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants