-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fix the wind-based diagnostics computations in TC-Diag #2729
Comments
Here's a CF-compliance checker report provided by @jvigh: |
@robertdemariacira and @musgrave-kate please find the sample data we discussed at the meeting on 11/29/23 in the following tar file on the RAL public ftp server: This includes the inputs, outputs, and temp files I get when running TC-Diag. Please let me know if you have any questions. Here's the contents of the
And here's a full directory listing of the tar file contents:
|
@JohnHalleyGotway @musgrave-kate Got it! Thanks! Also, I believe we gave you some incorrect information about the way that resampling to the cylindrical grid works yesterday (and very possibly before that). The Fortran version of the code (as well as the other Python driver) actually use bilinear interpolation from the 4 closest samples not nearest neighbor interpolation. This may explain some of the differences in output values we've been getting. In any case, I'll be diving into this data while I do some debugging. |
@JohnHalleyGotway @musgrave-kate I have a new version (v0.11.0) of
Check Remaining Issues:
|
On 12/13/23 @robertdemariacira noted that we should switch from nearest neighbor interpolation to bilinear in the |
During the TC-Diag project meeting on Feb 7, 2024, we made the following decisions:
During this meeting, we worked up a nice example that can be found in |
Tested TC-Diag and confirmed that azimuths are currently computed in degrees clockwise from north, as seen by lat/lon's computed for 4 azimuths. Relative to the center point, these points are north - east - south - west:
|
Moving this issue along to the MET-12.0.0-rc1 cycle and treating it as bugfix. Do careful testing and resolve any issues with unexpected output values or behavior. Do not add any new features, just fix any problems with the existing functionality. |
Revisiting these diffs by looking in Log output from run_python.sh for computing 850VORT and 200DVRG for the first time:
This is similar to the configuration used by MET, but there is a small difference in adding unit conversion attributes:
Compared the range/azimuth grid data for 850 U-wind between MET and Python and the values are just different: The progression of values don't match. In both, the lower-left corner is (0, 0). MET:
Python:
Perhaps this difference in rotation direction is the underlying source of the |
…es from degree clockwise from due East to radians counter-clockwise from due East.
…the ATCF track file rather than being computed from the cylindrical coordinates grid.
* Per #2729, get rid of extra blank line in log message about manually deleting temp files. * Per #2729, fix log message describing the range/azimuth grid. * Per #2729, Update TC-Diag Python driver code to convert rotation angles from degree clockwise from due East to radians counter-clockwise from due East. * Per #2729, complete the TC-Diag documentation. * Per #2729, more tweaks * Per #2729, clarify that some diagnostics are directly extracted from the ATCF track file rather than being computed from the cylindrical coordinates grid. * Update docs/Users_Guide/tc-diag.rst Co-authored-by: KathrynNewman <knewman@ucar.edu> * Update docs/Users_Guide/tc-diag.rst Co-authored-by: KathrynNewman <knewman@ucar.edu> * Update docs/Users_Guide/tc-diag.rst Co-authored-by: KathrynNewman <knewman@ucar.edu> * Update docs/Users_Guide/tc-diag.rst Co-authored-by: KathrynNewman <knewman@ucar.edu> * Update docs/Users_Guide/tc-diag.rst Co-authored-by: KathrynNewman <knewman@ucar.edu> --------- Co-authored-by: KathrynNewman <knewman@ucar.edu>
Describe the Enhancement
TC-Diag development history:
The following tasks were not completed for #2769 and should be addressed during the beta4 development cycle:
unit_tc_diag.xml
to run a realistic HWRF parent + nest example. Be sure to test with with and withoutMET_PYTHON_EXE
set. Use Hurricane Ian example for which we have diagnostics output and @KathrynNewman is providing gridded HWRF test data. Note that d01 should be used as the "parent" and d03 as the "nest" data source.Additional task list (last updated based on Nov 29, 2023 project meeting):
C
rather than10C
). However, recommend keeping knots rather than switching to m/s.Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
See related issues:
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
2770043
Define the Metadata
Assignee
Labels
Milestone and Projects
Define Related Issue(s)
Consider the impact to the other METplus components.
No impacts currently.
Enhancement Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <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: