Vlasiator
ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
plot_ionosphere.py
Go to the documentation of this file.
1
#!/usr/bin/python3
2
import
sys
3
import
pytools
as
pt
4
import
matplotlib.pyplot
as
plt
5
from
mpl_toolkits.axes_grid1.inset_locator
import
inset_axes
6
import
matplotlib.patches
as
patches
7
8
#for step in range(int(sys.argv[1]), int(sys.argv[2])):
9
filename = sys.argv[1]
10
#what = sys.argv[2]
11
#pole = sys.argv[3]
12
#if pole == "south":
13
# pole = -1
14
#else:
15
# pole = 1
16
17
pt.plot.plot_ionosphere(filename=filename,outputdir=
"./ionosphereplot/"
,var=
"ig_fac"
,vmin=-.5, vmax=.5, lin=
True
, wmark=
"NE"
, minlatitude=40)
18
#pt.plot.plot_ionosphere(filename=inputfile,outputdir="./ionosphereplot/",var="ig_sigmah",vmin=0, vmax=1e-3, colormap="viridis", lin=True, wmark="NE")
19
#pt.plot.plot_ionosphere(filename=inputfile,outputdir="./ionosphereplot/",var="ig_sigmap",vmin=0, vmax=1e-3, colormap="viridis", lin=True, wmark="NE")
20
pt.plot.plot_ionosphere(filename=filename,outputdir=
"./ionosphereplot/"
,var=
"ig_potential"
, colormap=
"PuOr"
, vmin=-1e12, vmax=1e12, lin=
True
, wmark=
"NE"
, symmetric=
True
, minlatitude=40)
21
#pt.plot.plot_ionosphere(filename=inputfile,outputdir="./ionosphereplot/",var="ig_rhon", colormap="turbo", vmin=0, vmax=1e8, wmark="NE")
mini-apps
ionosphereSolverTests
plot_ionosphere.py
Generated on
for Vlasiator by
1.16.1