Skip to content
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

Consolidate scale parameter usage across EMOS and ECC #1642

Merged
merged 2 commits into from
Jan 24, 2022

Conversation

gavinevans
Copy link
Contributor

Addresses https://github.com/metoppv/mo-blue-team/issues/204

Description
Modifications to code, documentation and tests, particularly to improve and clarify the usage of the scale parameter. Primarily this involves moving the square rooting of the scale parameter from the ECC code and into the apply EMOS code (specifically the CalibratedForecastDistributionParameters class). This is partly to consolidate the squaring and square rooting operations for ease of understanding and maintenance.

Testing:

  • Ran tests and they passed OK
  • Added new tests for the new feature(s)

@gavinevans gavinevans self-assigned this Jan 13, 2022
@codecov
Copy link

codecov bot commented Jan 13, 2022

Codecov Report

Merging #1642 (55b5feb) into master (217acad) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1642   +/-   ##
=======================================
  Coverage   98.14%   98.14%           
=======================================
  Files         110      110           
  Lines       10084    10084           
=======================================
  Hits         9897     9897           
  Misses        187      187           
Impacted Files Coverage Δ
improver/calibration/ensemble_calibration.py 100.00% <100.00%> (ø)
...semble_copula_coupling/ensemble_copula_coupling.py 99.05% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 217acad...55b5feb. Read the comment docs.

@fionaRust fionaRust self-requested a review January 17, 2022 09:54
Copy link
Contributor

@fionaRust fionaRust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of small comments

@gavinevans gavinevans force-pushed the mobt_204_calib_ecc_docs branch from d708451 to 55b5feb Compare January 18, 2022 11:28
@bayliffe bayliffe merged commit ce6766b into metoppv:master Jan 24, 2022
fionaRust added a commit that referenced this pull request Jan 25, 2022
* master:
  MOBT-154: Reunification of wx decision trees (#1639)
  Consolidate scale parameter usage across EMOS and ECC (#1642)
MoseleyS added a commit to MoseleyS/improver that referenced this pull request Jan 31, 2022
* master:
  Change pandas DataFrame.at to DataFrame.loc (metoppv#1655)
  MOBT-154: Reunification of wx decision trees (metoppv#1639)
  Consolidate scale parameter usage across EMOS and ECC (metoppv#1642)

# Conflicts:
#	improver/wxcode/utilities.py
fionaRust added a commit to fionaRust/improver that referenced this pull request Feb 23, 2022
…factor_tidy_CLIs

* feature_branch_nbhood_refactor:
  Mobt 157 nbhood refactor consolidate unit tests rebased (metoppv#1664)
  Mobt 157 nbhood refactor consolidate unit tests part1 (metoppv#1665)
  Adds a filter to the combine CLI for mismatching realizations (metoppv#1656)
  Reduce the memory requirements for read-the-docs (metoppv#1672)
  Further doc-building fixes. (metoppv#1671)
  DOC Fix intersphinx links for docs (metoppv#1668)
  Mobt 157 nbhood refactor sort out base classes (metoppv#1653)
  Modifies wxcode check_tree utility function to report issues with unreachable nodes (metoppv#1637)
  remove cycle (metoppv#1657)
  Minor edits to remove raising unnecessary warnings. (metoppv#1646)
  Change pandas DataFrame.at to DataFrame.loc (metoppv#1655)
  MOBT-154: Reunification of wx decision trees (metoppv#1639)
  Consolidate scale parameter usage across EMOS and ECC (metoppv#1642)
  Adds handling of a model-id-attr to wxcode-modal (metoppv#1634)
MoseleyS pushed a commit to MoseleyS/improver that referenced this pull request Aug 22, 2024
* Modifications to code, documentation and test, particularly to improve/clarify the usage of the scale parameter.

* Update docstrings following review comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants