Error with scorecard generation for CSI or FAR #3323
Replies: 5 comments 1 reply
|
Hi Brian: Would you be able to upload the XML file you are using to create this scorecard? Seeing this file, especially any settings related to the fields you are getting errors with, will help us debug. I suspect the file will be small enough that you can upload it directly to this discussion, but you will likely have to give it a .txt extension to do that. We also have options to send data to us, or you may be able to screenshot the relevant portions and upload those photos here. Thanks, |
|
Hi Brian: I am following back up on this discussion. Are you able to upload your XML file here, or take a screenshot so we can take a closer look? Thanks, |
|
Hi Christina,My sincere apologies for the delay in my response as I’ve been away from the office but was able to have enough service this afternoon to see your follow-up email. I will make sure to get you the XML I am using once I get back into town later this week. I appreciate your patience and understanding.Thanks,Brian MatillaResearch Associate | Cooperative Institute for Severe and High Impact Weather Research and Operations (CIWRO)The University of Oklahoma120 David L Boren Blvd, Suite 4355 | Norman, OK 73072405-325-3041 | ou.edu/ciwroFacebook | Linkedin | Twitter | YoutubeOn Jul 6, 2026, at 11:02, Christina Kalb ***@***.***> wrote:
Hi Brian:
I am following back up on this discussion. Are you able to upload your XML file here, or take a screenshot so we can take a closer look?
Thanks,
Christina
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
Hi Christina, I wanted to follow up with you on this matter since I've returned from leave. I've attached the XML file I am using for the scorecard. I've changed a few of the filepaths to preserve anonymity on those, but the scorecard XML remains largely the same. VLAB_MPAS_WOFS_SFE2026_scorecard.xml Feel free to let me know if you need more data/information from me. Thanks, -Brian |
|
Hi Brian: Would it be possible for us to get some sample data so we can run it through the debugger? Instructions for sending us data can be found here. Thanks, |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Software Version
MET 12.2.1; METplus 6.2.1; METviewer 6.2.4; METcalcpy 3.2.0
Text
Hello,
I am attempting to generate scorecards on my recently processed data using METviewer 6.2.4 and METcalcpy 3.2.0, but am running into the following issue (showing the full error traceback for FAR but this also occurs when attempting to compute CSI and FBIAS):
ERROR [-1] [calculateStatsForRow] e.u.m.s.r.AggPythonManager:
==== Start Python error ====
Traceback (most recent call last):
File "./METcalcpy_3.2.0//metcalcpy/agg_stat.py", line 1630, in
AGG_STAT.calculate_stats_and_ci()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "./METcalcpy_3.2.0/metcalcpy/agg_stat.py", line 1590, in calculate_stats_and_ci
out_frame = self._proceed_with_axis("1")
File "./METcalcpy_3.2.0/metcalcpy/agg_stat.py", line 1515, in _proceed_with_axis
bootstrap_results = self._get_bootstrapped_stats_for_derived(point, point_to_distrib, axis)
File "./METcalcpy_3.2.0/metcalcpy/agg_stat.py", line 1069, in _get_bootstrapped_stats_for_derived
results = bootstrap_and_value(
values_both_arrays,
...<8 lines>...
logger=logger
)
File "./METcalcpy_3.2.0/metcalcpy/bootstrap.py", line 153, in bootstrap_and_value
stat_val = stat_func(values)[0]
~~~~~~~~~^^^^^^^^
File "./METcalcpy_3.2.0/metcalcpy/agg_stat.py", line 396, in _calc_stats_derived
stat_values_1 = [globals()[func_name_1](values_1, self.column_names, True, logger=logger)]
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: calculate_far() got multiple values for argument 'logger'.
==== End Python ERROR ====
Trying to generate metrics like NBR_FSS seem to work okay. I should also note that while disabling statistics aggregation bypasses this issue, it wouldn't be useful for confidence interval generation. Any insights you may have for this sort of error would be greatly appreciated!
-Brian
All reactions