Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Add shear and curvature vorticity calculations #3361

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Z-Richard
Copy link
Contributor

Description Of Changes

This PR implements the shear and curvature vorticity calculations. A test is added to ensure the sum of two terms equals the total vorticity computed from metpy.calc.vortictiy.

Checklist

  • Tests added
  • Fully documented

@Z-Richard Z-Richard requested a review from a team as a code owner January 16, 2024 19:03
@Z-Richard Z-Richard requested review from dopplershift and removed request for a team January 16, 2024 19:03
@kgoebber
Copy link
Collaborator

@Z-Richard this is great stuff. I've checkout out the PR and used the functions on a couple of analytic datasets that I have generated and it works as intended. I was wondering if you had a reference we could use with the formations of the equations that you have used in the code? We do attempt to reference appropriate sources to help our users identify the underpinning of the choices made in the package.

@Z-Richard
Copy link
Contributor Author

@kgoebber The implementation follows the derivation by Professor Sharan Majumdar in a private communication with a friend of mine. The derivation is basically a conversion from natural coordinates to cartesian coordinates. I can ask for permission to upload the file here, but fortunately the derivation does not seem publicly available. They did indicate in the notes that the derivation is inspired by Bleck (1991): https://journals.ametsoc.org/view/journals/atsc/48/8/1520-0469_1991_048_1124_tefsac_2_0_co_2.xml?tab_body=pdf.

@Z-Richard
Copy link
Contributor Author

Curvature and Shear Vorticity in Cartesian Coordinates.pdf
@kgoebber Here is the reference document that the code is based on.

@dopplershift dopplershift added Type: Feature New functionality Area: Calc Pertains to calculations labels Feb 14, 2024
@dopplershift dopplershift added this to the 1.7.0 milestone Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Calc Pertains to calculations Type: Feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants