Skip to content

Conversation

@lesserwhirls
Copy link
Member

Description Of Changes

As discussed in #3756, the turbulence kinetic energy calculation was incorrectly taking the square root of the squares of the perturbation velocity components. The tests were also updated to use new, non-zero mean velocity components. A new, separate test was added to testing the tke calculation when perturbation velocities were supplied to the function.

Checklist

The turbulence kinetic energy calculation was incorrectly taking the
square root of the squares of the perturbation velocity components.  The
tests were also updated to use new, non-zero mean velocity components. A
new, separate test was added to testing the tke calculation when
perturbation velocities were supplied to the function.
@lesserwhirls lesserwhirls added Type: Bug Something is not working like it should Area: Docs Affects documentation Area: Tests Affects tests Area: Calc Pertains to calculations labels Feb 12, 2025
@lesserwhirls lesserwhirls marked this pull request as ready for review February 12, 2025 21:33
@lesserwhirls lesserwhirls requested a review from a team as a code owner February 12, 2025 21:33
@lesserwhirls lesserwhirls requested review from dcamron and removed request for a team February 12, 2025 21:33
@dopplershift dopplershift added this to the 1.7.0 milestone Feb 12, 2025
@dopplershift dopplershift merged commit ca236e5 into Unidata:main Feb 12, 2025
43 checks passed
@lesserwhirls lesserwhirls deleted the tke branch February 12, 2025 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Calc Pertains to calculations Area: Docs Affects documentation Area: Tests Affects tests Type: Bug Something is not working like it should

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Turbulence kinetic energy calculation

2 participants