Skip to content

Commit 1d86115

Browse files
committed
results_gen.py: RB LocErr experiments updated with larger localisation regions now.
1 parent 6b70285 commit 1d86115

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

RKLM_Python/results_gen.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@
5252
# generate Euler ensemble simulations for
5353
# section 5c1 with assimilation of all
5454
# fields
55-
gen_5c1_euler_full = True
55+
gen_5c1_euler_full = False
5656
# generate rising bubble ensemble
5757
# simulations for section 5c2 with
5858
# assimilation of the momenta fields
5959
# along with the truth / obs
6060
gen_5b_5c2_rb = False
6161

62-
gen_loc_errors_tc = False
63-
gen_loc_errors_rb = False
62+
gen_loc_errors_tv = False
63+
gen_loc_errors_rb = True
6464

6565
# Otherwise, if gen_all = True, generate all
6666
# results
@@ -623,7 +623,7 @@
623623

624624

625625

626-
if gen_loc_errors_tc or gen_all:
626+
if gen_loc_errors_tv or gen_all:
627627
# Set ensemble with 10 members
628628
rp.N = 10
629629
# Euler travelling vortex experiment
@@ -770,7 +770,7 @@
770770
# Euler travelling vortex experiment
771771
rp.tc = 'rb'
772772
ud = {
773-
'aux' : 'wda_CFLfixed_63',
773+
'aux' : 'wda_CFLfixed_179_79',
774774
# Do blending for initial time-step
775775
'initial_blending' : True
776776
}
@@ -781,16 +781,16 @@
781781
'obs_attrs' : ['rhou', 'rhov'],
782782
# Path to the generated observation
783783
'obs_path' : path_to_obs + 'output_rising_bubble/output_rising_bubble_ensemble=1_160_80_1.0_truth_CFLfixed_ib-0.h5',
784-
'loc_setter' : (63,63)
784+
'loc_setter' : (179,79)
785785
}
786786

787787
# run simulation
788788
rp.ud = json.dumps(ud)
789789
rp.dap = json.dumps(dap)
790-
# rp.queue_run()
790+
rp.queue_run()
791791

792792
ud = {
793-
'aux' : 'wda_CFLfixed_63',
793+
'aux' : 'wda_CFLfixed_179_79',
794794
# Do blending for initial time-step
795795
'initial_blending' : True,
796796
'continuous_blending' : True
@@ -799,11 +799,11 @@
799799
# run simulation
800800
rp.ud = json.dumps(ud)
801801
rp.dap = json.dumps(dap)
802-
# rp.queue_run()
802+
rp.queue_run()
803803

804804

805805
ud = {
806-
'aux' : 'wda_CFLfixed_31',
806+
'aux' : 'wda_CFLfixed_79',
807807
# Do blending for initial time-step
808808
'initial_blending' : True
809809
}
@@ -816,7 +816,7 @@
816816
'obs_attrs' : ['rhou', 'rhov'],
817817
# Path to the generated observation
818818
'obs_path' : path_to_obs + 'output_rising_bubble/output_rising_bubble_ensemble=1_160_80_1.0_truth_CFLfixed_ib-0.h5',
819-
'loc_setter' : (31,31)
819+
'loc_setter' : (79,79)
820820
}
821821

822822
# run simulation
@@ -825,7 +825,7 @@
825825
rp.queue_run()
826826

827827
ud = {
828-
'aux' : 'wda_CFLfixed_31',
828+
'aux' : 'wda_CFLfixed_79',
829829
# Do blending for initial time-step
830830
'initial_blending' : True,
831831
'continuous_blending' : True
@@ -838,7 +838,7 @@
838838

839839

840840
ud = {
841-
'aux' : 'wda_CFLfixed_21',
841+
'aux' : 'wda_CFLfixed_41',
842842
# Do blending for initial time-step
843843
'initial_blending' : True
844844
}
@@ -850,7 +850,7 @@
850850
'obs_attrs' : ['rhou', 'rhov'],
851851
# Path to the generated observation
852852
'obs_path' : path_to_obs + 'output_rising_bubble/output_rising_bubble_ensemble=1_160_80_1.0_truth_CFLfixed_ib-0.h5',
853-
'loc_setter' : (21,21)
853+
'loc_setter' : (41,41)
854854
}
855855

856856
# run simulation
@@ -859,7 +859,7 @@
859859
rp.queue_run()
860860

861861
ud = {
862-
'aux' : 'wda_CFLfixed_21',
862+
'aux' : 'wda_CFLfixed_41',
863863
# Do blending for initial time-step
864864
'initial_blending' : True,
865865
'continuous_blending' : True
@@ -919,7 +919,7 @@
919919
gen_5c1_euler_momenta == False and \
920920
gen_5c1_euler_full == False and \
921921
gen_5b_5c2_rb == False and \
922-
gen_loc_errors_tc == False and \
922+
gen_loc_errors_tv == False and \
923923
gen_loc_errors_rb == False and \
924924
gen_all == False:
925925
print("no results generated, all switches were set to False")

0 commit comments

Comments
 (0)