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
4871dd25
Commit
4871dd25
authored
3 years ago
by
lkugler
Browse files
Options
Downloads
Patches
Plain Diff
.
parent
99fd4eea
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
scheduler.py
+7
-5
7 additions, 5 deletions
scheduler.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
8 additions
and
6 deletions
scheduler.py
+
7
−
5
View file @
4871dd25
...
@@ -182,7 +182,7 @@ def update_IC_from_DA(assim_time, depends_on=None):
...
@@ -182,7 +182,7 @@ def update_IC_from_DA(assim_time, depends_on=None):
def
create_satimages
(
init_time
,
depends_on
=
None
):
def
create_satimages
(
init_time
,
depends_on
=
None
):
s
=
my_Slurm
(
"
pRTTOV
"
,
cfg_update
=
{
"
ntasks
"
:
"
48
"
,
"
time
"
:
"
60
"
,
"
nodes
"
:
"
1
"
})
s
=
my_Slurm
(
"
pRTTOV
"
,
cfg_update
=
{
"
ntasks
"
:
"
48
"
,
"
time
"
:
"
60
"
,
"
nodes
"
:
"
1
"
})
id
=
s
.
run
(
cluster
.
python
+
'
/home/fs71386/lkugler/RTTOV-WRF/run_init.py
'
+
cluster
.
archivedir
id
=
s
.
run
(
'
/home/fs71386/lkugler/RTTOV-WRF/withmodules
/home/fs71386/lkugler/RTTOV-WRF/run_init.py
'
+
cluster
.
archivedir
+
init_time
.
strftime
(
'
/%Y-%m-%d_%H:%M/
'
),
+
init_time
.
strftime
(
'
/%Y-%m-%d_%H:%M/
'
),
depends_on
=
[
depends_on
])
depends_on
=
[
depends_on
])
return
id
return
id
...
@@ -203,7 +203,7 @@ def gen_obsseq(depends_on=None):
...
@@ -203,7 +203,7 @@ def gen_obsseq(depends_on=None):
def
verify
(
depends_on
=
None
):
def
verify
(
depends_on
=
None
):
s
=
my_Slurm
(
"
verify-
"
+
exp
.
expname
,
cfg_update
=
{
"
time
"
:
"
240
"
,
"
mail-type
"
:
"
FAIL,END
"
,
s
=
my_Slurm
(
"
verify-
"
+
exp
.
expname
,
cfg_update
=
{
"
time
"
:
"
240
"
,
"
mail-type
"
:
"
FAIL,END
"
,
"
ntasks
"
:
"
96
"
,
"
ntasks-per-node
"
:
"
96
"
,
"
ntasks-per-core
"
:
"
2
"
})
"
ntasks
"
:
"
40
"
,
"
ntasks-per-node
"
:
"
40
"
,
"
ntasks-per-core
"
:
"
1
"
})
s
.
run
(
cluster
.
python_enstools
+
'
/home/fs71386/lkugler/osse_analysis/analyze_fc.py
'
+
exp
.
expname
+
'
has_node
'
,
s
.
run
(
cluster
.
python_enstools
+
'
/home/fs71386/lkugler/osse_analysis/analyze_fc.py
'
+
exp
.
expname
+
'
has_node
'
,
depends_on
=
[
depends_on
])
depends_on
=
[
depends_on
])
...
@@ -254,13 +254,15 @@ if __name__ == "__main__":
...
@@ -254,13 +254,15 @@ if __name__ == "__main__":
# How long shall we integrate?
# How long shall we integrate?
timedelta_integrate
=
timedelta_btw_assim
timedelta_integrate
=
timedelta_btw_assim
output_restart_interval
=
timedelta_btw_assim
.
total_seconds
()
/
60
if
time
==
dt
.
datetime
(
2008
,
7
,
30
,
13
,
30
):
#this_forecast_init.minute in [0,]: # longer forecast every full hour
if
time
==
dt
.
datetime
(
2008
,
7
,
30
,
13
,
30
):
#this_forecast_init.minute in [0,]: # longer forecast every full hour
timedelta_integrate
=
dt
.
timedelta
(
hours
=
2
)
timedelta_integrate
=
dt
.
timedelta
(
hours
=
3
)
output_restart_interval
=
9999
# 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
end
=
time
+
timedelta_integrate
,
# integrate until here
end
=
time
+
timedelta_integrate
,
# integrate until here
output_restart_interval
=
timedelta_btw_assim
.
total_seconds
()
/
60
,
output_restart_interval
=
output_restart_interval
,
depends_on
=
id
)
depends_on
=
id
)
# as we have WRF output, we can use own exp path as prior
# as we have WRF output, we can use own exp path as prior
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
4871dd25
...
@@ -21,7 +21,7 @@ def read_requirements(fname):
...
@@ -21,7 +21,7 @@ def read_requirements(fname):
setuptools
.
setup
(
setuptools
.
setup
(
name
=
"
dartwrf
"
,
name
=
"
dartwrf
"
,
version
=
"
202
1.12.14
"
,
version
=
"
202
2.02.03
"
,
author
=
"
Lukas Kugler
"
,
author
=
"
Lukas Kugler
"
,
author_email
=
"
lukas.kugler@univie.ac.at
"
,
author_email
=
"
lukas.kugler@univie.ac.at
"
,
description
=
"
Observing system simulation experiments with WRF and DART
"
,
description
=
"
Observing system simulation experiments with WRF and DART
"
,
...
...
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