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

Fix prepare_namelist.py

parent 7f671ee7
No related branches found
No related tags found
No related merge requests found
Pipeline #19083 passed
...@@ -19,9 +19,9 @@ ATMOSPHERE_NAMELIST_PATH = Path("%simulation.namelist_paths.atmosphere%") ...@@ -19,9 +19,9 @@ ATMOSPHERE_NAMELIST_PATH = Path("%simulation.namelist_paths.atmosphere%")
MASTER_NAMELIST_PATH = Path("%simulation.namelist_paths.master%") MASTER_NAMELIST_PATH = Path("%simulation.namelist_paths.master%")
# Get first-guess and analysis names: # Get first-guess and analysis names:
analysis_filename = (RUNDIR / "igaf*.m*.grb") # analysis_filename = (RUNDIR / "igaf*.m*.grb")
analysis_filename = analysis_filename.parent.glob(analysis_filename.name).__next__() # analysis_filename = analysis_filename.parent.glob(analysis_filename.name).__next__()
analysis_filename = analysis_filename.name analysis_filename = "analysis.nc"
first_guess_filename = (RUNDIR / "igfff00030000.m*.grb").resolve() first_guess_filename = (RUNDIR / "igfff00030000.m*.grb").resolve()
first_guess_filename = first_guess_filename.parent.glob(first_guess_filename.name).__next__() first_guess_filename = first_guess_filename.parent.glob(first_guess_filename.name).__next__()
...@@ -74,7 +74,8 @@ atmosphere_namelist_replacements = { ...@@ -74,7 +74,8 @@ atmosphere_namelist_replacements = {
}, },
"extpar_nml": { "extpar_nml": {
"extpar_filename": "%simulation.external_parameters_filename%", # "extpar_filename": "%simulation.external_parameters_filename%",
"extpar_filename": "extpar.nc",
}, },
"initicon_nml": { "initicon_nml": {
......
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