-
Notifications
You must be signed in to change notification settings - Fork 2
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 329 negative bcmse #344
Conversation
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.
This does remove the thrown error, but I should point out that the pre-rounding of the components before the final statistic is calculated is going to make our result values slightly off. Are we okay with this?
I believe the round-up where implemented by @tatiana Burek
***@***.***> to get consistency with the results produced by the
original R scripts.
…---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
DTC/Research Applications Lab
Phone: 303-497-8423
*My work hours may not be your work hours. Please do not feel obliged to
reply to this email outside of your normal working hours.*
---------------
On Tue, Jan 2, 2024 at 11:33 AM Molly Smith ***@***.***> wrote:
***@***.**** commented on this pull request.
This does remove the thrown error, but I should point out that the
pre-rounding of the components before the final statistic is calculated is
going to make our result values slightly off. Are we okay with this?
—
Reply to this email directly, view it on GitHub
<#344 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4UJHRKBCY2VKJVPU6V2KDYMRHHLAVCNFSM6AAAAABA7C4TEOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMBQHA2DKMBZHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
One more thing, I also omitted the rounding of the me and mse and still
observed the negative bcmse values, so the rounding isn't the culprit
…---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
DTC/Research Applications Lab
Phone: 303-497-8423
*My work hours may not be your work hours. Please do not feel obliged to
reply to this email outside of your normal working hours.*
---------------
On Thu, Jan 4, 2024 at 8:05 AM Minna Win-Gildenmeister ***@***.***>
wrote:
I believe the round-up where implemented by @tatiana Burek
***@***.***> to get consistency with the results produced by the
original R scripts.
---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
DTC/Research Applications Lab
Phone: 303-497-8423
*My work hours may not be your work hours. Please do not feel obliged to
reply to this email outside of your normal working hours.*
---------------
On Tue, Jan 2, 2024 at 11:33 AM Molly Smith ***@***.***>
wrote:
> ***@***.**** commented on this pull request.
>
> This does remove the thrown error, but I should point out that the
> pre-rounding of the components before the final statistic is calculated is
> going to make our result values slightly off. Are we okay with this?
>
> —
> Reply to this email directly, view it on GitHub
> <#344 (review)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AA4UJHRKBCY2VKJVPU6V2KDYMRHHLAVCNFSM6AAAAABA7C4TEOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMBQHA2DKMBZHE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Here is Tatiana's explanation of why there is rounding: Rscript performs rounding with 5 digits for all stats. This was implemented to remove the "noise" from plots and output ASCII files. |
Okay, if we're rounding to 5 digits that should be fine. I was expecting less precision, as this was based on an older script. |
* Prepare for next release * add missing end quote to fix package install * reset_index is performed on the float value #322 (#323) * Update release notes (#328) * Update release-notes.rst formatting * Update and rename 2.1.0_wcoss2 to 3.0.0_wcoss2 * loop over statistics only once to avoid data multiplication #330 (#331) * Added sphinx_rtd_theme to extensions * Updated requirements.txt * Added pillow * feature 497 headers (#336) * changing header for continuity * Modified the other headers in the file to be consistent with other repos --------- Co-authored-by: Julie Prestopnik <[email protected]> * Beta2 release (#338) * Next version * Feature 332 di doc (#333) * Add difficulty index documentation * Add more documentation * Add more definition * Fix indent * Add figure * fix indentation * fix equations * Add table * Added remaining tables * fix table issue * Add links * formatting * change link to latest --------- Co-authored-by: Tracy <[email protected]> * Additions to beta2 release (#340) * Next beta * Bugfix 329 negative bcmse (#344) * Issue #329 return 0 if negative BCMSE value is calculated * Issue #329 add test for calculate_bcmse() in the sl1l2_statistics module * Issue #392 added test_sl1l2.py to the list of pytests to run * command line updates * updating yaml file --------- Co-authored-by: Hank Fisher <[email protected]> Co-authored-by: George McCabe <[email protected]> Co-authored-by: John Halley Gotway <[email protected]> Co-authored-by: Tatiana Burek <[email protected]> Co-authored-by: jprestop <[email protected]> Co-authored-by: Tracy Hertneky <[email protected]> Co-authored-by: Tracy <[email protected]> Co-authored-by: bikegeek <[email protected]>
Pull Request Testing
Describe testing already performed for these changes:
created and ran test in METcalcpy/metcalcpy/test/test_sl1l2.py using the data Molly provided that results in negative BCMSE values
added the test to the GitHub workflow unit_tests.yml
Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
Hank:
verify that the METcalcpy/metcalcpy/test/test_sl1l2.py passes with the required Python Packages for METcalcpy
Molly:
verify that this version is no longer responsible for erroneous plots
Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [NA]
Do these changes include sufficient testing updates? [Yes]
Will this PR result in changes to the test suite? [Yes]
If yes, describe the new output and/or changes to the existing output:
Please complete this pull request review by before beta3 release.
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