Skip to content

Commit 650bf81

Browse files
committed
FEAT: test for 1d simulations
1 parent 3483c75 commit 650bf81

File tree

2 files changed

+79
-0
lines changed

2 files changed

+79
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
2+
{
3+
"Ensembles" : {
4+
"nMembers" : 1},
5+
6+
"Debug" : {
7+
"iVerbose" : 0,
8+
"iFunctionVerbose" : {
9+
"Grid::create_altitudes": 0},
10+
"TimingPercent" : 10.0,
11+
"dt" : 10.0,
12+
"check_for_nans" : false
13+
},
14+
15+
"EndTime" : [2011, 3, 20, 2, 0, 0],
16+
17+
"GeoBlockSize" : {
18+
"nLons" : 18,
19+
"nLats" : 18,
20+
"nAlts" : 50},
21+
22+
"neuGrid" : {
23+
"Shape" : "sphere",
24+
"LatRange" : [10.0, 10.0],
25+
"nLatsPerBlock" : 1,
26+
"LonRange" : [20.0, 20.0],
27+
"nLonsPerBlock" : 1,
28+
"nAlts" : 50,
29+
"MinAlt" : 100.0,
30+
"dAltkm" : 5.0,
31+
"dAltScale" : 0.25,
32+
"IsUniformAlt" : false,
33+
"AltFile" : ""},
34+
35+
"ionGrid" : {
36+
"Shape" : "sphere",
37+
"LatRange" : [10.0, 10.0],
38+
"nLatsPerBlock" : 1,
39+
"LonRange" : [20.0, 20.0],
40+
"nLonsPerBlock" : 1,
41+
"nAlts" : 200,
42+
"MinAlt" : 80.0,
43+
"MinApex" : 120.0,
44+
"MaxAlt" : 1000.0,
45+
"IsUniformAlt" : true,
46+
"dAltkm" : 5.0,
47+
"AltFile" : ""},
48+
49+
"OmniwebFiles" : ["UA/inputs/omni_20110319.txt"],
50+
51+
"Electrodynamics" : {
52+
"Potential" : "Weimer05",
53+
"DiffuseAurora" : "fta",
54+
"File": "UA/inputs/b20110320n_omni.bin"},
55+
56+
"Outputs" : {
57+
"type" : ["states", "grid"],
58+
"dt" : [600, -1] },
59+
60+
"DoCalcBulkIonTemp" : false,
61+
62+
"PlanetFile" : "UA/inputs/earth.in"
63+
64+
}

tests/1d_alt_tube/run_test.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
3+
4+
rm -rf run.1d
5+
6+
cp -r ../../share/run ./run.1d
7+
cd run.1d
8+
cp ../aether.json.1d_alt_tube ./aether.json
9+
10+
./aether
11+
12+
cd UA/output
13+
14+
~/bin/postAether.py -rm -alt=-1
15+
~/bin/aether_plot_simple.py 3DALG_20110320_*.nc

0 commit comments

Comments
 (0)