Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DART-WRF
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DataAssimilation
DART-WRF
Commits
af7a41ea
Commit
af7a41ea
authored
10 months ago
by
lkugler
Browse files
Options
Downloads
Patches
Plain Diff
prints
parent
e42219d2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dartwrf/workflows.py
+8
-5
8 additions, 5 deletions
dartwrf/workflows.py
with
8 additions
and
5 deletions
dartwrf/workflows.py
+
8
−
5
View file @
af7a41ea
...
...
@@ -89,7 +89,10 @@ class WorkFlows(object):
txt
+=
'
}
'
f
.
write
(
txt
)
print
(
'
------ start exp from
'
,
exp_config
,
'
and
'
,
server_config
,
'
------
'
)
print
(
'
------------------------------------------------------
'
)
print
(
'
>>> Starting experiment ...
'
)
print
(
'
>>> Experiment configuration:
"
./config/
'
+
exp_config
+
'"
'
)
print
(
'
>>> Server configuration:
"
./config/
'
+
server_config
+
'"'
)
#### 1
# copy the selected config files (arguments to Workflows(...)) to the scripts directory
...
...
@@ -133,13 +136,13 @@ class WorkFlows(object):
#### 6
# Set paths and backup scripts
self
.
cluster
.
log_dir
=
self
.
cluster
.
archivedir
+
'
/logs/
'
print
(
'
l
ogging to
'
,
self
.
cluster
.
log_dir
)
print
(
'
>>> L
ogging to
:
"'
+
self
.
cluster
.
log_dir
+
'"'
)
if
self
.
cluster
.
use_slurm
:
self
.
cluster
.
slurm_scripts_dir
=
self
.
cluster
.
archivedir
+
'
/slurm-scripts/
'
print
(
'
SLURM scripts
will be in
'
,
self
.
cluster
.
slurm_scripts_dir
)
print
(
'
>>>
SLURM scripts
stored in:
"
'
,
self
.
cluster
.
slurm_scripts_dir
+
'"'
)
print
(
'
------ dartwrf
experiment initialized
------
'
)
print
(
'
--------------------------------------------
'
)
print
(
'
>>> DART-WRF
experiment initialized
.
'
)
print
(
'
--------------------------------------------
----------
'
)
def
prepare_WRFrundir
(
self
,
init_time
):
"""
Prepare WRF run directories for all ensemble members
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment