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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DataAssimilation
DART-WRF
Commits
9cbaaa6d
Commit
9cbaaa6d
authored
2 years ago
by
lkugler
Browse files
Options
Downloads
Patches
Plain Diff
.
parent
4beb45f0
No related branches found
No related tags found
1 merge request
!3
Consolidate
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/cfg.py
+11
-11
11 additions, 11 deletions
config/cfg.py
dartwrf/assim_synth_obs.py
+1
-1
1 addition, 1 deletion
dartwrf/assim_synth_obs.py
templates/input.nml
+1
-1
1 addition, 1 deletion
templates/input.nml
with
13 additions
and
13 deletions
config/cfg.py
+
11
−
11
View file @
9cbaaa6d
from
dartwrf
import
utils
from
dartwrf
import
utils
exp
=
utils
.
Experiment
()
exp
=
utils
.
Experiment
()
exp
.
expname
=
"
obs-T_inflation-1.1
"
exp
.
expname
=
"
advDA_Raso-T_inf2-4
"
exp
.
model_dx
=
2000
exp
.
model_dx
=
2000
exp
.
n_ens
=
2
0
exp
.
n_ens
=
4
0
exp
.
filter_kind
=
1
exp
.
filter_kind
=
1
exp
.
prior_inflation
=
3
exp
.
prior_inflation
=
2
exp
.
inf_initial
=
1.1
exp
.
inf_initial
=
4
exp
.
post_inflation
=
0
exp
.
post_inflation
=
0
exp
.
sec
=
True
exp
.
sec
=
True
exp
.
cov_loc_vert_km_horiz_km
=
(
4
,
4
0
)
exp
.
cov_loc_vert_km_horiz_km
=
(
2
,
10
0
)
exp
.
superob_km
=
False
# False or int (spatial averaging of observations)
exp
.
superob_km
=
False
# False or int (spatial averaging of observations)
exp
.
adjust_obs_impact
=
False
exp
.
adjust_obs_impact
=
False
...
@@ -41,7 +41,7 @@ wv62 = dict(plotname='Brightness temperature WV 6.2µm', plotunits='[K]',
...
@@ -41,7 +41,7 @@ wv62 = dict(plotname='Brightness temperature WV 6.2µm', plotunits='[K]',
wv73
=
dict
(
plotname
=
'
Brightness temperature WV 7.3µm
'
,
plotunits
=
'
[K]
'
,
wv73
=
dict
(
plotname
=
'
Brightness temperature WV 7.3µm
'
,
plotunits
=
'
[K]
'
,
kind
=
'
MSG_4_SEVIRI_TB
'
,
sat_channel
=
6
,
kind
=
'
MSG_4_SEVIRI_TB
'
,
sat_channel
=
6
,
n_obs
=
961
,
obs_locations
=
'
square_array_evenly_on_grid
'
,
n_obs
=
961
,
obs_locations
=
'
square_array_evenly_on_grid
'
,
error_generate
=
1.
,
error_assimilate
=
3
.
,
error_generate
=
1.
,
error_assimilate
=
1
.
,
cov_loc_radius_km
=
20
)
cov_loc_radius_km
=
20
)
ir108
=
dict
(
plotname
=
'
Brightness temperature IR 10.8µm
'
,
plotunits
=
'
[K]
'
,
ir108
=
dict
(
plotname
=
'
Brightness temperature IR 10.8µm
'
,
plotunits
=
'
[K]
'
,
...
@@ -59,16 +59,16 @@ radar = dict(plotname='Radar reflectivity', plotunits='[dBz]',
...
@@ -59,16 +59,16 @@ radar = dict(plotname='Radar reflectivity', plotunits='[dBz]',
t
=
dict
(
plotname
=
'
Temperature
'
,
plotunits
=
'
[K]
'
,
t
=
dict
(
plotname
=
'
Temperature
'
,
plotunits
=
'
[K]
'
,
kind
=
'
RADIOSONDE_TEMPERATURE
'
,
kind
=
'
RADIOSONDE_TEMPERATURE
'
,
n_obs
=
961
,
obs_locations
=
'
square_array_evenly_on_grid
'
,
#
n_obs=961, obs_locations='square_array_evenly_on_grid',
#
n_obs=1, obs_locations=[(45., 0.)],
n_obs
=
1
,
obs_locations
=
[(
45.
,
0.
)],
error_generate
=
0.2
,
error_assimilate
=
0.2
,
error_generate
=
0.2
,
error_assimilate
=
0.2
,
heights
=
[
1000
,],
#
range(
1
00
0
, 17
0
01,
20
00),
heights
=
range
(
7
00
,
17
7
01
,
5
00
),
cov_loc_radius_km
=
4
0
)
cov_loc_radius_km
=
10
0
)
q
=
dict
(
plotname
=
'
Specific humidity
'
,
plotunits
=
'
[kg/kg]
'
,
q
=
dict
(
plotname
=
'
Specific humidity
'
,
plotunits
=
'
[kg/kg]
'
,
kind
=
'
RADIOSONDE_SPECIFIC_HUMIDITY
'
,
n_obs
=
1
,
kind
=
'
RADIOSONDE_SPECIFIC_HUMIDITY
'
,
n_obs
=
1
,
error_generate
=
0.
,
error_assimilate
=
5
*
1e-5
,
error_generate
=
0.
,
error_assimilate
=
5
*
1e-5
,
heights
=
[
1
0
00
],
#range(1000, 17001, 2000),
heights
=
[
1
5
00
],
#range(1000, 17001, 2000),
cov_loc_radius_km
=
0.1
)
cov_loc_radius_km
=
0.1
)
t2m
=
dict
(
plotname
=
'
SYNOP Temperature
'
,
plotunits
=
'
[K]
'
,
t2m
=
dict
(
plotname
=
'
SYNOP Temperature
'
,
plotunits
=
'
[K]
'
,
...
...
This diff is collapsed.
Click to expand it.
dartwrf/assim_synth_obs.py
+
1
−
1
View file @
9cbaaa6d
...
@@ -476,7 +476,7 @@ def prepare_inflation_2(time, prior_init_time):
...
@@ -476,7 +476,7 @@ def prepare_inflation_2(time, prior_init_time):
if
os
.
path
.
isfile
(
f_prior
):
if
os
.
path
.
isfile
(
f_prior
):
copy
(
f_prior
,
f_new
)
copy
(
f_prior
,
f_new
)
print
(
f_prior
,
'
copied to
'
,
f_new
)
print
(
f_prior
,
'
copied to
'
,
f_new
)
else
:
else
:
# no prior inflation file at the first assimilation
warnings
.
warn
(
f_prior
+
'
does not exist. Using default file instead.
'
)
warnings
.
warn
(
f_prior
+
'
does not exist. Using default file instead.
'
)
copy
(
f_default
,
f_new
)
copy
(
f_default
,
f_new
)
...
...
This diff is collapsed.
Click to expand it.
templates/input.nml
+
1
−
1
View file @
9cbaaa6d
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
inf_initial = <inf_initial>, 0.90,
inf_initial = <inf_initial>, 0.90,
inf_lower_bound = 1.0, 1.0,
inf_lower_bound = 1.0, 1.0,
inf_upper_bound = 1000000.0, 1000000.0,
inf_upper_bound = 1000000.0, 1000000.0,
inf_damping =
0.9
, 1.0,
inf_damping =
1.0
, 1.0,
inf_sd_initial = 0.6, 0.0,
inf_sd_initial = 0.6, 0.0,
inf_sd_lower_bound = 0.6, 0.0,
inf_sd_lower_bound = 0.6, 0.0,
inf_sd_max_change = 1.05, 1.05,
inf_sd_max_change = 1.05, 1.05,
...
...
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