You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For testing, it would be useful to have lightweight and minimal factory methods in the test directory which return a model initialised with realistic values (possibly from a previous run of the model), so you can just do, for example,
prog, diag, model =model_factory()
or
diag =diag_factory()
Much of this already exists, e.g. the initialize_from_rest method in prognostic_variables.jl, but it would be good to extend and formalise it.
The text was updated successfully, but these errors were encountered:
On 27 May 2022, at 11:08, Alistair White ***@***.***> wrote:
For testing, it would be useful to have lightweight and minimal factory methods in the test directory which return a model initialised with realistic values (possibly from a previous run of the model), so you can just do, for example,
prog, diag, model = model_factory()
or
diag = diag_factory()
Much of this already exists, e.g. the initialize_from_rest method in prognostic_variables.jl, but it would be good to extend and formalise it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
For testing, it would be useful to have lightweight and minimal factory methods in the
test
directory which return a model initialised with realistic values (possibly from a previous run of the model), so you can just do, for example,or
Much of this already exists, e.g. the
initialize_from_rest
method inprognostic_variables.jl
, but it would be good to extend and formalise it.The text was updated successfully, but these errors were encountered: