-
Notifications
You must be signed in to change notification settings - Fork 25
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
Better interface between MARBL parameters and GCM driver #62
Comments
I think this ticket will actually address all of #11 because I'll be touching several different modules. Here is what MARBL looks like as of v0.4.0:
Step 1 to cleaning up Other things I'd like to do (but require some discussion first):
|
Step one is [mostly] done on my branch as of d5adaf8 - as noted in a comment from #11 I have put the following in
There are still several variables with the
At the very least, denitrif_C_N depends on |
Step two is also done as of 5409968; I did end up removing In the "things to discuss" section above, I mentioned cleaning up |
The |
This will address part of #11 and all of #51
marbl_parms_mod.F90
will be home to all MARBL namelist variables (expanding definition of "parameters" in design document to mean anything set via namelist, differentiated from "configuration" which is set by the complexity level / tracer modules you want from MARBL:ciso_on
is a configuration setting, as are autotroph and zooplankton counts. [Gray area: actual autotrophs and zooplankton used in the run?]marbl_parms_define()
to set up meta-data:sname
,lname
,units
,type
marbl_parms_put()
: takes short name (or index?) and value as arguments, sets appropriate parameter to desired valuemarbl_parms_get_metadata()
: either take index as intent(in) and return any (or all) metadata via optional arguments, or take short name as intent(in) and return rest of metadatamarbl_parms_get_val()
: take index or short name as intent(in), return value of parameter as intent(out)@klindsay28 wants the GCM driver to be able to run the following:
I think we want a similar routine available in MARBL as
marbl_parms_write_to_log()
that will use MARBL'smarbl_log_type
to provide the entire list in a pre-determined format (to be clear, I want this in addition to the driver code Keith requested - I think it would be good to have both)NOTE: we want the driver to use these routines from
marbl_interface
, so we need something likeGoal: have API finished by May 25 and then we can talk about a
marbl_parms_type
to store all the parameters or other under-the-covers changes that shouldn't affect the driver.The text was updated successfully, but these errors were encountered: