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
9619a8cc
Commit
9619a8cc
authored
2 years ago
by
lkugler
Browse files
Options
Downloads
Patches
Plain Diff
.
parent
602001d4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cycled_exp.py
+4
-4
4 additions, 4 deletions
cycled_exp.py
with
4 additions
and
4 deletions
cycled_exp.py
+
4
−
4
View file @
9619a8cc
...
@@ -222,10 +222,10 @@ if __name__ == "__main__":
...
@@ -222,10 +222,10 @@ if __name__ == "__main__":
if
True
:
# random
if
True
:
# random
prior_path_exp
=
'
/jetfs/home/lkugler/data/sim_archive/exp_v1.19_P2_noDA
'
prior_path_exp
=
'
/jetfs/home/lkugler/data/sim_archive/exp_v1.19_P2_noDA
'
init_time
=
dt
.
datetime
(
2008
,
7
,
30
,
1
2
)
init_time
=
dt
.
datetime
(
2008
,
7
,
30
,
1
3
)
time
=
dt
.
datetime
(
2008
,
7
,
30
,
1
3
)
time
=
dt
.
datetime
(
2008
,
7
,
30
,
1
4
)
last_assim_time
=
dt
.
datetime
(
2008
,
7
,
30
,
14
)
last_assim_time
=
dt
.
datetime
(
2008
,
7
,
30
,
14
)
forecast_until
=
dt
.
datetime
(
2008
,
7
,
30
,
1
8
)
forecast_until
=
dt
.
datetime
(
2008
,
7
,
30
,
1
4
,
15
)
prepare_WRFrundir
(
init_time
)
prepare_WRFrundir
(
init_time
)
# id = run_ideal(depends_on=id)
# id = run_ideal(depends_on=id)
...
@@ -256,7 +256,7 @@ if __name__ == "__main__":
...
@@ -256,7 +256,7 @@ if __name__ == "__main__":
output_restart_interval
=
timedelta_btw_assim
.
total_seconds
()
/
60
output_restart_interval
=
timedelta_btw_assim
.
total_seconds
()
/
60
if
time
==
last_assim_time
:
#this_forecast_init.minute in [0,]: # longer forecast every full hour
if
time
==
last_assim_time
:
#this_forecast_init.minute in [0,]: # longer forecast every full hour
timedelta_integrate
=
forecast_until
-
last_assim_time
# dt.timedelta(hours=4)
timedelta_integrate
=
forecast_until
-
last_assim_time
# dt.timedelta(hours=4)
output_restart_interval
=
9999
#
timedelta_btw_assim.total_seconds()/60 # 9999
output_restart_interval
=
9999
#
no restart file after last assim
# 3) Run WRF ensemble
# 3) Run WRF ensemble
id
=
run_ENS
(
begin
=
time
,
# start integration from here
id
=
run_ENS
(
begin
=
time
,
# start integration from here
...
...
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