-
Notifications
You must be signed in to change notification settings - Fork 149
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
Fix uninitialized min_rand variable in Thompson MP when using SPP #892
Changes from all commits
313d78f
6342e52
16993b9
084551f
a2fefa7
044c900
fdc9b2e
2e8f340
0aab555
dc48d39
32b78e4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -644,7 +644,6 @@ | |
units = 1 | ||
dimensions = (horizontal_loop_extent,vertical_layer_dimension) | ||
type = real | ||
kind = kind_phys | ||
intent = in | ||
[spp_mp] | ||
standard_name = control_for_microphysics_spp_perturbations | ||
|
@@ -653,6 +652,37 @@ | |
dimensions = () | ||
type = integer | ||
intent = in | ||
[n_var_spp] | ||
standard_name = number_of_perturbed_spp_schemes | ||
long_name = number of perturbed spp schemes | ||
units = count | ||
dimensions = () | ||
type = integer | ||
intent = in | ||
[spp_prt_list] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clearly I am still being thick, but I don't see how the name "prt_list" gives me any clue of a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, it could be better named. We followed the same naming convention for SPP as what was already in place for the land perturbation scheme in stochastic_physics. For that scheme, "lndp_prt_list" is used for the perturbation array. At some point, changing to something like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You could use a different name in mp_thompson than GFS_Typedefs so the variable will make sense in both contexts. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since |
||
standard_name = magnitude_of_spp_perturbations | ||
long_name = magnitude of spp perturbations | ||
units = 1 | ||
dimensions = (number_of_perturbed_spp_schemes) | ||
type = real | ||
kind = kind_phys | ||
intent = in | ||
[spp_stddev_cutoff] | ||
standard_name = magnitude_of_spp_standard_deviation_cutoff | ||
long_name = magnitude of spp standard deviation cutoff | ||
units = 1 | ||
dimensions = (number_of_perturbed_spp_schemes) | ||
type = real | ||
kind = kind_phys | ||
intent = in | ||
[spp_var_list] | ||
standard_name = perturbed_spp_schemes | ||
long_name = perturbed spp schemes | ||
units = none | ||
dimensions = (number_of_perturbed_spp_schemes) | ||
type = character | ||
kind = len=3 | ||
intent = in | ||
[errmsg] | ||
standard_name = ccpp_error_message | ||
long_name = error message for error handling in CCPP | ||
|
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.
It is sorta stupid request, but couldn't the new added arguments be listed in the same order in this block as in the block 40 lines lower? Just think it makes it easier. The order of arguments differs a little.
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.
Sure, I can make that change.
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.
Fixed.