Open haakon-e opened 3 years ago
@charleskawczynski thoughts?
As a side note, we should also change the print statements about using certain parameters:
[ Info: Using default value, 1000.0, for parameter (microphysics, τ_precip).
[ Info: Using default value, 1000.0, for parameter (microphysics, τ_acnv).
The two lines above are misleading. The values of those two parameters are set to something by TC.jl
, but only one of those parameters will be used in any given simulation. (One is used by 0-moment scheme and another is used by 1-moment scheme. And you can't use both at the same time).
Sounds good to me, feel free to open PR(s)!
Consider the error message below. The error is an
AssertionError
, but it is unhelpful. The path provided in output[2]
accurately diagnoses the problem, but the verbosity of the line makes debugging somewhat overwhelming.I propose to update this assertion https://github.com/CliMA/TurbulenceConvection.jl/blob/416bfe27a09c20dbfce76235d6608c4b3427b34b/src/TurbulenceConvection.jl#L60 to something along the lines of
Error message: