-
Notifications
You must be signed in to change notification settings - Fork 7
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
Handle solver_params.xml #65
Comments
I suggest actual parameter lists are only loaded from the main files, and then indeed combined into one with sublists.
|
@Sbte I ran into an issue where |
What do you mean exactly? The ones I found get passed to the solver in |
Ah! I was just looking at the Ocean part of things, I forgot that |
Well, since you're implementing it with sublists now, you can make it a Topo -> Solver sublist, and get rid of the "Topo " part of the parameter name. That looks like a much nicer way of doing it. |
Yeah, I'll do that and have both Topo and Ocean read the same solver_params.xml (since they're currently the same), if someone ever needs a different config they just need to read in a different file for Topo in the test/code. |
I'm already getting excited about the huge number of lines that you can remove in the near future. |
Mostly fixed by 9bec0eb, but still has to be fixed in CoupledModel. |
Currently
Ocean
,CoupledModel
andTopo
independently loadsolver_params.xml
. The problem with this situation is that Ocean's parameters are split over two (well, three, see discussion of THCM in #64) parameter lists. Initially I was going to make the solver params a sublist of theOcean
parameters so thatCoupledModel
andTopo
could just query them from the underlying model. This doesn't work directly, sinceCoupledModel
andTopo
would inherit the default parameter values ofOcean
which don't match their current default solver parameters.The alternative solution is to duplicate the current
solver_params.xml
contents to the parameter lists ofOcean
,CoupledModel
, andTopo
, but this only makes sense if the values don't have to be kept in sync across these.The text was updated successfully, but these errors were encountered: