Skip to content

Commit cf3089b

Browse files
committed
UPDATE: restart test updated
1 parent 0f94f7e commit cf3089b

File tree

4 files changed

+63
-32
lines changed

4 files changed

+63
-32
lines changed

tests/restarts/aether.first.json

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,37 @@
55
"iVerbose" : 0,
66
"dt" : 10.0},
77

8-
"GeoBlockSize" : {
9-
"nLons" : 18,
10-
"nLats" : 18,
11-
"nAlts" : 50},
8+
"neuGrid" : {
9+
"nLons" : 12,
10+
"nLats" : 12,
11+
"nAlts" : 30},
12+
13+
"ionGrid": {
14+
"dAltStretch": 0.2,
15+
"LatStretch": 1,
16+
"Shape": "dipole",
17+
"nLonsPerBlock": 18,
18+
"nLatsPerBlock" : 18,
19+
"nAlts":36,
20+
"LatMax":88,
21+
"MinAlt": 80.0,
22+
"MinApex": 125.0
23+
},
1224

1325
"StartTime" : [2011, 3, 20, 0, 0, 0],
14-
"EndTime" : [2011, 3, 20, 0, 15, 0],
26+
"EndTime" : [2011, 3, 20, 0, 5, 0],
1527

1628
"Electrodynamics" : {
17-
"File" : "UA/inputs/b20110320n_omni.bin"},
29+
"Potential" : "Weimer05",
30+
"DiffuseAurora" : "fta",
31+
"File": "UA/inputs/b20110320n_omni.bin"},
1832

1933
"OmniwebFiles" : ["UA/inputs/omni_20110319.txt"],
2034

35+
"Outputs" : {
36+
"type" : ["states"],
37+
"dt" : [60]},
38+
2139
"Restart" : {
2240
"do" : false,
2341
"dt" : 900.0}

tests/restarts/aether.second.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,9 @@
55
"iVerbose" : 0,
66
"dt" : 10.0},
77

8-
"GeoBlockSize" : {
9-
"nLons" : 18,
10-
"nLats" : 18,
11-
"nAlts" : 50},
12-
13-
"StartTime" : [2011, 3, 20, 0, 0, 0],
14-
"EndTime" : [2011, 3, 20, 0, 30, 0],
8+
"EndTime" : [2011, 3, 20, 0, 10, 0],
159

16-
"Electrodynamics" : {
17-
"File" : "UA/inputs/b20110320n_omni.bin"},
18-
19-
"OmniwebFiles" : ["UA/inputs/omni_20110319.txt"],
20-
2110
"Restart" : {
22-
"do" : true,
23-
"dt" : 900.0}
11+
"do" : true}
2412

2513
}

tests/restarts/aether.whole.json

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,37 @@
55
"iVerbose" : 0,
66
"dt" : 10.0},
77

8-
"GeoBlockSize" : {
9-
"nLons" : 18,
10-
"nLats" : 18,
11-
"nAlts" : 50},
8+
"neuGrid" : {
9+
"nLons" : 12,
10+
"nLats" : 12,
11+
"nAlts" : 30},
12+
13+
"ionGrid": {
14+
"dAltStretch": 0.2,
15+
"LatStretch": 1,
16+
"Shape": "dipole",
17+
"nLonsPerBlock": 18,
18+
"nLatsPerBlock" : 18,
19+
"nAlts":36,
20+
"LatMax":88,
21+
"MinAlt": 80.0,
22+
"MinApex": 125.0
23+
},
1224

1325
"StartTime" : [2011, 3, 20, 0, 0, 0],
14-
"EndTime" : [2011, 3, 20, 0, 30, 0],
26+
"EndTime" : [2011, 3, 20, 0, 10, 0],
1527

1628
"Electrodynamics" : {
17-
"File" : "UA/inputs/b20110320n_omni.bin"},
29+
"Potential" : "Weimer05",
30+
"DiffuseAurora" : "fta",
31+
"File": "UA/inputs/b20110320n_omni.bin"},
1832

1933
"OmniwebFiles" : ["UA/inputs/omni_20110319.txt"],
2034

35+
"Outputs" : {
36+
"type" : ["states"],
37+
"dt" : [60]},
38+
2139
"Restart" : {
2240
"do" : false,
2341
"dt" : 900.0}

tests/restarts/run_test.sh

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,25 @@ cd run.halves
77
# first part of the run
88
cp ../aether.first.json ./aether.json
99
./aether
10+
1011
cd UA ; rm -f restartIn ; cp -R restartOut restartIn ; cd ..
1112
# second part of the run
1213
cp ../aether.second.json ./aether.json
1314
./aether
15+
16+
1417
# plot the output
1518
cd UA/output
1619
../../../../../srcPython/postAether.py -alt=-1 -rm
1720

1821
# [O]:
19-
aether_plot_simple.py -var=density_O -alt=250 3DALL_20110320_003000.nc
22+
aether_plot_simple.py -var=density_O -alt=250 3DALG_20110320_00*.nc
2023
# Tn:
21-
aether_plot_simple.py -var=Temperature_neutral -alt=250 3DALL_20110320_003000.nc
24+
aether_plot_simple.py -var=Temperature_neutral -alt=250 3DALG_20110320_00*.nc
2225
# [e-]
23-
aether_plot_simple.py -var=density_e- -alt=250 3DALL_20110320_003000.nc
26+
aether_plot_simple.py -var=density_e- -alt=120 3DALG_20110320_00*.nc
27+
# East Velocity
28+
aether_plot_simple.py -var=velocity_east_neutral -alt=250 3DALG_20110320_00*.nc
2429

2530
cd ../../..
2631

@@ -32,11 +37,13 @@ cp ../aether.whole.json ./aether.json
3237
cd UA/output
3338
../../../../../srcPython/postAether.py -alt=-1 -rm
3439
# [O]:
35-
aether_plot_simple.py -var=density_O -alt=250 3DALL_20110320_003000.nc
40+
aether_plot_simple.py -var=density_O -alt=250 3DALG_20110320_00*.nc
3641
# Tn:
37-
aether_plot_simple.py -var=Temperature_neutral -alt=250 3DALL_20110320_003000.nc
42+
aether_plot_simple.py -var=Temperature_neutral -alt=250 3DALG_20110320_00*.nc
3843
# [e-]
39-
aether_plot_simple.py -var=density_e- -alt=250 3DALL_20110320_003000.nc
44+
aether_plot_simple.py -var=density_e- -alt=120 3DALG_20110320_00*.nc
45+
# East Velocity
46+
aether_plot_simple.py -var=velocity_east_neutral -alt=250 3DALG_20110320_00*.nc
4047

4148
cd ../../..
4249

0 commit comments

Comments
 (0)