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

Add ML calibrated ARG2000 parameters #325

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Add ML calibrated ARG2000 parameters #325

merged 1 commit into from
Feb 15, 2024

Conversation

trontrytel
Copy link
Member

This PR adds the PySDM calibrated parameters to a toml file that we can use if we want to overwrite the default values. I add the overwritten option to some of the tests.

Copy link

codecov bot commented Feb 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (999f005) 98.66% compared to head (42e8c97) 98.66%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #325   +/-   ##
=======================================
  Coverage   98.66%   98.66%           
=======================================
  Files          33       33           
  Lines        1047     1047           
=======================================
  Hits         1033     1033           
  Misses         14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 1 to 4
[ARG2000_f_coeff_1]
value = 0.26583888195264627
type = "float"
description = "Scaling coefficient for an empirically determined functional dependence in Abdul-Razzak and Ghan, 2000. Unitless. DOI: https://doi.org/10.1029/1999JD901161"
Copy link
Member

Choose a reason for hiding this comment

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

Now only the new value is required for overrides. Up to you!

Suggested change
[ARG2000_f_coeff_1]
value = 0.26583888195264627
type = "float"
description = "Scaling coefficient for an empirically determined functional dependence in Abdul-Razzak and Ghan, 2000. Unitless. DOI: https://doi.org/10.1029/1999JD901161"
[ARG2000_f_coeff_1]
value = 0.26583888195264627

Copy link
Member Author

Choose a reason for hiding this comment

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

Thats great. I like the short version. We shouldn't duplicate places where we define things.

@trontrytel trontrytel enabled auto-merge February 15, 2024 17:25
@trontrytel trontrytel merged commit 08aebbb into main Feb 15, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants