-
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
Feature 1259 es_prob_stats #2067
Conversation
…, PRJ, and ECLV outputs from ensemble-stat. Also added fcat_ta and ocat_ta ThreshArray objects to store the needed fcst and obs thresholds. Still need to actually update ensemble_stat.cc to use them and also need to make config file, unit test, and documentation updates.
…he writing of STAT output lines for both point and gridded verification into a common write_txt_files() function. In the process, I discovered that we were checking the top-level conf_info.output_flag option instead of the vx_opt specific ones. These changes switch to using the vx_opt ones so that we can control the output written task by task.
…tat output lines.
…stat to define how PCT thresholds. Still need to update documentation, tests, and config files.
pd_pnt.extend(pd_ens.n_obs); | ||
|
||
// Determine the number of climo CDF bins | ||
n_bin = (pd_pnt.cmn_na.n_valid() > 0 && pd_pnt.csd_na.n_valid() > 0 ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@j-opatz this is the spot in the code whose logic I'd like to discuss. I think if the user hasn't defined prob_cat_thresh but has defined climo_mean and climo_stdev along with climo bins, we want to use those thresholds to define/evaluate probabilities. But this is the logic that always gets so confusing!
…istic outputs in 2 ways.
…nsistent with the default one.
…as consistent as possible with the default configuration.
…tput files created by ensemble-stat.
…utation of binned percentile thresholds.
…ether the total column should be summed or averaged. Previously, they were always summed since the climo bins were used to SUBSET the matched pairs. In Ensemble-Stat, the full set of pairs can now thresholded multiple times based on the climo bins. As such, the TOTAL value for each input should remain constant. Rather then summing those totals, they should now be averaged (but this is the average of a constant value).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The write-up is done well, given that the necessary topic of discussion is confusing. Unit tests seem to have the corresponding output, and while I think this feature correctly adds the requested ability in EnsembleStat, it will be best proven when provided back to the EMC requestor and it's used there.
Co-authored-by: Julie Prestopnik <jpresto@seneca.rap.ucar.edu> Co-authored-by: johnhg <johnhg@ucar.edu> Co-authored-by: Seth Linden <linden@kiowa.rap.ucar.edu> Co-authored-by: John Halley Gotway <johnhg@ucar.edu> Co-authored-by: j-opatz <59586397+j-opatz@users.noreply.github.com> Co-authored-by: Howard Soh <hsoh@kiowa.rap.ucar.edu> Co-authored-by: John Halley Gotway <johnhg@kiowa.rap.ucar.edu> Co-authored-by: jprestop <jpresto@ucar.edu> Co-authored-by: Howard Soh <hsoh@seneca.rap.ucar.edu> Co-authored-by: Seth Linden <linden@ucar.edu> Co-authored-by: hsoh-u <hsoh@ucar.edu> Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> Co-authored-by: John Halley Gotway <johnhg@seneca.rap.ucar.edu> Co-authored-by: MET Tools Test Account <met_test@seneca.rap.ucar.edu> Co-authored-by: mo-mglover <78152252+mo-mglover@users.noreply.github.com> Co-authored-by: davidalbo <dave@ucar.edu> Co-authored-by: lisagoodrich <33230218+lisagoodrich@users.noreply.github.com>
Expected Differences
This PR is now ready for review.
If yes, please describe:
Listed below are the additions to the Ensemble-Stat config file:
And adds entries to output_flag for newly supported prob line types (already exists in other tools):
If yes, please describe:
Pull Request Testing
Tested manually with 3 specific uses in mind:
Differentiating between these 3 uses is confusing.
Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
Review the code changes, documentation updates (please check carefully for typos and readability), and unit test output differences.
Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [Yes]
Do these changes include sufficient testing updates? [Yes]
Modified the configuration for 2 existing tests.
Will this PR result in changes to the test suite? [Yes]
If yes, describe the new output and/or changes to the existing output:
Generates 5 new output files for 2 existing tests. Also modified the contents of the .stat files for those tests. The new files are for the PCT, PSTD, PJC, PRC, and ECLV line types.
Please complete this pull request review by [Wed 3/2].
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s)
Select: Organization level software support Project or Repository level development cycle Project
Select: Milestone as the version that will include these changes