-
Notifications
You must be signed in to change notification settings - Fork 22
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
Bugfix: Fix TC-RMW to correct the tangential and radial wind computations #2841
Comments
As discussed during the HAFS project meeting on April 19, 2024, a fix for this bug should be included in the MET-11.1.1 bugfix release, scheduled for May 1st. Note that the existing tc_rmw use case computes tangential and radial winds output from HWRF GRIB2 Hurricane Gonzalo output. @KathrynNewman will investigate running the HWRF GRIB2 data for this case through MetPy and/or DiaPost to generate "truth" data against which the TC-RMW output should be compared. |
@JohnHalleyGotway I used the script cross_section to plot tangential and radial winds from a lat/lon UKMO file. You may also look into MetPy's calculation. |
I did find a seemingly unrelated bug.
With a single pressure level:
Recommend simplifying so that the |
…g. Adding break statements to prevent the hang.
…c_rmw to use it to deteremine whether or not the pressure dimension should be written the output rather than basing that off the number of levels being > 1.
Met with @KathrynNewman and @mrinalbiswas on 5/3/24.
Here's a good reference from hafs-graphics:
And this computation is very consistent with what's done by Diapost in
To see the output from the HAFS python plotting script, go to: |
There seems to be a bug in how MET is indexing into the U and V values, as evidenced by the log messages below. For range = 0, (u, v) should remain constant for all azimuths. But, as shown below, they change:
|
There appears to be an issue in the ordering of the data. Using Gonzalo data for 2014101312 initialization, 6-hour forecast for testing:
Storm center lat/lon is (17.6, -62.6).
And that's very close to the regridded (u, v) value of (-4.707, 0.071). However, the problem is that this value is reported for range = 200 rather than range = 0, where it should exist:
|
…and V data in wind_ne_to_rt() using i_rev instead of i. Also, update the variable names for consistency and clarity..
I tested using Hurricane Idalia on seneca with following commands:
That creates the plot shown in the comment above. But I've modified it to dump out debug info.
I think that MET and the HAFS plotting script differ by 90 degrees in their rotation angles.
In MET, the 200 km lat - center lat = 1.7966 deg * 111 km/deg = 200 km. For HAFS 0, degrees is east (same latitude, longitude to the east):
For HAFS, the 200 km lon - center lon = 0.896921 deg * 111 km/deg = 100km. So MET is specifying the diameter of the circle while HAFS is specifying the radius. Need to modify the configuration for better testing. Switching HAFS from 200km every 50km to 400km every 100km, I get:
The "400km" lon - center lon = 1.7938466 deg * 111 km/deg = 200km. |
@JohnHalleyGotway and @KathrynNewman met on 5/10/24 to debug and found the following:
|
Describe the Problem
The computation of radial and tangential winds in the TC-RMW tool are incorrect and should be fixed.
Expected Behavior
Provide a clear and concise description of what you expected to happen here.
Environment
Describe your runtime environment:
1. Machine: (e.g. HPC name, Linux Workstation, Mac Laptop)
2. OS: (e.g. RedHat Linux, MacOS)
3. Software version number(s)
To Reproduce
Describe the steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Post relevant sample data following these instructions:
https://dtcenter.org/community-code/model-evaluation-tools-met/met-help-desk#ftp
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
@JohnHalleyGotway should charge 2784603 for this bugfix.
Define the Metadata
Assignee
Labels
Milestone and Projects
Define Related Issue(s)
Consider the impact to the other METplus components.
Bugfix Checklist
See the METplus Workflow for details.
Branch name:
bugfix_<Issue Number>_main_<Version>_<Description>
Pull request:
bugfix <Issue Number> main_<Version> <Description>
Select: Reviewer(s) and Development issue
Select: Milestone as the next bugfix version
Select: Coordinated METplus-X.Y Support project for support of the current coordinated release
Branch name:
bugfix_<Issue Number>_develop_<Description>
Pull request:
bugfix <Issue Number> develop <Description>
Select: Reviewer(s) and Development issue
Select: Milestone as the next official version
Select: MET-X.Y.Z Development project for development toward the next official release
The text was updated successfully, but these errors were encountered: