Skip to content
Snippets Groups Projects
Commit a7a326d8 authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Add fix to deal with output_nml.

parent 5d50a6f8
No related branches found
No related tags found
No related merge requests found
...@@ -120,6 +120,8 @@ def main(): ...@@ -120,6 +120,8 @@ def main():
""" """
# Process atmosphere namelist # Process atmosphere namelist
atmosphere_namelist = f90nml.read(ATMOSPHERE_NAMELIST_PATH.as_posix()) atmosphere_namelist = f90nml.read(ATMOSPHERE_NAMELIST_PATH.as_posix())
# Convert output_nml to a cogroup.
atmosphere_namelist.create_cogroup("output_nml")
print("Original atmosphere namelist:") print("Original atmosphere namelist:")
print(atmosphere_namelist) print(atmosphere_namelist)
atmosphere_namelist.patch(atmosphere_namelist_replacements) atmosphere_namelist.patch(atmosphere_namelist_replacements)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment