Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DART-WRF-delete_byApril
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DataAssimilation
DART-WRF-delete_byApril
Commits
be039200
Commit
be039200
authored
2 years ago
by
lkugler
Browse files
Options
Downloads
Patches
Plain Diff
.
parent
e6a1e4ad
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
cycled_exp.py
+3
-3
3 additions, 3 deletions
cycled_exp.py
dartwrf/utils.py
+3
-1
3 additions, 1 deletion
dartwrf/utils.py
with
6 additions
and
4 deletions
cycled_exp.py
+
3
−
3
View file @
be039200
...
@@ -7,7 +7,7 @@ if __name__ == "__main__":
...
@@ -7,7 +7,7 @@ if __name__ == "__main__":
"""
"""
Run a cycled OSSE with WRF and DART.
Run a cycled OSSE with WRF and DART.
"""
"""
w
=
WorkFlows
(
exp_config
=
'
cfg.py
'
,
server_config
=
'
jet
.py
'
)
w
=
WorkFlows
(
exp_config
=
'
cfg.py
'
,
server_config
=
'
srvx1
.py
'
)
timedelta_integrate
=
dt
.
timedelta
(
minutes
=
15
)
timedelta_integrate
=
dt
.
timedelta
(
minutes
=
15
)
timedelta_btw_assim
=
dt
.
timedelta
(
minutes
=
15
)
timedelta_btw_assim
=
dt
.
timedelta
(
minutes
=
15
)
...
@@ -15,7 +15,7 @@ if __name__ == "__main__":
...
@@ -15,7 +15,7 @@ if __name__ == "__main__":
id
=
None
id
=
None
if
False
:
# warm bubble
if
False
:
# warm bubble
prior_path_exp
=
'
/jetfs/
home
/lkugler/data/sim_archive/exp_v1.19_P3_wbub7_noDA
'
prior_path_exp
=
'
/jetfs/
scratch
/lkugler/data/sim_archive/exp_v1.19_P3_wbub7_noDA
'
init_time
=
dt
.
datetime
(
2008
,
7
,
30
,
12
)
init_time
=
dt
.
datetime
(
2008
,
7
,
30
,
12
)
time
=
dt
.
datetime
(
2008
,
7
,
30
,
12
,
30
)
time
=
dt
.
datetime
(
2008
,
7
,
30
,
12
,
30
)
...
@@ -27,7 +27,7 @@ if __name__ == "__main__":
...
@@ -27,7 +27,7 @@ if __name__ == "__main__":
# id = w.wrfinput_insert_wbubble(depends_on=id)
# id = w.wrfinput_insert_wbubble(depends_on=id)
if
True
:
# random
if
True
:
# random
prior_path_exp
=
'
/jetfs/
home
/lkugler/data/sim_archive/exp_v1.19_P2_noDA
'
prior_path_exp
=
'
/
mnt/
jetfs/
scratch
/lkugler/data/sim_archive/exp_v1.19_P2_noDA
'
init_time
=
dt
.
datetime
(
2008
,
7
,
30
,
12
)
init_time
=
dt
.
datetime
(
2008
,
7
,
30
,
12
)
time
=
dt
.
datetime
(
2008
,
7
,
30
,
13
)
time
=
dt
.
datetime
(
2008
,
7
,
30
,
13
)
...
...
This diff is collapsed.
Click to expand it.
dartwrf/utils.py
+
3
−
1
View file @
be039200
...
@@ -70,7 +70,9 @@ class ClusterConfig(object):
...
@@ -70,7 +70,9 @@ class ClusterConfig(object):
).
run
(
cmd
,
depends_on
=
depends_on
)
).
run
(
cmd
,
depends_on
=
depends_on
)
else
:
else
:
print
(
cmd
)
print
(
cmd
)
os
.
system
(
cmd
)
returncode
=
os
.
system
(
cmd
)
if
returncode
!=
0
:
raise
Exception
(
'
Error running command:
'
+
cmd
)
userhome
=
os
.
path
.
expanduser
(
'
~
'
)
userhome
=
os
.
path
.
expanduser
(
'
~
'
)
...
...
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