Skip to content
Snippets Groups Projects
Commit d42c1ac3 authored by lkugler's avatar lkugler
Browse files

.

parent 06281585
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ def obskind_read(): ...@@ -16,7 +16,7 @@ def obskind_read():
from DART f90 script from DART f90 script
""" """
definitionfile = cluster.dart_srcdir+'/../../../assimilation_code/modules/observations/obs_kind_mod.f90' definitionfile = cluster.scriptsdir+'/../config/obs_kind_mod.f90'
with open(definitionfile, 'r') as f: with open(definitionfile, 'r') as f:
kind_def_f = f.readlines() kind_def_f = f.readlines()
......
...@@ -32,6 +32,11 @@ class WorkFlows(object): ...@@ -32,6 +32,11 @@ class WorkFlows(object):
self.cluster.slurm_scripts_dir = self.cluster.archivedir+'/slurm-scripts/' self.cluster.slurm_scripts_dir = self.cluster.archivedir+'/slurm-scripts/'
print('scripts, which are submitted to SLURM:', self.cluster.slurm_scripts_dir) print('scripts, which are submitted to SLURM:', self.cluster.slurm_scripts_dir)
# copy obs kind def to config, we will read a table from there
# file needs to exist within package so sphinx can read it
shutil.copy(cluster.dart_srcdir+'/../../../assimilation_code/modules/observations/obs_kind_mod.f90',
cluster.scriptsdir+'/../config/')
# Copy scripts to self.cluster.archivedir folder # Copy scripts to self.cluster.archivedir folder
os.makedirs(self.cluster.archivedir, exist_ok=True) os.makedirs(self.cluster.archivedir, exist_ok=True)
try: try:
...@@ -46,8 +51,7 @@ class WorkFlows(object): ...@@ -46,8 +51,7 @@ class WorkFlows(object):
shutil.copy('config/'+exp_config, self.cluster.scripts_rundir+'/cfg.py') shutil.copy('config/'+exp_config, self.cluster.scripts_rundir+'/cfg.py')
shutil.copy('config/'+server_config, self.cluster.scripts_rundir+'/cluster.py') # whatever server, the config name is always the same! shutil.copy('config/'+server_config, self.cluster.scripts_rundir+'/cluster.py') # whatever server, the config name is always the same!
shutil.copy('config/'+server_config, 'config/cluster.py') # whatever server, the config name is always the same! shutil.copy('config/'+server_config, 'config/cluster.py') # whatever server, the config name is always the same!
def prepare_WRFrundir(self, init_time): def prepare_WRFrundir(self, init_time):
"""Create WRF/run directories and wrfinput files """Create WRF/run directories and wrfinput files
""" """
......
...@@ -19,7 +19,7 @@ At the command line: ...@@ -19,7 +19,7 @@ At the command line:
.. toctree:: .. toctree::
:hidden: :hidden:
self Home <self>
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment