Skill Score Diagram for Rapid Intensification #1244
-
Hi! I wonder if MET-TC tool can plot the skill score of the rapid intensification like this figure? I found that MET-Stat tool can compare the occurrence of rapid intensification between adeck and bdeck, and output a table. So I wonder if I can use MET to plot the figure? Or I need to write a script to plot the figure by myself? Thanks very much. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
@YanJin-NOAA I see you have a question about plotting categorical statistics of Tropical Cyclone rapid intensification events. Thanks for including an image to illustrate your question. This type of plot is called a "Performance Diagram" and it's used to summarize multiple statistics from a 2x2 contingency table on the same plot. Unfortunately, I believe the answer to your question is no. At this time, there is not an easy way to create the plot you're after. But let me tell you about 2 related details: (1) The METviewer software IS able to create performance diagrams. Looking in the METviewer GUI, the tab named "Perf" is used to create performance diagrams. So if the RIRW contingency table counts lived in the database for METviewer, you could create that plot. (2) The TC-Stat "-job RIRW" is presumably the job you're running. That's the job that inspects the TC-Pairs output looking for the occurrence of rapid intensification and defining contingency table counts and statistics. However, the contingency table output it writes is a custom format and looks something like this:
While all the information is present, it does not follow the full .stat file format. So it can't be easily loaded into METviewer. We didn't initially format it like that because it wasn't obvious how columns like ATIME, BTIME, AEXACT, BEXACT, ATHRESH, BTHRESH, WINDOW_BEG, and WINDOW_END should be mapped into the existing .stat header columns. Perhaps we should revisit this decision and update TC-Stat to actually write CTC and CTS line types that can be loaded into a database for METviewer? Hope that helps clarify. |
Beta Was this translation helpful? Give feedback.
-
@TaraJensen, as we discussed in the METplus meeting today, I wrote up this development issue to enhance TC-Stat to write full .stat output files that could be loaded into a database for use by METviewer. I tentatively assigned it to MET version 10.1.0 but did not assign it to a specific development cycle or particular developer or scientist. Please feel free to take a look and update/modify it however you see fit. Note that the TC-Stat -job rirw and STAT-Analysis -job ramp both have this similar situation. They both write categorical output to custom, job-specific formats that cannot be easily loaded into a database for use by METviewer. The development issue covers TC-Stat, not STAT-Analysis. But we could write up a similar one for STAT-Analysis at some point if needed. But the difficulty is in the details... deciding how to shoehorn job-specific info into the existing STAT header columns in an intuitive way. |
Beta Was this translation helpful? Give feedback.
-
Hi Tara,
I found a Python script to plot the performance diagram:
https://gist.github.com/djgagne/64516e3ea268ec31fb34
I plan to modify the code to 1) read the TC-Stat -job rirw output file, and
then 2) do the plotting. Currently the input data (model names, PODY, FAR)
is hard coded and saved to a dictionary. The next step is to read the file,
find the corresponding columns, and convert them to a dictionary or array.
The plot looks like this:
Thanks very much for your time and help. I feel it would be very helpful
for the verification team if we can visualize the result using MET/METplus.
Since TC-Stat has already generated the output file so we do need to do the
statistics by ourselves.
Best,
Yan
[image: image.png]
…On Fri, Nov 12, 2021 at 6:02 PM TaraJensen ***@***.***> wrote:
@YanJin-NOAA <https://github.com/YanJin-NOAA> - If you can wait until
next Tue/Wed, we will hopefully have a solution for you that doesn't
require you to write your own Performance Diagram plot.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1244 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATBLJOCFQCTUKONECEQFHL3ULWMI3ANCNFSM5HTE5YHQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
@YanJin-NOAA I see you have a question about plotting categorical statistics of Tropical Cyclone rapid intensification events. Thanks for including an image to illustrate your question. This type of plot is called a "Performance Diagram" and it's used to summarize multiple statistics from a 2x2 contingency table on the same plot.
Unfortunately, I believe the answer to your question is no. At this time, there is not an easy way to create the plot you're after. But let me tell you about 2 related details:
(1) The METviewer software IS able to create performance diagrams. Looking in the METviewer GUI, the tab named "Perf" is used to create performance diagrams. So if the RIRW contingency tab…