-
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
Want to print entire namelist to log #16
Comments
I have been playing around in https://github.com/mnlevy1981/nml_bugs And am starting to see some useful information. For starters, I think I need to write the namelists into an array of strings rather than one specific string... which will actually make logging the namelist much easier. For N variables in the namelist, the string needs to be of length at least N+2:
|
I just created a branch to add a stand-alone driver to MARBL to allow us to test this out. The build for the driver is not very flexible (yet), and requires gfortran to compile, but even if the stand-alone driver is not adopted it'll provide a quick and easy way to test fixes for this issue. https://github.com/mnlevy1981/MARBL/tree/enhancement/write_full_namelist |
I deleted the https://github.com/mnlevy1981/MARBL/tree/enhancement/initialization I still think we want to use the stand-alone driver to test out this work, but it sounds like we're going to go the way of #51 and #62 for the fix (rather than writing the entire namelist, marbl will have some sort of |
This has been implemented in a branch and will be fixed when #80 is merged onto master. |
Currently, the GCM reads four MARBL namelists (
ecosys_nml
,ecosys_ciso_nml
,ecosys_parms_nml
, andecosys_restore_nml
) from a file and passes them as a string to MARBL. MARBL sets default values, then updates those values based on what the GCM passes.Desired behavior: MARBL then writes the entire namelist to status log
Current behavior: MARBL writes the values set in the namelist file to status log
The text was updated successfully, but these errors were encountered: