(latest updated: Mar., 2024)
This notebook shows how to load and plot Arase satellite data with pySPEDAS and pyTplot.
Please refer to the following website for the details of the data.
https://ergsc.isee.nagoya-u.ac.jp/data_info/erg.shtml.en
If you are using the Google Colaboratory and have not had the PySPEDAS module installed, please run the following !pip install pyspedas
command to get it ready. If you run your own Python session on your local PC, you have to install the PySPEDAS module beforehand, with the same pip
command (without "!").
The second pip
command with a github URL is to install the bleeding-edge distribution of the ERG submodule developed by ERG-SC. This distribution always delivers the latest development version of only the ERG-SC plug-in module for ERG satellite and ground data. The downside, however, is that some modules are in an highly experimental phase and not fully tested, possibly containing unresolved bugs. You should use it at your own risk. Because this module is installed as ergpyspedas module, you can load it with import ergpyspedas
.
If you would like to use the stable distribution of the ERG-SC submodule, you only have to install the official PySPEDAS module using the first pip
command: PySPEDAS always contain a stable version of the ERG-SC plug-in. So just skip the second one.
!pip install pyspedas
!pip install git+https://github.com/ergsc-devel/pyspedas_plugin.git
Collecting pyspedas Downloading pyspedas-1.5.6-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 8.1 MB/s eta 0:00:00 Requirement already satisfied: numpy>=1.19.5 in /usr/local/lib/python3.10/dist-packages (from pyspedas) (1.25.2) Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from pyspedas) (2.31.0) Collecting geopack>=1.0.10 (from pyspedas) Downloading geopack-1.0.10-py3-none-any.whl (114 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.6/114.6 kB 14.0 MB/s eta 0:00:00 Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from pyspedas) (1.11.4) Collecting cdflib<1.0.0 (from pyspedas) Downloading cdflib-0.4.9-py3-none-any.whl (72 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.9/72.9 kB 8.4 MB/s eta 0:00:00 Collecting cdasws>=1.7.24 (from pyspedas) Downloading cdasws-1.7.43.tar.gz (21 kB) Preparing metadata (setup.py) ... done Collecting netCDF4>=1.6.2 (from pyspedas) Downloading netCDF4-1.6.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 21.2 MB/s eta 0:00:00 Requirement already satisfied: pywavelets in /usr/local/lib/python3.10/dist-packages (from pyspedas) (1.5.0) Requirement already satisfied: astropy in /usr/local/lib/python3.10/dist-packages (from pyspedas) (5.3.4) Collecting hapiclient>=0.2.2 (from pyspedas) Downloading hapiclient-0.2.5.tar.gz (31 kB) Preparing metadata (setup.py) ... done Collecting pytplot-mpl-temp>=2.2.6 (from pyspedas) Downloading pytplot_mpl_temp-2.2.6-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 27.8 MB/s eta 0:00:00 Collecting viresclient (from pyspedas) Downloading viresclient-0.11.6-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.2/97.2 kB 11.0 MB/s eta 0:00:00 Requirement already satisfied: python-dateutil>=2.8.0 in /usr/local/lib/python3.10/dist-packages (from cdasws>=1.7.24->pyspedas) (2.8.2) Collecting isodate>=0.6.0 (from hapiclient>=0.2.2->pyspedas) Downloading isodate-0.6.1-py2.py3-none-any.whl (41 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 kB 4.5 MB/s eta 0:00:00 Requirement already satisfied: urllib3 in /usr/local/lib/python3.10/dist-packages (from hapiclient>=0.2.2->pyspedas) (2.0.7) Requirement already satisfied: joblib in /usr/local/lib/python3.10/dist-packages (from hapiclient>=0.2.2->pyspedas) (1.3.2) Requirement already satisfied: pandas>=0.23 in /usr/local/lib/python3.10/dist-packages (from hapiclient>=0.2.2->pyspedas) (1.5.3) Collecting cftime (from netCDF4>=1.6.2->pyspedas) Downloading cftime-1.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 29.7 MB/s eta 0:00:00 Requirement already satisfied: certifi in /usr/local/lib/python3.10/dist-packages (from netCDF4>=1.6.2->pyspedas) (2024.2.2) Requirement already satisfied: matplotlib>=3.4 in /usr/local/lib/python3.10/dist-packages (from pytplot-mpl-temp>=2.2.6->pyspedas) (3.7.1) Requirement already satisfied: xarray in /usr/local/lib/python3.10/dist-packages (from pytplot-mpl-temp>=2.2.6->pyspedas) (2023.7.0) Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->pyspedas) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->pyspedas) (3.6) Requirement already satisfied: pyerfa>=2.0 in /usr/local/lib/python3.10/dist-packages (from astropy->pyspedas) (2.0.1.1) Requirement already satisfied: PyYAML>=3.13 in /usr/local/lib/python3.10/dist-packages (from astropy->pyspedas) (6.0.1) Requirement already satisfied: packaging>=19.0 in /usr/local/lib/python3.10/dist-packages (from astropy->pyspedas) (23.2) Requirement already satisfied: Jinja2>=2.10 in /usr/local/lib/python3.10/dist-packages (from viresclient->pyspedas) (3.1.3) Requirement already satisfied: tables>=3.4.4 in /usr/local/lib/python3.10/dist-packages (from viresclient->pyspedas) (3.8.0) Requirement already satisfied: tqdm>=4.23.0 in /usr/local/lib/python3.10/dist-packages (from viresclient->pyspedas) (4.66.2) Requirement already satisfied: six in /usr/local/lib/python3.10/dist-packages (from isodate>=0.6.0->hapiclient>=0.2.2->pyspedas) (1.16.0) Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from Jinja2>=2.10->viresclient->pyspedas) (2.1.5) Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas) (1.2.0) Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas) (4.49.0) Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas) (1.4.5) Requirement already satisfied: pillow>=6.2.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas) (9.4.0) Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas) (3.1.1) Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas>=0.23->hapiclient>=0.2.2->pyspedas) (2023.4) Requirement already satisfied: cython>=0.29.21 in /usr/local/lib/python3.10/dist-packages (from tables>=3.4.4->viresclient->pyspedas) (3.0.9) Requirement already satisfied: numexpr>=2.6.2 in /usr/local/lib/python3.10/dist-packages (from tables>=3.4.4->viresclient->pyspedas) (2.9.0) Requirement already satisfied: blosc2~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from tables>=3.4.4->viresclient->pyspedas) (2.0.0) Requirement already satisfied: py-cpuinfo in /usr/local/lib/python3.10/dist-packages (from tables>=3.4.4->viresclient->pyspedas) (9.0.0) Requirement already satisfied: msgpack in /usr/local/lib/python3.10/dist-packages (from blosc2~=2.0.0->tables>=3.4.4->viresclient->pyspedas) (1.0.8) Building wheels for collected packages: cdasws, hapiclient Building wheel for cdasws (setup.py) ... done Created wheel for cdasws: filename=cdasws-1.7.43-py3-none-any.whl size=24966 sha256=d95d5dc51cfca5ecec701ac486ed0a5371fa78ed8b01bea02b79e072585edf08 Stored in directory: /root/.cache/pip/wheels/42/7d/60/311aabe5b088ca183bc91895ebfeb64b4da46d9882eeffcd8a Building wheel for hapiclient (setup.py) ... done Created wheel for hapiclient: filename=hapiclient-0.2.5-py3-none-any.whl size=32086 sha256=598c2b19c5fb1dc21f98102aed470c24a98f4274e944067c105193f72086e19e Stored in directory: /root/.cache/pip/wheels/90/8e/07/f3455ba4946d21a8b089d63e325df9fa2cb84e5a7873d77ff4 Successfully built cdasws hapiclient Installing collected packages: isodate, cftime, cdflib, netCDF4, geopack, cdasws, hapiclient, viresclient, pytplot-mpl-temp, pyspedas Successfully installed cdasws-1.7.43 cdflib-0.4.9 cftime-1.6.3 geopack-1.0.10 hapiclient-0.2.5 isodate-0.6.1 netCDF4-1.6.5 pyspedas-1.5.6 pytplot-mpl-temp-2.2.6 viresclient-0.11.6 Collecting git+https://github.com/ergsc-devel/pyspedas_plugin.git Cloning https://github.com/ergsc-devel/pyspedas_plugin.git to /tmp/pip-req-build-azrekbrl Running command git clone --filter=blob:none --quiet https://github.com/ergsc-devel/pyspedas_plugin.git /tmp/pip-req-build-azrekbrl Resolved https://github.com/ergsc-devel/pyspedas_plugin.git to commit 4ebbbed9bbaea1284bbf14d2325b7e9c42f350bb Preparing metadata (setup.py) ... done Requirement already satisfied: pyspedas>=1.2.8 in /usr/local/lib/python3.10/dist-packages (from ergpyspedas==0.0) (1.5.6) Requirement already satisfied: numpy>=1.19.5 in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (1.25.2) Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (2.31.0) Requirement already satisfied: geopack>=1.0.10 in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (1.0.10) Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (1.11.4) Requirement already satisfied: cdflib<1.0.0 in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (0.4.9) Requirement already satisfied: cdasws>=1.7.24 in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (1.7.43) Requirement already satisfied: netCDF4>=1.6.2 in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (1.6.5) Requirement already satisfied: pywavelets in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (1.5.0) Requirement already satisfied: astropy in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (5.3.4) Requirement already satisfied: hapiclient>=0.2.2 in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (0.2.5) Requirement already satisfied: pytplot-mpl-temp>=2.2.6 in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (2.2.6) Requirement already satisfied: viresclient in /usr/local/lib/python3.10/dist-packages (from pyspedas>=1.2.8->ergpyspedas==0.0) (0.11.6) Requirement already satisfied: python-dateutil>=2.8.0 in /usr/local/lib/python3.10/dist-packages (from cdasws>=1.7.24->pyspedas>=1.2.8->ergpyspedas==0.0) (2.8.2) Requirement already satisfied: isodate>=0.6.0 in /usr/local/lib/python3.10/dist-packages (from hapiclient>=0.2.2->pyspedas>=1.2.8->ergpyspedas==0.0) (0.6.1) Requirement already satisfied: urllib3 in /usr/local/lib/python3.10/dist-packages (from hapiclient>=0.2.2->pyspedas>=1.2.8->ergpyspedas==0.0) (2.0.7) Requirement already satisfied: joblib in /usr/local/lib/python3.10/dist-packages (from hapiclient>=0.2.2->pyspedas>=1.2.8->ergpyspedas==0.0) (1.3.2) Requirement already satisfied: pandas>=0.23 in /usr/local/lib/python3.10/dist-packages (from hapiclient>=0.2.2->pyspedas>=1.2.8->ergpyspedas==0.0) (1.5.3) Requirement already satisfied: cftime in /usr/local/lib/python3.10/dist-packages (from netCDF4>=1.6.2->pyspedas>=1.2.8->ergpyspedas==0.0) (1.6.3) Requirement already satisfied: certifi in /usr/local/lib/python3.10/dist-packages (from netCDF4>=1.6.2->pyspedas>=1.2.8->ergpyspedas==0.0) (2024.2.2) Requirement already satisfied: matplotlib>=3.4 in /usr/local/lib/python3.10/dist-packages (from pytplot-mpl-temp>=2.2.6->pyspedas>=1.2.8->ergpyspedas==0.0) (3.7.1) Requirement already satisfied: xarray in /usr/local/lib/python3.10/dist-packages (from pytplot-mpl-temp>=2.2.6->pyspedas>=1.2.8->ergpyspedas==0.0) (2023.7.0) Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->pyspedas>=1.2.8->ergpyspedas==0.0) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->pyspedas>=1.2.8->ergpyspedas==0.0) (3.6) Requirement already satisfied: pyerfa>=2.0 in /usr/local/lib/python3.10/dist-packages (from astropy->pyspedas>=1.2.8->ergpyspedas==0.0) (2.0.1.1) Requirement already satisfied: PyYAML>=3.13 in /usr/local/lib/python3.10/dist-packages (from astropy->pyspedas>=1.2.8->ergpyspedas==0.0) (6.0.1) Requirement already satisfied: packaging>=19.0 in /usr/local/lib/python3.10/dist-packages (from astropy->pyspedas>=1.2.8->ergpyspedas==0.0) (23.2) Requirement already satisfied: Jinja2>=2.10 in /usr/local/lib/python3.10/dist-packages (from viresclient->pyspedas>=1.2.8->ergpyspedas==0.0) (3.1.3) Requirement already satisfied: tables>=3.4.4 in /usr/local/lib/python3.10/dist-packages (from viresclient->pyspedas>=1.2.8->ergpyspedas==0.0) (3.8.0) Requirement already satisfied: tqdm>=4.23.0 in /usr/local/lib/python3.10/dist-packages (from viresclient->pyspedas>=1.2.8->ergpyspedas==0.0) (4.66.2) Requirement already satisfied: six in /usr/local/lib/python3.10/dist-packages (from isodate>=0.6.0->hapiclient>=0.2.2->pyspedas>=1.2.8->ergpyspedas==0.0) (1.16.0) Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from Jinja2>=2.10->viresclient->pyspedas>=1.2.8->ergpyspedas==0.0) (2.1.5) Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas>=1.2.8->ergpyspedas==0.0) (1.2.0) Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas>=1.2.8->ergpyspedas==0.0) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas>=1.2.8->ergpyspedas==0.0) (4.49.0) Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas>=1.2.8->ergpyspedas==0.0) (1.4.5) Requirement already satisfied: pillow>=6.2.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas>=1.2.8->ergpyspedas==0.0) (9.4.0) Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.4->pytplot-mpl-temp>=2.2.6->pyspedas>=1.2.8->ergpyspedas==0.0) (3.1.1) Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas>=0.23->hapiclient>=0.2.2->pyspedas>=1.2.8->ergpyspedas==0.0) (2023.4) Requirement already satisfied: cython>=0.29.21 in /usr/local/lib/python3.10/dist-packages (from tables>=3.4.4->viresclient->pyspedas>=1.2.8->ergpyspedas==0.0) (3.0.9) Requirement already satisfied: numexpr>=2.6.2 in /usr/local/lib/python3.10/dist-packages (from tables>=3.4.4->viresclient->pyspedas>=1.2.8->ergpyspedas==0.0) (2.9.0) Requirement already satisfied: blosc2~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from tables>=3.4.4->viresclient->pyspedas>=1.2.8->ergpyspedas==0.0) (2.0.0) Requirement already satisfied: py-cpuinfo in /usr/local/lib/python3.10/dist-packages (from tables>=3.4.4->viresclient->pyspedas>=1.2.8->ergpyspedas==0.0) (9.0.0) Requirement already satisfied: msgpack in /usr/local/lib/python3.10/dist-packages (from blosc2~=2.0.0->tables>=3.4.4->viresclient->pyspedas>=1.2.8->ergpyspedas==0.0) (1.0.8) Building wheels for collected packages: ergpyspedas Building wheel for ergpyspedas (setup.py) ... done Created wheel for ergpyspedas: filename=ergpyspedas-0.0-py3-none-any.whl size=127183 sha256=872790e1658c5a9da2981817491ed35b0befec94413b58eaa95896f3ad6c1f25 Stored in directory: /tmp/pip-ephem-wheel-cache-1iwugjxl/wheels/2d/b2/b6/129f10f43b339c8dac1168f30222747da75389440736fb5023 Successfully built ergpyspedas Installing collected packages: ergpyspedas Successfully installed ergpyspedas-0.0
The following commands import some necessary modules for loading and plotting the data.
import pyspedas
import pytplot
from pytplot.tplot import tplot # As a shortcut for pytplot.tplot()
For example, the data-load module for the MGF data can be imported with the following command:
from pyspedas.erg import mgf
With MGF data, let us introduce some basic commands of pyTplot and pySPEDAS, which are used commonly for loading and visualizing data. Also see the official document of the pyTplot module at:
https://pytplot.readthedocs.io/en/latest/index.html
from pyspedas.erg import mgf
tr=['2017-09-07', '2017-09-09'] # Set time range to load MGF data.
vars = mgf( trange=tr ) # load MGF Lv.2 8-s data for 7-9 September, 2017.
tplot('erg_mgf_l2_mag_8sec_sm' ) # Plot MGF Lv.2 8-s data.
11-Mar-24 09:03:17: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mgf/l2/8sec/2017/09/ 11-Mar-24 09:03:18: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mgf/l2/8sec/2017/09/erg_mgf_l2_8sec_20170907_v03.04.cdf to erg_data/satellite/erg/mgf/l2/8sec/2017/09/erg_mgf_l2_8sec_20170907_v03.04.cdf 11-Mar-24 09:03:19: Download complete: erg_data/satellite/erg/mgf/l2/8sec/2017/09/erg_mgf_l2_8sec_20170907_v03.04.cdf 11-Mar-24 09:03:20: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mgf/l2/8sec/2017/09/erg_mgf_l2_8sec_20170908_v03.04.cdf to erg_data/satellite/erg/mgf/l2/8sec/2017/09/erg_mgf_l2_8sec_20170908_v03.04.cdf 11-Mar-24 09:03:21: Download complete: erg_data/satellite/erg/mgf/l2/8sec/2017/09/erg_mgf_l2_8sec_20170908_v03.04.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Magnetic Field Experiment (MGF) Level 2 spin-averaged magnetic field data Information about ERG MGF PI: Ayako Matsuoka Affiliation: Data Analysis Center for Geomagnetism and Space Magnetism, Graduate School of Science, Kyoto University, Kitashirakawa-Oiwake Cho, Sakyo-ku Kyoto 606-8502, Japan RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of MGF L2: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Mgf Contact: erg_mgf_info at isee.nagoya-u.ac.jp **************************************************************************
11-Mar-24 09:03:22: <frozen importlib._bootstrap>:914: ImportWarning: _PyDrive2ImportHook.find_spec() not found; falling back to find_module() 11-Mar-24 09:03:22: <frozen importlib._bootstrap>:914: ImportWarning: _PyDriveImportHook.find_spec() not found; falling back to find_module() 11-Mar-24 09:03:22: <frozen importlib._bootstrap>:914: ImportWarning: _GenerativeAIImportHook.find_spec() not found; falling back to find_module() 11-Mar-24 09:03:22: <frozen importlib._bootstrap>:914: ImportWarning: _OpenCVImportHook.find_spec() not found; falling back to find_module() 11-Mar-24 09:03:22: <frozen importlib._bootstrap>:914: ImportWarning: APICoreClientInfoImportHook.find_spec() not found; falling back to find_module() 11-Mar-24 09:03:22: <frozen importlib._bootstrap>:914: ImportWarning: _BokehImportHook.find_spec() not found; falling back to find_module() 11-Mar-24 09:03:22: <frozen importlib._bootstrap>:914: ImportWarning: _AltairImportHook.find_spec() not found; falling back to find_module()
tplot(['erg_mgf_l2_mag_8sec_sm', 'erg_mgf_l2_mag_8sec_gsm'])
timespan()
¶Notes:Because the 'timespan' module does not work in the older version of PySPEDAS, please install the latest version of PySPEDAS if you use the older version.
pytplot.timespan( '2017-09-07 20:00:00', 6, keyword='hours') # Set time span to create the plot of MGF Lv.2 8-s data.
tplot(['erg_mgf_l2_mag_8sec_sm', 'erg_mgf_l2_mag_8sec_gsm'])
ylim
¶pytplot.options( 'erg_mgf_l2_mag_8sec_sm', 'yrange', [-200., 200.] ) # Set the vertical scale to create the plot of MGF Lv.2 8-s data.
#pytplot.ylim( 'erg_mgf_l2_mag_8sec_sm', -200., 200. ) # There is a bug in pytplot.ylim. It will be fixed.
tplot(['erg_mgf_l2_mag_8sec_sm'])
options()
¶pytplot.options( 'erg_mgf_l2_mag_8sec_sm', 'ytitle', 'MGF Lv.2 8 s') # Change the title of the vertical axis.
tplot(['erg_mgf_l2_mag_8sec_sm'])
tplot_options()
¶pytplot.tplot_options('axis_font_size', 15) # Change the font size of axes. The default is 10.
tplot(['erg_mgf_l2_mag_8sec_sm'])
options()
¶pytplot.options('erg_mgf_l2_mag_8sec_sm', 'legend_names', ['Bx (SM)','By (SM)','Bz (SM)']) # Change the label.
pytplot.options('erg_mgf_l2_mag_8sec_sm', 'color', ['green','red','blue']) # Change the color.
tplot(['erg_mgf_l2_mag_8sec_sm'])
split_vec()
¶pytplot.split_vec('erg_mgf_l2_mag_8sec_sm')
['erg_mgf_l2_mag_8sec_sm_x', 'erg_mgf_l2_mag_8sec_sm_y', 'erg_mgf_l2_mag_8sec_sm_z']
#For Bx component.
pytplot.options('erg_mgf_l2_mag_8sec_sm_x', 'ytitle', 'MGF Bx Lv.2 8 s') # Set the title of y-axis.
pytplot.options('erg_mgf_l2_mag_8sec_sm_x', 'ysubtitle', '[nT]') # Set the subtitle of y-axis (for unit).
pytplot.options('erg_mgf_l2_mag_8sec_sm_x', 'color', 'green') # Set the line color.
pytplot.options('erg_mgf_l2_mag_8sec_sm_x', 'charsize', 8) # Set the character size.
pytplot.options( 'erg_mgf_l2_mag_8sec_sm_x', 'yrange', [-400., 400.] ) # Set the vertical scale.
pytplot.options('erg_mgf_l2_mag_8sec_sm_x', 'legend_names', ['Bx (SM)']) # Set the label of the Bx componenet.
#For By component.
pytplot.options('erg_mgf_l2_mag_8sec_sm_y', 'ytitle', 'MGF By Lv.2 8 s')
pytplot.options('erg_mgf_l2_mag_8sec_sm_y', 'ysubtitle', '[nT]')
pytplot.options('erg_mgf_l2_mag_8sec_sm_y', 'color', 'red')
pytplot.options('erg_mgf_l2_mag_8sec_sm_y', 'charsize', 8)
pytplot.options( 'erg_mgf_l2_mag_8sec_sm_y', 'yrange', [-400., 400.] )
pytplot.options('erg_mgf_l2_mag_8sec_sm_y', 'legend_names', ['By (SM)'])
#For Bz component.
pytplot.options('erg_mgf_l2_mag_8sec_sm_z', 'ytitle', 'MGF Bz Lv.2 8 s')
pytplot.options('erg_mgf_l2_mag_8sec_sm_z', 'ysubtitle', '[nT]')
pytplot.options('erg_mgf_l2_mag_8sec_sm_z', 'color', 'blue')
pytplot.options( 'erg_mgf_l2_mag_8sec_sm_z', 'yrange', [-400., 400.] )
pytplot.options('erg_mgf_l2_mag_8sec_sm_z', 'charsize', 8)
pytplot.options('erg_mgf_l2_mag_8sec_sm_z', 'legend_names', ['Bz (SM)'])
tplot(['erg_mgf_l2_mag_8sec_sm_x','erg_mgf_l2_mag_8sec_sm_y','erg_mgf_l2_mag_8sec_sm_z'])
pytplot.tplot_save()
, and pytplot.tplot_restore()
¶pytplot.tplot_save('erg_mgf_l2_mag_8sec_sm_x', filename='erg_mgf_l2_mag_8sec_sm_x.dat') # Save the tplot variable 'erg_mgf_l2_mag_8sec_sm_x'
pytplot.del_data('erg_mgf_l2_mag_8sec_sm_x') # Delete the tplot variable 'erg_mgf_l2_mag_8sec_sm_x'
pytplot.tplot_names() # Check tplot variables
0 : erg_mgf_l2_epoch_8sec 1 : erg_mgf_l2_mag_8sec_dsi 2 : erg_mgf_l2_mag_8sec_gse 3 : erg_mgf_l2_mag_8sec_gsm 4 : erg_mgf_l2_mag_8sec_sm 5 : erg_mgf_l2_magt_8sec 6 : erg_mgf_l2_rmsd_8sec_dsi 7 : erg_mgf_l2_rmsd_8sec_gse 8 : erg_mgf_l2_rmsd_8sec_gsm 9 : erg_mgf_l2_rmsd_8sec_sm 10 : erg_mgf_l2_rmsd_8sec 11 : erg_mgf_l2_n_rmsd_8sec 12 : erg_mgf_l2_dyn_rng_8sec 13 : erg_mgf_l2_quality_8sec 14 : erg_mgf_l2_quality_8sec_gc 15 : erg_mgf_l2_igrf_8sec_dsi 16 : erg_mgf_l2_igrf_8sec_gse 17 : erg_mgf_l2_igrf_8sec_gsm 18 : erg_mgf_l2_igrf_8sec_sm 19 : erg_mgf_l2_mag_8sec_sm_y 20 : erg_mgf_l2_mag_8sec_sm_z
['erg_mgf_l2_epoch_8sec', 'erg_mgf_l2_mag_8sec_dsi', 'erg_mgf_l2_mag_8sec_gse', 'erg_mgf_l2_mag_8sec_gsm', 'erg_mgf_l2_mag_8sec_sm', 'erg_mgf_l2_magt_8sec', 'erg_mgf_l2_rmsd_8sec_dsi', 'erg_mgf_l2_rmsd_8sec_gse', 'erg_mgf_l2_rmsd_8sec_gsm', 'erg_mgf_l2_rmsd_8sec_sm', 'erg_mgf_l2_rmsd_8sec', 'erg_mgf_l2_n_rmsd_8sec', 'erg_mgf_l2_dyn_rng_8sec', 'erg_mgf_l2_quality_8sec', 'erg_mgf_l2_quality_8sec_gc', 'erg_mgf_l2_igrf_8sec_dsi', 'erg_mgf_l2_igrf_8sec_gse', 'erg_mgf_l2_igrf_8sec_gsm', 'erg_mgf_l2_igrf_8sec_sm', 'erg_mgf_l2_mag_8sec_sm_y', 'erg_mgf_l2_mag_8sec_sm_z']
pytplot.tplot_restore(filename='erg_mgf_l2_mag_8sec_sm_x.dat') # Restore the tplot variable 'erg_mgf_l2_mag_8sec_sm_x'
pytplot.tplot_names() # Check tplot variables
0 : erg_mgf_l2_epoch_8sec 1 : erg_mgf_l2_mag_8sec_dsi 2 : erg_mgf_l2_mag_8sec_gse 3 : erg_mgf_l2_mag_8sec_gsm 4 : erg_mgf_l2_mag_8sec_sm 5 : erg_mgf_l2_magt_8sec 6 : erg_mgf_l2_rmsd_8sec_dsi 7 : erg_mgf_l2_rmsd_8sec_gse 8 : erg_mgf_l2_rmsd_8sec_gsm 9 : erg_mgf_l2_rmsd_8sec_sm 10 : erg_mgf_l2_rmsd_8sec 11 : erg_mgf_l2_n_rmsd_8sec 12 : erg_mgf_l2_dyn_rng_8sec 13 : erg_mgf_l2_quality_8sec 14 : erg_mgf_l2_quality_8sec_gc 15 : erg_mgf_l2_igrf_8sec_dsi 16 : erg_mgf_l2_igrf_8sec_gse 17 : erg_mgf_l2_igrf_8sec_gsm 18 : erg_mgf_l2_igrf_8sec_sm 19 : erg_mgf_l2_mag_8sec_sm_y 20 : erg_mgf_l2_mag_8sec_sm_z 21 : erg_mgf_l2_mag_8sec_sm_x
['erg_mgf_l2_epoch_8sec', 'erg_mgf_l2_mag_8sec_dsi', 'erg_mgf_l2_mag_8sec_gse', 'erg_mgf_l2_mag_8sec_gsm', 'erg_mgf_l2_mag_8sec_sm', 'erg_mgf_l2_magt_8sec', 'erg_mgf_l2_rmsd_8sec_dsi', 'erg_mgf_l2_rmsd_8sec_gse', 'erg_mgf_l2_rmsd_8sec_gsm', 'erg_mgf_l2_rmsd_8sec_sm', 'erg_mgf_l2_rmsd_8sec', 'erg_mgf_l2_n_rmsd_8sec', 'erg_mgf_l2_dyn_rng_8sec', 'erg_mgf_l2_quality_8sec', 'erg_mgf_l2_quality_8sec_gc', 'erg_mgf_l2_igrf_8sec_dsi', 'erg_mgf_l2_igrf_8sec_gse', 'erg_mgf_l2_igrf_8sec_gsm', 'erg_mgf_l2_igrf_8sec_sm', 'erg_mgf_l2_mag_8sec_sm_y', 'erg_mgf_l2_mag_8sec_sm_z', 'erg_mgf_l2_mag_8sec_sm_x']
pytplot.get_data()
¶data=pytplot.get_data('erg_mgf_l2_mag_8sec_sm_x') #Get the data from 'erg_mgf_l2_mag_8sec_sm_x' tplot variable.
time = data[0] #Time data
ydata = data[1] #Magnetic field data
pyspedas.time_string(time) #Print the time in YYYY-MM-DD HH:MM:SS format.
['2017-09-06 23:59:59.137643', '2017-09-07 00:00:02.026645', '2017-09-07 00:00:10.022048', '2017-09-07 00:00:18.001724', '2017-09-07 00:00:25.997128', '2017-09-07 00:00:33.992530', '2017-09-07 00:00:41.987906', '2017-09-07 00:00:49.983309', '2017-09-07 00:00:57.978686', '2017-09-07 00:01:05.974089', '2017-09-07 00:01:13.969492', '2017-09-07 00:01:21.964768', '2017-09-07 00:01:29.960071', '2017-09-07 00:01:37.955549', '2017-09-07 00:01:45.950852', '2017-09-07 00:01:53.946253', '2017-09-07 00:02:01.926030', '2017-09-07 00:02:09.921434', '2017-09-07 00:02:17.916711', '2017-09-07 00:02:25.912214', '2017-09-07 00:02:33.907516', '2017-09-07 00:02:41.902892', '2017-09-07 00:02:49.898296', '2017-09-07 00:02:57.893572', '2017-09-07 00:03:05.889076', '2017-09-07 00:03:13.884478', '2017-09-07 00:03:21.879855', '2017-09-07 00:03:29.875157', '2017-09-07 00:03:37.854860', '2017-09-07 00:03:45.850138', '2017-09-07 00:03:53.845539', '2017-09-07 00:04:01.840817', '2017-09-07 00:04:09.836320', '2017-09-07 00:04:17.831722', '2017-09-07 00:04:25.827099', '2017-09-07 00:04:33.822402', '2017-09-07 00:04:41.817804', '2017-09-07 00:04:49.813181', '2017-09-07 00:04:57.808583', '2017-09-07 00:05:05.803862', '2017-09-07 00:05:13.799364', '2017-09-07 00:05:21.794666', '2017-09-07 00:05:29.774543', '2017-09-07 00:05:37.769846', '2017-09-07 00:05:45.765249', '2017-09-07 00:05:53.760626', '2017-09-07 00:06:01.756029', '2017-09-07 00:06:09.751305', '2017-09-07 00:06:17.746807', '2017-09-07 00:06:25.742110', '2017-09-07 00:06:33.737387', '2017-09-07 00:06:41.732791', '2017-09-07 00:06:49.728068', '2017-09-07 00:06:57.723569', '2017-09-07 00:07:05.703373', '2017-09-07 00:07:13.698750', '2017-09-07 00:07:21.694053', '2017-09-07 00:07:29.689430', '2017-09-07 00:07:37.684731', '2017-09-07 00:07:45.680035', '2017-09-07 00:07:53.675312', '2017-09-07 00:08:01.670714', '2017-09-07 00:08:09.666116', '2017-09-07 00:08:17.661494', '2017-09-07 00:08:25.656896', '2017-09-07 00:08:33.652173', '2017-09-07 00:08:41.632076', '2017-09-07 00:08:49.627479', '2017-09-07 00:08:57.622855', '2017-09-07 00:09:05.618258', '2017-09-07 00:09:13.613535', '2017-09-07 00:09:21.608838', '2017-09-07 00:09:29.604241', '2017-09-07 00:09:37.599618', '2017-09-07 00:09:45.595021', '2017-09-07 00:09:53.590298', '2017-09-07 00:10:01.585800', '2017-09-07 00:10:09.565602', '2017-09-07 00:10:17.560979', '2017-09-07 00:10:25.556383', '2017-09-07 00:10:33.551784', '2017-09-07 00:10:41.547161', '2017-09-07 00:10:49.542564', '2017-09-07 00:10:57.537841', '2017-09-07 00:11:05.533344', '2017-09-07 00:11:13.528646', '2017-09-07 00:11:21.524025', '2017-09-07 00:11:29.519427', '2017-09-07 00:11:37.514604', '2017-09-07 00:11:45.510106', '2017-09-07 00:11:53.505509', '2017-09-07 00:12:01.485187', '2017-09-07 00:12:09.480688', '2017-09-07 00:12:17.476091', '2017-09-07 00:12:25.471469', '2017-09-07 00:12:33.466871', '2017-09-07 00:12:41.462149', '2017-09-07 00:12:49.457650', '2017-09-07 00:12:57.452953', '2017-09-07 00:13:05.448231', '2017-09-07 00:13:13.443532', '2017-09-07 00:13:21.438911', '2017-09-07 00:13:29.418712', '2017-09-07 00:13:37.414115', '2017-09-07 00:13:45.409492', '2017-09-07 00:13:53.404895', '2017-09-07 00:14:01.400171', '2017-09-07 00:14:09.395675', '2017-09-07 00:14:17.391076', '2017-09-07 00:14:25.386354', '2017-09-07 00:14:33.381856', '2017-09-07 00:14:41.377033', '2017-09-07 00:14:49.372437', '2017-09-07 00:14:57.352138', '2017-09-07 00:15:05.347417', '2017-09-07 00:15:13.342819', '2017-09-07 00:15:21.338196', '2017-09-07 00:15:29.333599', '2017-09-07 00:15:37.329000', '2017-09-07 00:15:45.324279', '2017-09-07 00:15:53.319780', '2017-09-07 00:16:01.315183', '2017-09-07 00:16:09.310361', '2017-09-07 00:16:17.305763', '2017-09-07 00:16:25.300940', '2017-09-07 00:16:33.280842', '2017-09-07 00:16:41.276246', '2017-09-07 00:16:49.271523', '2017-09-07 00:16:57.267024', '2017-09-07 00:17:05.262303', '2017-09-07 00:17:13.257804', '2017-09-07 00:17:21.253107', '2017-09-07 00:17:29.248385', '2017-09-07 00:17:37.243887', '2017-09-07 00:17:45.239064', '2017-09-07 00:17:53.234467', '2017-09-07 00:18:01.229870', '2017-09-07 00:18:09.209547', '2017-09-07 00:18:17.205049', '2017-09-07 00:18:25.200452', '2017-09-07 00:18:33.195828', '2017-09-07 00:18:41.191231', '2017-09-07 00:18:49.186509', '2017-09-07 00:18:57.182011', '2017-09-07 00:19:05.177314', '2017-09-07 00:19:13.172691', '2017-09-07 00:19:21.168094', '2017-09-07 00:19:29.163371', '2017-09-07 00:19:37.143272', '2017-09-07 00:19:45.138676', '2017-09-07 00:19:53.133853', '2017-09-07 00:20:01.129256', '2017-09-07 00:20:09.124532', '2017-09-07 00:20:17.120035', '2017-09-07 00:20:25.115338', '2017-09-07 00:20:33.110515', '2017-09-07 00:20:41.106017', '2017-09-07 00:20:49.101295', '2017-09-07 00:20:57.096797', '2017-09-07 00:21:05.076500', '2017-09-07 00:21:13.071876', '2017-09-07 00:21:21.067280', '2017-09-07 00:21:29.062557', '2017-09-07 00:21:37.058059', '2017-09-07 00:21:45.053462', '2017-09-07 00:21:53.048738', '2017-09-07 00:22:01.044242', '2017-09-07 00:22:09.039519', '2017-09-07 00:22:17.035020', '2017-09-07 00:22:25.030424', '2017-09-07 00:22:33.010101', '2017-09-07 00:22:41.005604', '2017-09-07 00:22:49.000880', '2017-09-07 00:22:56.996283', '2017-09-07 00:23:04.991685', '2017-09-07 00:23:12.987063', '2017-09-07 00:23:20.982466', '2017-09-07 00:23:28.977868', '2017-09-07 00:23:36.973145', '2017-09-07 00:23:44.968648', '2017-09-07 00:23:52.963924', '2017-09-07 00:24:00.959428', '2017-09-07 00:24:08.939230', '2017-09-07 00:24:16.934407', '2017-09-07 00:24:24.929809', '2017-09-07 00:24:32.924986', '2017-09-07 00:24:40.920489', '2017-09-07 00:24:48.915892', '2017-09-07 00:24:56.911168', '2017-09-07 00:25:04.906672', '2017-09-07 00:25:12.901949', '2017-09-07 00:25:20.897350', '2017-09-07 00:25:28.877153', '2017-09-07 00:25:36.872431', '2017-09-07 00:25:44.867934', '2017-09-07 00:25:52.863211', '2017-09-07 00:26:00.858712', '2017-09-07 00:26:08.854116', '2017-09-07 00:26:16.849392', '2017-09-07 00:26:24.844896', '2017-09-07 00:26:32.840172', '2017-09-07 00:26:40.835575', '2017-09-07 00:26:48.831077', '2017-09-07 00:26:56.810755', '2017-09-07 00:27:04.806258', '2017-09-07 00:27:12.801535', '2017-09-07 00:27:20.796837', '2017-09-07 00:27:28.792240', '2017-09-07 00:27:36.787416', '2017-09-07 00:27:44.782820', '2017-09-07 00:27:52.778096', '2017-09-07 00:28:00.773499', '2017-09-07 00:28:08.769002', '2017-09-07 00:28:16.764279', '2017-09-07 00:28:24.744181', '2017-09-07 00:28:32.739459', '2017-09-07 00:28:40.734860', '2017-09-07 00:28:48.730364', '2017-09-07 00:28:56.725641', '2017-09-07 00:29:04.721143', '2017-09-07 00:29:12.716420', '2017-09-07 00:29:20.711722', '2017-09-07 00:29:28.707225', '2017-09-07 00:29:36.702503', '2017-09-07 00:29:44.698005', '2017-09-07 00:29:52.677683', '2017-09-07 00:30:00.673085', '2017-09-07 00:30:08.668588', '2017-09-07 00:30:16.663764', '2017-09-07 00:30:24.659068', '2017-09-07 00:30:32.654469', '2017-09-07 00:30:40.649747', '2017-09-07 00:30:48.645250', '2017-09-07 00:30:56.640527', '2017-09-07 00:31:04.635929', '2017-09-07 00:31:12.631107', '2017-09-07 00:31:20.610808', '2017-09-07 00:31:28.606212', '2017-09-07 00:31:36.601488', '2017-09-07 00:31:44.596891', '2017-09-07 00:31:52.592268', '2017-09-07 00:32:00.587670', '2017-09-07 00:32:08.583073', '2017-09-07 00:32:16.578351', '2017-09-07 00:32:24.573853', '2017-09-07 00:32:32.569131', '2017-09-07 00:32:40.548933', '2017-09-07 00:32:48.544436', '2017-09-07 00:32:56.539712', '2017-09-07 00:33:04.535116', '2017-09-07 00:33:12.530492', '2017-09-07 00:33:20.525895', '2017-09-07 00:33:28.521298', '2017-09-07 00:33:36.516575', '2017-09-07 00:33:44.511977', '2017-09-07 00:33:52.507479', '2017-09-07 00:34:00.502756', '2017-09-07 00:34:08.498260', '2017-09-07 00:34:16.477937', '2017-09-07 00:34:24.473340', '2017-09-07 00:34:32.468842', '2017-09-07 00:34:40.464118', '2017-09-07 00:34:48.459622', '2017-09-07 00:34:56.454899', '2017-09-07 00:35:04.450301', '2017-09-07 00:35:12.445704', '2017-09-07 00:35:20.440980', '2017-09-07 00:35:28.436283', '2017-09-07 00:35:36.431461', '2017-09-07 00:35:44.411164', '2017-09-07 00:35:52.406665', '2017-09-07 00:36:00.401943', '2017-09-07 00:36:08.397446', '2017-09-07 00:36:16.392623', '2017-09-07 00:36:24.387926', '2017-09-07 00:36:32.383328', '2017-09-07 00:36:40.378604', '2017-09-07 00:36:48.374108', '2017-09-07 00:36:56.353785', '2017-09-07 00:37:04.349087', '2017-09-07 00:37:12.344489', '2017-09-07 00:37:20.339666', '2017-09-07 00:37:28.335069', '2017-09-07 00:37:36.330347', '2017-09-07 00:37:44.325650', '2017-09-07 00:37:52.321151', '2017-09-07 00:38:00.316428', '2017-09-07 00:38:08.311932', '2017-09-07 00:38:16.307108', '2017-09-07 00:38:24.286812', '2017-09-07 00:38:32.282314', '2017-09-07 00:38:40.277590', '2017-09-07 00:38:48.273094', '2017-09-07 00:38:56.268370', '2017-09-07 00:39:04.263773', '2017-09-07 00:39:12.259275', '2017-09-07 00:39:20.254552', '2017-09-07 00:39:28.249956', '2017-09-07 00:39:36.245333', '2017-09-07 00:39:44.240635', '2017-09-07 00:39:52.220537', '2017-09-07 00:40:00.215814', '2017-09-07 00:40:08.211218', '2017-09-07 00:40:16.206595', '2017-09-07 00:40:24.201998', '2017-09-07 00:40:32.197500', '2017-09-07 00:40:40.192776', '2017-09-07 00:40:48.188179', '2017-09-07 00:40:56.183556', '2017-09-07 00:41:04.178960', '2017-09-07 00:41:12.174461', '2017-09-07 00:41:20.154139', '2017-09-07 00:41:28.149441', '2017-09-07 00:41:36.144919', '2017-09-07 00:41:44.140222', '2017-09-07 00:41:52.135723', '2017-09-07 00:42:00.131000', '2017-09-07 00:42:08.126404', '2017-09-07 00:42:16.121780', '2017-09-07 00:42:24.117183', '2017-09-07 00:42:32.112685', '2017-09-07 00:42:40.092363', '2017-09-07 00:42:48.087766', '2017-09-07 00:42:56.083143', '2017-09-07 00:43:04.078546', '2017-09-07 00:43:12.074048', '2017-09-07 00:43:20.069324', '2017-09-07 00:43:28.064727', '2017-09-07 00:43:36.060104', '2017-09-07 00:43:44.055408', '2017-09-07 00:43:52.050910', '2017-09-07 00:44:00.030587', '2017-09-07 00:44:08.020139', '2017-09-07 00:44:16.015516', '2017-09-07 00:44:23.995319', '2017-09-07 00:44:31.990822', '2017-09-07 00:44:39.986099', '2017-09-07 00:44:47.981502', '2017-09-07 00:44:55.976878', '2017-09-07 00:45:03.972281', '2017-09-07 00:45:11.967783', '2017-09-07 00:45:19.963060', '2017-09-07 00:45:27.958464', '2017-09-07 00:45:35.953841', '2017-09-07 00:45:43.949142', '2017-09-07 00:45:51.929046', '2017-09-07 00:45:59.924323', '2017-09-07 00:46:07.919725', '2017-09-07 00:46:15.915102', '2017-09-07 00:46:23.910505', '2017-09-07 00:46:31.905907', '2017-09-07 00:46:39.901284', '2017-09-07 00:46:47.896688', '2017-09-07 00:46:55.892065', '2017-09-07 00:47:03.887467', '2017-09-07 00:47:11.867270', '2017-09-07 00:47:19.862646', '2017-09-07 00:47:27.858049', '2017-09-07 00:47:35.853427', '2017-09-07 00:47:43.848729', '2017-09-07 00:47:51.844232', '2017-09-07 00:47:59.839508', '2017-09-07 00:48:07.834911', '2017-09-07 00:48:15.830289', '2017-09-07 00:48:23.825690', '2017-09-07 00:48:31.805594', '2017-09-07 00:48:39.800871', '2017-09-07 00:48:47.796273', '2017-09-07 00:48:55.791650', '2017-09-07 00:49:03.787052', '2017-09-07 00:49:11.782430', '2017-09-07 00:49:19.777833', '2017-09-07 00:49:27.773235', '2017-09-07 00:49:35.768612', '2017-09-07 00:49:43.764014', '2017-09-07 00:49:51.759417', '2017-09-07 00:49:59.739094', '2017-09-07 00:50:07.734498', '2017-09-07 00:50:15.729875', '2017-09-07 00:50:23.725276', '2017-09-07 00:50:31.720679', '2017-09-07 00:50:39.716056', '2017-09-07 00:50:47.711460', '2017-09-07 00:50:55.706837', '2017-09-07 00:51:03.702238', '2017-09-07 00:51:11.697641', '2017-09-07 00:51:19.693019', '2017-09-07 00:51:27.672821', '2017-09-07 00:51:35.668198', '2017-09-07 00:51:43.663601', '2017-09-07 00:51:51.658904', '2017-09-07 00:51:59.654281', '2017-09-07 00:52:07.649684', '2017-09-07 00:52:15.645060', '2017-09-07 00:52:23.640463', '2017-09-07 00:52:31.635866', '2017-09-07 00:52:39.631243', '2017-09-07 00:52:47.611046', '2017-09-07 00:52:55.606422', '2017-09-07 00:53:03.601824', '2017-09-07 00:53:11.597227', '2017-09-07 00:53:19.592604', '2017-09-07 00:53:27.587907', '2017-09-07 00:53:35.583185', '2017-09-07 00:53:43.578486', '2017-09-07 00:53:51.573865', '2017-09-07 00:53:59.569166', '2017-09-07 00:54:07.548969', '2017-09-07 00:54:15.544347', '2017-09-07 00:54:23.539748', '2017-09-07 00:54:31.535126', '2017-09-07 00:54:39.530529', '2017-09-07 00:54:47.525932', '2017-09-07 00:54:55.521309', '2017-09-07 00:55:03.516711', '2017-09-07 00:55:11.512089', '2017-09-07 00:55:19.491891', '2017-09-07 00:55:27.487294', '2017-09-07 00:55:35.482670', '2017-09-07 00:55:43.478072', '2017-09-07 00:55:51.473451', '2017-09-07 00:55:59.468852', '2017-09-07 00:56:07.464156', '2017-09-07 00:56:15.459532', '2017-09-07 00:56:23.454934', '2017-09-07 00:56:31.450313', '2017-09-07 00:56:39.445715', '2017-09-07 00:56:47.441118', '2017-09-07 00:56:55.420894', '2017-09-07 00:57:03.416296', '2017-09-07 00:57:11.411675', '2017-09-07 00:57:19.407076', '2017-09-07 00:57:27.402480', '2017-09-07 00:57:35.397856', '2017-09-07 00:57:43.393259', '2017-09-07 00:57:51.388636', '2017-09-07 00:57:59.384038', '2017-09-07 00:58:07.379342', '2017-09-07 00:58:15.374719', '2017-09-07 00:58:23.354521', '2017-09-07 00:58:31.349898', '2017-09-07 00:58:39.345201', '2017-09-07 00:58:47.340603', '2017-09-07 00:58:55.335881', '2017-09-07 00:59:03.331283', '2017-09-07 00:59:11.326660', '2017-09-07 00:59:19.322063', '2017-09-07 00:59:27.317466', '2017-09-07 00:59:35.297243', '2017-09-07 00:59:43.292644', '2017-09-07 00:59:51.288023', '2017-09-07 00:59:59.283425', '2017-09-07 01:00:07.278726', '2017-09-07 01:00:15.274104', '2017-09-07 01:00:23.269507', '2017-09-07 01:00:31.264885', '2017-09-07 01:00:39.260286', '2017-09-07 01:00:47.255688', '2017-09-07 01:00:55.235467', '2017-09-07 01:01:03.230869', '2017-09-07 01:01:11.226246', '2017-09-07 01:01:19.221549', '2017-09-07 01:01:27.216825', '2017-09-07 01:01:35.208229', '2017-09-07 01:01:43.199630', '2017-09-07 01:01:51.206608', '2017-09-07 01:01:59.198011', '2017-09-07 01:02:07.193213', '2017-09-07 01:02:15.172990', '2017-09-07 01:02:23.168192', '2017-09-07 01:02:31.163470', '2017-09-07 01:02:39.158772', '2017-09-07 01:02:47.154074', '2017-09-07 01:02:55.149353', '2017-09-07 01:03:03.144654', '2017-09-07 01:03:11.139932', '2017-09-07 01:03:19.135334', '2017-09-07 01:03:27.130737', '2017-09-07 01:03:35.126115', '2017-09-07 01:03:43.105916', '2017-09-07 01:03:51.101294', '2017-09-07 01:03:59.096696', '2017-09-07 01:04:07.091998', '2017-09-07 01:04:15.087477', '2017-09-07 01:04:23.082778', '2017-09-07 01:04:31.078155', '2017-09-07 01:04:39.073559', '2017-09-07 01:04:47.068961', '2017-09-07 01:04:55.064338', '2017-09-07 01:05:03.059740', '2017-09-07 01:05:11.039517', '2017-09-07 01:05:19.034921', '2017-09-07 01:05:27.030324', '2017-09-07 01:05:35.025701', '2017-09-07 01:05:43.021102', '2017-09-07 01:05:51.016480', '2017-09-07 01:05:59.011782', '2017-09-07 01:06:07.007059', '2017-09-07 01:06:15.002363', '2017-09-07 01:06:22.981965', '2017-09-07 01:06:30.977241', '2017-09-07 01:06:38.972644', '2017-09-07 01:06:46.968022', '2017-09-07 01:06:54.963425', '2017-09-07 01:07:02.958827', '2017-09-07 01:07:10.954204', '2017-09-07 01:07:18.949607', '2017-09-07 01:07:26.944984', '2017-09-07 01:07:34.940387', '2017-09-07 01:07:42.920188', '2017-09-07 01:07:50.915565', '2017-09-07 01:07:58.910969', '2017-09-07 01:08:06.906346', '2017-09-07 01:08:14.901748', '2017-09-07 01:08:22.897051', '2017-09-07 01:08:30.892528', '2017-09-07 01:08:38.887830', '2017-09-07 01:08:46.883208', '2017-09-07 01:08:54.878611', '2017-09-07 01:09:02.874013', '2017-09-07 01:09:10.853790', '2017-09-07 01:09:18.849192', '2017-09-07 01:09:26.844569', '2017-09-07 01:09:34.839972', '2017-09-07 01:09:42.835374', '2017-09-07 01:09:50.830751', '2017-09-07 01:09:58.826155', '2017-09-07 01:10:06.821531', '2017-09-07 01:10:14.816934', '2017-09-07 01:10:22.812236', '2017-09-07 01:10:30.807714', '2017-09-07 01:10:38.787417', '2017-09-07 01:10:46.782794', '2017-09-07 01:10:54.778197', '2017-09-07 01:11:02.773598', '2017-09-07 01:11:10.768975', '2017-09-07 01:11:18.764379', '2017-09-07 01:11:26.759755', '2017-09-07 01:11:34.755059', '2017-09-07 01:11:42.750361', '2017-09-07 01:11:50.730038', '2017-09-07 01:11:58.725440', '2017-09-07 01:12:06.720817', '2017-09-07 01:12:14.716221', '2017-09-07 01:12:22.711598', '2017-09-07 01:12:30.707000', '2017-09-07 01:12:38.702302', '2017-09-07 01:12:46.697680', '2017-09-07 01:12:54.693082', '2017-09-07 01:13:02.688459', '2017-09-07 01:13:10.668262', '2017-09-07 01:13:18.663665', '2017-09-07 01:13:26.658942', '2017-09-07 01:13:34.654244', '2017-09-07 01:13:42.649521', '2017-09-07 01:13:50.644824', '2017-09-07 01:13:58.640126', '2017-09-07 01:14:06.635504', '2017-09-07 01:14:14.630907', '2017-09-07 01:14:22.626284', '2017-09-07 01:14:30.606085', '2017-09-07 01:14:38.601388', '2017-09-07 01:14:46.596865', '2017-09-07 01:14:54.592169', '2017-09-07 01:15:02.587571', '2017-09-07 01:15:10.582948', '2017-09-07 01:15:18.578350', '2017-09-07 01:15:26.573728', '2017-09-07 01:15:34.569130', '2017-09-07 01:15:42.564508', '2017-09-07 01:15:50.559909', '2017-09-07 01:15:58.539713', '2017-09-07 01:16:06.534990', '2017-09-07 01:16:14.530292', '2017-09-07 01:16:22.525569', '2017-09-07 01:16:30.520872', '2017-09-07 01:16:38.516074', '2017-09-07 01:16:46.511551', '2017-09-07 01:16:54.506855', '2017-09-07 01:17:02.502232', '2017-09-07 01:17:10.482033', '2017-09-07 01:17:18.477436', '2017-09-07 01:17:26.472813', '2017-09-07 01:17:34.468217', '2017-09-07 01:17:42.463594', '2017-09-07 01:17:50.458996', '2017-09-07 01:17:58.454399', '2017-09-07 01:18:06.449776', '2017-09-07 01:18:14.445179', '2017-09-07 01:18:22.440555', '2017-09-07 01:18:30.420358', '2017-09-07 01:18:38.415736', '2017-09-07 01:18:46.411137', '2017-09-07 01:18:54.406440', '2017-09-07 01:19:02.401817', '2017-09-07 01:19:10.397219', '2017-09-07 01:19:18.392622', '2017-09-07 01:19:26.388000', '2017-09-07 01:19:34.383403', '2017-09-07 01:19:42.378779', '2017-09-07 01:19:50.358582', '2017-09-07 01:19:58.353959', '2017-09-07 01:20:06.349361', '2017-09-07 01:20:14.344764', '2017-09-07 01:20:22.340142', '2017-09-07 01:20:30.335543', '2017-09-07 01:20:38.330947', '2017-09-07 01:20:46.326323', '2017-09-07 01:20:54.321526', '2017-09-07 01:21:02.316904', '2017-09-07 01:21:10.312206', '2017-09-07 01:21:18.292009', '2017-09-07 01:21:26.287385', '2017-09-07 01:21:34.282788', '2017-09-07 01:21:42.278166', '2017-09-07 01:21:50.273568', '2017-09-07 01:21:58.268971', '2017-09-07 01:22:06.264347', '2017-09-07 01:22:14.259751', '2017-09-07 01:22:22.255128', '2017-09-07 01:22:30.250530', '2017-09-07 01:22:38.234107', '2017-09-07 01:22:46.225609', '2017-09-07 01:22:54.217012', '2017-09-07 01:23:02.208590', '2017-09-07 01:23:10.199992', '2017-09-07 01:23:18.195369', '2017-09-07 01:23:26.190772', '2017-09-07 01:23:34.186275', '2017-09-07 01:23:42.181552', '2017-09-07 01:23:50.176953', '2017-09-07 01:23:58.156730', '2017-09-07 01:24:06.152133', '2017-09-07 01:24:14.147636', '2017-09-07 01:24:22.142913', '2017-09-07 01:24:30.138316', '2017-09-07 01:24:38.133694', '2017-09-07 01:24:46.129096', '2017-09-07 01:24:54.124497', '2017-09-07 01:25:02.119876', '2017-09-07 01:25:10.115177', '2017-09-07 01:25:18.094955', '2017-09-07 01:25:26.090357', '2017-09-07 01:25:34.085859', '2017-09-07 01:25:42.081137', '2017-09-07 01:25:50.076539', '2017-09-07 01:25:58.071917', '2017-09-07 01:26:06.067320', '2017-09-07 01:26:14.062721', '2017-09-07 01:26:22.057900', '2017-09-07 01:26:30.053201', '2017-09-07 01:26:38.048480', '2017-09-07 01:26:46.028182', '2017-09-07 01:26:54.023684', '2017-09-07 01:27:02.018961', '2017-09-07 01:27:10.014263', '2017-09-07 01:27:18.009742', '2017-09-07 01:27:26.005043', '2017-09-07 01:27:34.000545', '2017-09-07 01:27:41.995824', '2017-09-07 01:27:49.991225', '2017-09-07 01:27:57.986604', '2017-09-07 01:28:05.966405', '2017-09-07 01:28:13.961908', '2017-09-07 01:28:21.957186', '2017-09-07 01:28:29.952688', '2017-09-07 01:28:37.947965', '2017-09-07 01:28:45.943367', '2017-09-07 01:28:53.938744', '2017-09-07 01:29:01.934147', '2017-09-07 01:29:09.929550', '2017-09-07 01:29:17.909326', '2017-09-07 01:29:25.904630', '2017-09-07 01:29:33.900007', '2017-09-07 01:29:41.895409', '2017-09-07 01:29:49.890912', '2017-09-07 01:29:57.886188', '2017-09-07 01:30:05.881592', '2017-09-07 01:30:13.876968', '2017-09-07 01:30:21.872371', '2017-09-07 01:30:29.867874', '2017-09-07 01:30:37.847551', '2017-09-07 01:30:45.842953', '2017-09-07 01:30:53.838331', '2017-09-07 01:31:01.833633', '2017-09-07 01:31:09.828936', '2017-09-07 01:31:17.824212', '2017-09-07 01:31:25.819416', '2017-09-07 01:31:33.814793', '2017-09-07 01:31:41.810195', '2017-09-07 01:31:49.805697', '2017-09-07 01:31:57.800974', '2017-09-07 01:32:05.780777', '2017-09-07 01:32:13.776155', '2017-09-07 01:32:21.771558', '2017-09-07 01:32:29.767059', '2017-09-07 01:32:37.762336', '2017-09-07 01:32:45.757739', '2017-09-07 01:32:53.753117', '2017-09-07 01:33:01.748520', '2017-09-07 01:33:09.743921', '2017-09-07 01:33:17.739099', '2017-09-07 01:33:25.718701', '2017-09-07 01:33:33.714079', '2017-09-07 01:33:41.709382', '2017-09-07 01:33:49.704884', '2017-09-07 01:33:57.700161', '2017-09-07 01:34:05.695564', '2017-09-07 01:34:13.690940', '2017-09-07 01:34:21.686343', '2017-09-07 01:34:29.681721', '2017-09-07 01:34:37.661522', '2017-09-07 01:34:45.656926', '2017-09-07 01:34:53.652302', '2017-09-07 01:35:01.647705', '2017-09-07 01:35:09.643082', '2017-09-07 01:35:17.638485', '2017-09-07 01:35:25.633888', '2017-09-07 01:35:33.629164', '2017-09-07 01:35:41.624467', '2017-09-07 01:35:49.619844', '2017-09-07 01:35:57.599647', '2017-09-07 01:36:05.595150', '2017-09-07 01:36:13.590427', '2017-09-07 01:36:21.585830', '2017-09-07 01:36:29.581206', '2017-09-07 01:36:37.576609', '2017-09-07 01:36:45.572112', '2017-09-07 01:36:53.567389', '2017-09-07 01:37:01.562792', '2017-09-07 01:37:09.558169', '2017-09-07 01:37:17.537870', '2017-09-07 01:37:25.533174', '2017-09-07 01:37:33.528550', '2017-09-07 01:37:41.523854', '2017-09-07 01:37:49.519230', '2017-09-07 01:37:57.514632', '2017-09-07 01:38:05.510035', '2017-09-07 01:38:13.505413', '2017-09-07 01:38:21.500816', '2017-09-07 01:38:29.496193', '2017-09-07 01:38:37.475994', '2017-09-07 01:38:45.471397', '2017-09-07 01:38:53.466775', '2017-09-07 01:39:01.462177', '2017-09-07 01:39:09.457554', '2017-09-07 01:39:17.452957', '2017-09-07 01:39:25.448334', '2017-09-07 01:39:33.443737', '2017-09-07 01:39:41.439039', '2017-09-07 01:39:49.434516', '2017-09-07 01:39:57.414219', '2017-09-07 01:40:05.409597', '2017-09-07 01:40:13.404999', '2017-09-07 01:40:21.400402', '2017-09-07 01:40:29.395779', '2017-09-07 01:40:37.391180', '2017-09-07 01:40:45.386558', '2017-09-07 01:40:53.381961', '2017-09-07 01:41:01.377363', '2017-09-07 01:41:09.372740', '2017-09-07 01:41:17.352542', '2017-09-07 01:41:25.347921', '2017-09-07 01:41:33.343222', '2017-09-07 01:41:41.338526', '2017-09-07 01:41:49.334003', '2017-09-07 01:41:57.329305', '2017-09-07 01:42:05.324682', '2017-09-07 01:42:13.320084', '2017-09-07 01:42:21.315488', '2017-09-07 01:42:29.310865', '2017-09-07 01:42:37.290667', '2017-09-07 01:42:45.286045', '2017-09-07 01:42:53.281447', '2017-09-07 01:43:01.276850', '2017-09-07 01:43:09.272227', '2017-09-07 01:43:17.267628', '2017-09-07 01:43:25.263006', '2017-09-07 01:43:33.258409', '2017-09-07 01:43:41.253710', '2017-09-07 01:43:49.249188', '2017-09-07 01:43:57.228990', '2017-09-07 01:44:05.212669', '2017-09-07 01:44:13.200270', '2017-09-07 01:44:21.195572', '2017-09-07 01:44:29.190850', '2017-09-07 01:44:37.186253', '2017-09-07 01:44:45.181630', '2017-09-07 01:44:53.177033', '2017-09-07 01:45:01.172409', '2017-09-07 01:45:09.167812', '2017-09-07 01:45:17.147614', '2017-09-07 01:45:25.142993', '2017-09-07 01:45:33.138395', '2017-09-07 01:45:41.133772', '2017-09-07 01:45:49.129174', '2017-09-07 01:45:57.124476', '2017-09-07 01:46:05.119955', '2017-09-07 01:46:13.115257', '2017-09-07 01:46:21.110633', '2017-09-07 01:46:29.106036', '2017-09-07 01:46:37.085838', '2017-09-07 01:46:45.081217', '2017-09-07 01:46:53.076619', '2017-09-07 01:47:01.071995', '2017-09-07 01:47:09.067398', '2017-09-07 01:47:17.062801', '2017-09-07 01:47:25.058177', '2017-09-07 01:47:33.053580', '2017-09-07 01:47:41.048957', '2017-09-07 01:47:49.028761', '2017-09-07 01:47:57.024062', '2017-09-07 01:48:05.019440', '2017-09-07 01:48:13.014643', '2017-09-07 01:48:21.010019', '2017-09-07 01:48:29.005422', '2017-09-07 01:48:37.000800', '2017-09-07 01:48:44.996201', '2017-09-07 01:48:52.991604', '2017-09-07 01:49:00.986981', '2017-09-07 01:49:08.982384', '2017-09-07 01:49:16.962161', '2017-09-07 01:49:24.957564', '2017-09-07 01:49:32.952967', '2017-09-07 01:49:40.948244', '2017-09-07 01:49:48.943646', '2017-09-07 01:49:56.938948', '2017-09-07 01:50:04.934426', '2017-09-07 01:50:12.929729', '2017-09-07 01:50:20.925105', '2017-09-07 01:50:28.920508', '2017-09-07 01:50:36.900286', '2017-09-07 01:50:44.895688', '2017-09-07 01:50:52.891091', '2017-09-07 01:51:00.886468', '2017-09-07 01:51:08.881870', '2017-09-07 01:51:16.877248', '2017-09-07 01:51:24.872649', '2017-09-07 01:51:32.868052', '2017-09-07 01:51:40.863430', '2017-09-07 01:51:48.843132', '2017-09-07 01:51:56.838509', '2017-09-07 01:52:04.833912', '2017-09-07 01:52:12.829290', '2017-09-07 01:52:20.824691', '2017-09-07 01:52:28.819995', '2017-09-07 01:52:36.815372', '2017-09-07 01:52:44.810774', '2017-09-07 01:52:52.806152', '2017-09-07 01:53:00.801554', '2017-09-07 01:53:08.781356', '2017-09-07 01:53:16.776734', '2017-09-07 01:53:24.772136', '2017-09-07 01:53:32.767413', '2017-09-07 01:53:40.762915', '2017-09-07 01:53:48.758318', '2017-09-07 01:53:56.753696', '2017-09-07 01:54:04.749097', '2017-09-07 01:54:12.744401', '2017-09-07 01:54:20.739878', '2017-09-07 01:54:28.735081', '2017-09-07 01:54:36.714757', '2017-09-07 01:54:44.710160', '2017-09-07 01:54:52.705563', '2017-09-07 01:55:00.700940', '2017-09-07 01:55:08.696342', '2017-09-07 01:55:16.691720', '2017-09-07 01:55:24.687122', '2017-09-07 01:55:32.682524', '2017-09-07 01:55:40.677901', '2017-09-07 01:55:48.673305', '2017-09-07 01:55:56.668682', '2017-09-07 01:56:04.648483', '2017-09-07 01:56:12.643787', '2017-09-07 01:56:20.639164', '2017-09-07 01:56:28.634466', '2017-09-07 01:56:36.629844', '2017-09-07 01:56:44.625245', '2017-09-07 01:56:52.620648', '2017-09-07 01:57:00.616026', '2017-09-07 01:57:08.611329', '2017-09-07 01:57:16.591005', '2017-09-07 01:57:24.586408', '2017-09-07 01:57:32.581686', '2017-09-07 01:57:40.577187', '2017-09-07 01:57:48.572591', '2017-09-07 01:57:56.567968', '2017-09-07 01:58:04.563370', '2017-09-07 01:58:12.558772', '2017-09-07 01:58:20.554149', '2017-09-07 01:58:28.549452', '2017-09-07 01:58:36.544930', '2017-09-07 01:58:44.524632', '2017-09-07 01:58:52.520035', '2017-09-07 01:59:00.515312', '2017-09-07 01:59:08.510715', '2017-09-07 01:59:16.506092', '2017-09-07 01:59:24.501493', '2017-09-07 01:59:32.496897', '2017-09-07 01:59:40.492274', '2017-09-07 01:59:48.487676', '2017-09-07 01:59:56.482953', '2017-09-07 02:00:04.478456', '2017-09-07 02:00:12.473858', '2017-09-07 02:00:20.453636', '2017-09-07 02:00:28.448939', '2017-09-07 02:00:36.444316', '2017-09-07 02:00:44.439718', '2017-09-07 02:00:52.435121', '2017-09-07 02:01:00.430497', '2017-09-07 02:01:08.425900', '2017-09-07 02:01:16.421302', '2017-09-07 02:01:24.416679', '2017-09-07 02:01:32.411982', '2017-09-07 02:01:40.407160', '2017-09-07 02:01:48.402662', '2017-09-07 02:01:56.382465', '2017-09-07 02:02:04.377842', '2017-09-07 02:02:12.373244', '2017-09-07 02:02:20.368522', '2017-09-07 02:02:28.363924', '2017-09-07 02:02:36.359327', '2017-09-07 02:02:44.354704', '2017-09-07 02:02:52.350106', '2017-09-07 02:03:00.345383', '2017-09-07 02:03:08.340885', '2017-09-07 02:03:16.336188', '2017-09-07 02:03:24.315865', '2017-09-07 02:03:32.311268', '2017-09-07 02:03:40.306545', '2017-09-07 02:03:48.302048', '2017-09-07 02:03:56.297450', '2017-09-07 02:04:04.292828', '2017-09-07 02:04:12.288230', '2017-09-07 02:04:20.283532', '2017-09-07 02:04:28.279009', '2017-09-07 02:04:36.274312', '2017-09-07 02:04:44.269589', '2017-09-07 02:04:52.265092', '2017-09-07 02:05:00.248794', '2017-09-07 02:05:08.240273', '2017-09-07 02:05:16.247374', '2017-09-07 02:05:24.231052', '2017-09-07 02:05:32.218654', '2017-09-07 02:05:40.210156', '2017-09-07 02:05:48.205534', '2017-09-07 02:05:56.200937', '2017-09-07 02:06:04.196338', '2017-09-07 02:06:12.191716', '2017-09-07 02:06:20.187019', '2017-09-07 02:06:28.182497', '2017-09-07 02:06:36.177798', '2017-09-07 02:06:44.173201', '2017-09-07 02:06:52.152979', '2017-09-07 02:07:00.148381', '2017-09-07 02:07:08.143683', '2017-09-07 02:07:16.139060', '2017-09-07 02:07:24.134463', '2017-09-07 02:07:32.129841', '2017-09-07 02:07:40.125142', '2017-09-07 02:07:48.120446', '2017-09-07 02:07:56.115823', '2017-09-07 02:08:04.111225', '2017-09-07 02:08:12.106602', '2017-09-07 02:08:20.101905', '2017-09-07 02:08:28.081707', '2017-09-07 02:08:36.077084', '2017-09-07 02:08:44.072486', '2017-09-07 02:08:52.067889', '2017-09-07 02:09:00.063267', '2017-09-07 02:09:08.058669', '2017-09-07 02:09:16.054046', '2017-09-07 02:09:24.049449', '2017-09-07 02:09:32.044852', '2017-09-07 02:09:40.040229', '2017-09-07 02:09:48.035632', '2017-09-07 02:09:56.031009', '2017-09-07 02:10:04.026411', '2017-09-07 02:10:12.006113', '2017-09-07 02:10:20.001590', '2017-09-07 02:10:27.996894', '2017-09-07 02:10:35.992270', '2017-09-07 02:10:43.987673', '2017-09-07 02:10:51.983076', '2017-09-07 02:10:59.978452', '2017-09-07 02:11:07.973856', '2017-09-07 02:11:15.969257', '2017-09-07 02:11:23.964635', '2017-09-07 02:11:31.960037', '2017-09-07 02:11:39.955440', '2017-09-07 02:11:47.950817', '2017-09-07 02:11:55.946220', '2017-09-07 02:12:03.925996', '2017-09-07 02:12:11.921300', '2017-09-07 02:12:19.916701', '2017-09-07 02:12:27.912080', '2017-09-07 02:12:35.907482', '2017-09-07 02:12:43.902884', '2017-09-07 02:12:51.898261', '2017-09-07 02:12:59.893664', ...]
ydata #Print magnetic field data.
array([ nan, -589.49727521, -620.5628498 , ..., -604.23949429, -601.68811175, -598.66261866])
ydata_sq = ydata*ydata #Calculate a squre of ydata.
ydata_sq #Print a squre of magnetic field data.
array([ nan, 347507.03747429, 385098.2505468 , ..., 365105.3664615 , 362028.58381858, 358396.93097956])
# Store the data into tplot variable 'erg_mgf_l2_mag_8sec_sm_x_sq'.
pytplot.store_data('erg_mgf_l2_mag_8sec_sm_x_sq', data={'x':time,'y':ydata_sq})
pytplot.tplot_names()
0 : erg_mgf_l2_epoch_8sec 1 : erg_mgf_l2_mag_8sec_dsi 2 : erg_mgf_l2_mag_8sec_gse 3 : erg_mgf_l2_mag_8sec_gsm 4 : erg_mgf_l2_mag_8sec_sm 5 : erg_mgf_l2_magt_8sec 6 : erg_mgf_l2_rmsd_8sec_dsi 7 : erg_mgf_l2_rmsd_8sec_gse 8 : erg_mgf_l2_rmsd_8sec_gsm 9 : erg_mgf_l2_rmsd_8sec_sm 10 : erg_mgf_l2_rmsd_8sec 11 : erg_mgf_l2_n_rmsd_8sec 12 : erg_mgf_l2_dyn_rng_8sec 13 : erg_mgf_l2_quality_8sec 14 : erg_mgf_l2_quality_8sec_gc 15 : erg_mgf_l2_igrf_8sec_dsi 16 : erg_mgf_l2_igrf_8sec_gse 17 : erg_mgf_l2_igrf_8sec_gsm 18 : erg_mgf_l2_igrf_8sec_sm 19 : erg_mgf_l2_mag_8sec_sm_y 20 : erg_mgf_l2_mag_8sec_sm_z 21 : erg_mgf_l2_mag_8sec_sm_x 22 : erg_mgf_l2_mag_8sec_sm_x_sq
['erg_mgf_l2_epoch_8sec', 'erg_mgf_l2_mag_8sec_dsi', 'erg_mgf_l2_mag_8sec_gse', 'erg_mgf_l2_mag_8sec_gsm', 'erg_mgf_l2_mag_8sec_sm', 'erg_mgf_l2_magt_8sec', 'erg_mgf_l2_rmsd_8sec_dsi', 'erg_mgf_l2_rmsd_8sec_gse', 'erg_mgf_l2_rmsd_8sec_gsm', 'erg_mgf_l2_rmsd_8sec_sm', 'erg_mgf_l2_rmsd_8sec', 'erg_mgf_l2_n_rmsd_8sec', 'erg_mgf_l2_dyn_rng_8sec', 'erg_mgf_l2_quality_8sec', 'erg_mgf_l2_quality_8sec_gc', 'erg_mgf_l2_igrf_8sec_dsi', 'erg_mgf_l2_igrf_8sec_gse', 'erg_mgf_l2_igrf_8sec_gsm', 'erg_mgf_l2_igrf_8sec_sm', 'erg_mgf_l2_mag_8sec_sm_y', 'erg_mgf_l2_mag_8sec_sm_z', 'erg_mgf_l2_mag_8sec_sm_x', 'erg_mgf_l2_mag_8sec_sm_x_sq']
tplot(['erg_mgf_l2_mag_8sec_sm_x', 'erg_mgf_l2_mag_8sec_sm_x_sq'])
pyspedas.tdpwrspc()
¶pyspedas.tdpwrspc('erg_mgf_l2_mag_8sec_sm_x',nboxpoints=128, nshiftpoints=8) #Calculate Fourier spectra of MGF data with a window of 128*8 sec and a time shift of 8 sec.
pyspedas.tdpwrspc('erg_mgf_l2_mag_8sec_sm_y',nboxpoints=128, nshiftpoints=8) #Calculate Fourier spectra of MGF data with a window of 128*8 sec and a time shift of 8 sec.
pyspedas.tdpwrspc('erg_mgf_l2_mag_8sec_sm_z',nboxpoints=128, nshiftpoints=8) #Calculate Fourier spectra of MGF data with a window of 128*8 sec and a time shift of 8 sec.
'erg_mgf_l2_mag_8sec_sm_z_dpwrspc'
#Add the plot option of x and y no sample for usage of google coab.
pytplot.options(['erg_mgf_l2_mag_8sec_sm_x_dpwrspc','erg_mgf_l2_mag_8sec_sm_y_dpwrspc','erg_mgf_l2_mag_8sec_sm_z_dpwrspc'],'x_no_resample', 1)
pytplot.options(['erg_mgf_l2_mag_8sec_sm_x_dpwrspc','erg_mgf_l2_mag_8sec_sm_y_dpwrspc','erg_mgf_l2_mag_8sec_sm_z_dpwrspc'],'y_no_resample', 1)
#Add the option of y-axsis title.
pytplot.options(['erg_mgf_l2_mag_8sec_sm_x_dpwrspc'],'ytitle', 'Frequency (Bx)')
pytplot.options(['erg_mgf_l2_mag_8sec_sm_y_dpwrspc'],'ytitle', 'Frequency (By)')
pytplot.options(['erg_mgf_l2_mag_8sec_sm_z_dpwrspc'],'ytitle', 'Frequency (Bz)')
#Plot the three magnetic field components and thier Fourier spectra with x and y sizes of 10 and 20, respectively..
tplot(['erg_mgf_l2_mag_8sec_sm_x','erg_mgf_l2_mag_8sec_sm_x_dpwrspc','erg_mgf_l2_mag_8sec_sm_y','erg_mgf_l2_mag_8sec_sm_y_dpwrspc','erg_mgf_l2_mag_8sec_sm_z','erg_mgf_l2_mag_8sec_sm_z_dpwrspc'], xsize = 10, ysize = 20)
#tplot(['erg_mgf_l2_mag_8sec_sm_x_dpwrspc','erg_mgf_l2_mag_8sec_sm_y_dpwrspc','erg_mgf_l2_mag_8sec_sm_z_dpwrspc'], xsize = 10, ysize = 20)
#tplot(['erg_mgf_l2_mag_8sec_sm_x','erg_mgf_l2_mag_8sec_sm_y','erg_mgf_l2_mag_8sec_sm_z'], xsize = 10, ysize = 20)
zlim()
¶from pyspedas.erg import pwe_ofa #Import pwe_ofa module from pyspedas.erg.
pwe_ofa( trange=['2017-09-07 00:00:00', '2017-09-08 00:00:00'] ) #Load PWE_OFA data for a period from 2017-09-07 00:00:00 to 2017-09-08 00:00:00.
pytplot.timespan( '2017-09-07 00:00:00', 1) #Set time span from 2017-09-07 00:00:00 to 2017-09-08 00:00:00.
pytplot.zlim( 'erg_pwe_ofa_l2_spec_E_spectra_132', 1e-7, 1e-2 ) #Change the contour range.
pytplot.options('erg_pwe_ofa_l2_spec_E_spectra_132','x_no_resample', 1)
pytplot.options('erg_pwe_ofa_l2_spec_E_spectra_132','y_no_resample', 1)
pytplot.options('erg_pwe_ofa_l2_spec_E_spectra_132','data_gap', 60) #This option is no plot of the data for a period when there are no data for more than 60 seconds.
tplot( 'erg_pwe_ofa_l2_spec_E_spectra_132' )
08-Mar-24 00:43:21: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/pwe/ofa/l2/spec/2017/09/ 08-Mar-24 00:43:22: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170907_v02_03.cdf to erg_data/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170907_v02_03.cdf 08-Mar-24 00:43:26: Download complete: erg_data/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170907_v02_03.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Plasma Wave Experiment (PWE) Onboard Frequency Analyzer (OFA) Level 2 spectrum data Information about ERG PWE OFA PI: Yoshiya Kasahara Affiliation: Kanazawa University RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of PWE/OFA: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Pwe/Ofa Contact: erg_pwe_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:43:30: <frozen importlib._bootstrap>:914: ImportWarning: _PyDrive2ImportHook.find_spec() not found; falling back to find_module() 08-Mar-24 00:43:30: <frozen importlib._bootstrap>:914: ImportWarning: _PyDriveImportHook.find_spec() not found; falling back to find_module() 08-Mar-24 00:43:30: <frozen importlib._bootstrap>:914: ImportWarning: _GenerativeAIImportHook.find_spec() not found; falling back to find_module() 08-Mar-24 00:43:30: <frozen importlib._bootstrap>:914: ImportWarning: _OpenCVImportHook.find_spec() not found; falling back to find_module() 08-Mar-24 00:43:30: <frozen importlib._bootstrap>:914: ImportWarning: APICoreClientInfoImportHook.find_spec() not found; falling back to find_module() 08-Mar-24 00:43:30: <frozen importlib._bootstrap>:914: ImportWarning: _BokehImportHook.find_spec() not found; falling back to find_module() 08-Mar-24 00:43:30: <frozen importlib._bootstrap>:914: ImportWarning: _AltairImportHook.find_spec() not found; falling back to find_module()
tplot_names()
¶vars = pytplot.tplot_names()
0 : erg_mgf_l2_epoch_8sec 1 : erg_mgf_l2_mag_8sec_dsi 2 : erg_mgf_l2_mag_8sec_gse 3 : erg_mgf_l2_mag_8sec_gsm 4 : erg_mgf_l2_mag_8sec_sm 5 : erg_mgf_l2_magt_8sec 6 : erg_mgf_l2_rmsd_8sec_dsi 7 : erg_mgf_l2_rmsd_8sec_gse 8 : erg_mgf_l2_rmsd_8sec_gsm 9 : erg_mgf_l2_rmsd_8sec_sm 10 : erg_mgf_l2_rmsd_8sec 11 : erg_mgf_l2_n_rmsd_8sec 12 : erg_mgf_l2_dyn_rng_8sec 13 : erg_mgf_l2_quality_8sec 14 : erg_mgf_l2_quality_8sec_gc 15 : erg_mgf_l2_igrf_8sec_dsi 16 : erg_mgf_l2_igrf_8sec_gse 17 : erg_mgf_l2_igrf_8sec_gsm 18 : erg_mgf_l2_igrf_8sec_sm 19 : erg_mgf_l2_mag_8sec_sm_y 20 : erg_mgf_l2_mag_8sec_sm_z 21 : erg_mgf_l2_mag_8sec_sm_x 22 : erg_mgf_l2_mag_8sec_sm_x_sq 23 : erg_mgf_l2_mag_8sec_sm_x_dpwrspc 24 : erg_mgf_l2_mag_8sec_sm_y_dpwrspc 25 : erg_mgf_l2_mag_8sec_sm_z_dpwrspc 26 : erg_pwe_ofa_l2_spec_epoch_e132 27 : erg_pwe_ofa_l2_spec_E_spectra_132 28 : erg_pwe_ofa_l2_spec_quality_flag_e132 29 : erg_pwe_ofa_l2_spec_epoch_b132 30 : erg_pwe_ofa_l2_spec_B_spectra_132 31 : erg_pwe_ofa_l2_spec_quality_flag_b132
pytplot.del_data( 'erg_*' )
vars = pytplot.tplot_names()
from pyspedas.erg import pwe_hfa, pwe_ofa, pwe_efd, mgf, xep, hep, mepe, lepe, mepi_nml, lepi, orb #Import several modules from pyspedas.erg.
trng = ['2017-09-07 00:00:00', '2017-09-08 00:00:00'] #Set time range from 2017-09-07 00:00:00 to 2017-09-08 00:00:00.
pwe_hfa( trange=trng, datatype='spec' ) #PWE_HFA (The defults are mode:low and level:l2)
pwe_ofa( trange=trng, datatype='spec' ) #PWE_OGA (The defult is level:l2)
pwe_efd( trange=trng, datatype='spec' ) #PWE_EFD (The defult is level:l2)
mgf( trange=trng ) #MGF
xep( trange=trng, datatype='omniflux' ) #XEP
hep( trange=trng, datatype='omniflux' ) #HEP
mepe( trange=trng, datatype='omniflux' ) #MEP-e
lepe( trange=trng, datatype='omniflux' ) #LEP-e
mepi_nml( trange=trng, datatype='omniflux' ) #MEP-i
lepi( trange=trng, datatype='omniflux' ) #LEP-i
08-Mar-24 00:44:19: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/pwe/hfa/l2/spec/low/2017/09/ 08-Mar-24 00:44:20: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/pwe/hfa/l2/spec/low/2017/09/erg_pwe_hfa_l2_spec_low_20170907_v01_02.cdf to erg_data/satellite/erg/pwe/hfa/l2/spec/low/2017/09/erg_pwe_hfa_l2_spec_low_20170907_v01_02.cdf 08-Mar-24 00:44:23: Download complete: erg_data/satellite/erg/pwe/hfa/l2/spec/low/2017/09/erg_pwe_hfa_l2_spec_low_20170907_v01_02.cdf 08-Mar-24 00:44:27: erg_pwe_hfa_l2_low_spectra_er contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 00:44:27: erg_pwe_hfa_l2_low_spectra_el contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 00:44:27: erg_pwe_hfa_l2_low_spectra_e_ar contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 00:44:27: Conflicting size for at least one dimension for variable erg_pwe_hfa_l2_low_spectra_eu_ev 08-Mar-24 00:44:27: Could not create coordinate v1_dim for variable erg_pwe_hfa_l2_low_spectra_eu_ev 08-Mar-24 00:44:27: Could not create coordinate v2_dim for variable erg_pwe_hfa_l2_low_spectra_eu_ev 08-Mar-24 00:44:27: erg_pwe_hfa_l2_low_spectra_eu_ev does not contain coordinates for spectrogram plotting. Continuing... 08-Mar-24 00:44:27: Conflicting size for at least one dimension for variable erg_pwe_hfa_l2_low_spectra_eu_bg 08-Mar-24 00:44:27: Could not create coordinate v1_dim for variable erg_pwe_hfa_l2_low_spectra_eu_bg 08-Mar-24 00:44:27: Could not create coordinate v2_dim for variable erg_pwe_hfa_l2_low_spectra_eu_bg 08-Mar-24 00:44:27: erg_pwe_hfa_l2_low_spectra_eu_bg does not contain coordinates for spectrogram plotting. Continuing... 08-Mar-24 00:44:27: Conflicting size for at least one dimension for variable erg_pwe_hfa_l2_low_spectra_ev_bg 08-Mar-24 00:44:27: Could not create coordinate v1_dim for variable erg_pwe_hfa_l2_low_spectra_ev_bg 08-Mar-24 00:44:27: Could not create coordinate v2_dim for variable erg_pwe_hfa_l2_low_spectra_ev_bg 08-Mar-24 00:44:27: erg_pwe_hfa_l2_low_spectra_ev_bg does not contain coordinates for spectrogram plotting. Continuing... 08-Mar-24 00:44:28: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/pwe/ofa/l2/spec/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Plasma Wave Experiment (PWE) Electric Field Data (HFA) Level 2 spectrum data Information about ERG PWE HFA PI: Yoshiya Kasahara Affiliation: Kanazawa University RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of PWE/HFA: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Pwe/Hfa Contact: erg_pwe_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:44:29: File is current: erg_data/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170907_v02_03.cdf 08-Mar-24 00:44:33: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/pwe/efd/l2/spec/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Plasma Wave Experiment (PWE) Onboard Frequency Analyzer (OFA) Level 2 spectrum data Information about ERG PWE OFA PI: Yoshiya Kasahara Affiliation: Kanazawa University RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of PWE/OFA: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Pwe/Ofa Contact: erg_pwe_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:44:34: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/pwe/efd/l2/spec/2017/09/erg_pwe_efd_l2_spec_20170907_v02_02.cdf to erg_data/satellite/erg/pwe/efd/l2/spec/2017/09/erg_pwe_efd_l2_spec_20170907_v02_02.cdf 08-Mar-24 00:44:36: Download complete: erg_data/satellite/erg/pwe/efd/l2/spec/2017/09/erg_pwe_efd_l2_spec_20170907_v02_02.cdf 08-Mar-24 00:44:37: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mgf/l2/8sec/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Plasma Wave Experiment (PWE) Electric Field Data (EFD) Level 2 spectrum data Information about ERG PWE EFD PI: Yoshiya Kasahara Affiliation: Kanazawa University RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of PWE/EFD: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Pwe/Efd Contact: erg_pwe_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:44:39: File is current: erg_data/satellite/erg/mgf/l2/8sec/2017/09/erg_mgf_l2_8sec_20170907_v03.04.cdf 08-Mar-24 00:44:39: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/xep/l2/omniflux/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Magnetic Field Experiment (MGF) Level 2 spin-averaged magnetic field data Information about ERG MGF PI: Ayako Matsuoka Affiliation: Data Analysis Center for Geomagnetism and Space Magnetism, Graduate School of Science, Kyoto University, Kitashirakawa-Oiwake Cho, Sakyo-ku Kyoto 606-8502, Japan RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of MGF L2: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Mgf Contact: erg_mgf_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:44:40: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/xep/l2/omniflux/2017/09/erg_xep_l2_omniflux_20170907_v01_00.cdf to erg_data/satellite/erg/xep/l2/omniflux/2017/09/erg_xep_l2_omniflux_20170907_v01_00.cdf 08-Mar-24 00:44:40: Download complete: erg_data/satellite/erg/xep/l2/omniflux/2017/09/erg_xep_l2_omniflux_20170907_v01_00.cdf 08-Mar-24 00:44:41: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/hep/l2/omniflux/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Extremely High-Energy Electron Experiment (XEP) Level 2 extremely high energy electron data Information about ERG XEP PI: Nana Higashio Affiliation: Space Environment Group, Aerospace Research and Development Directorate, Tsukuba Space Center, Japan Aerospace Exploration Agency, 2-1-1 Sengen, Tsukuba, Ibaraki 305-8505, Japan RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of XEP: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Xep Contact: erg_xep_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:44:42: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/hep/l2/omniflux/2017/09/erg_hep_l2_omniflux_20170907_v03_01.cdf to erg_data/satellite/erg/hep/l2/omniflux/2017/09/erg_hep_l2_omniflux_20170907_v03_01.cdf 08-Mar-24 00:44:43: Download complete: erg_data/satellite/erg/hep/l2/omniflux/2017/09/erg_hep_l2_omniflux_20170907_v03_01.cdf 08-Mar-24 00:44:43: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepe/l2/omniflux/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) High-energy electron experiments (HEP) Level-2 omni flux data PI: Takefumi Mitani Affiliation: ISAS, JAXA - The rules of the road (RoR) common to the ERG project: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en - RoR for HEP data: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Hep Contact: erg_hep_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:44:44: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepe/l2/omniflux/2017/09/erg_mepe_l2_omniflux_20170907_v01_02.cdf to erg_data/satellite/erg/mepe/l2/omniflux/2017/09/erg_mepe_l2_omniflux_20170907_v01_02.cdf 08-Mar-24 00:44:44: Download complete: erg_data/satellite/erg/mepe/l2/omniflux/2017/09/erg_mepe_l2_omniflux_20170907_v01_02.cdf 08-Mar-24 00:44:44: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/lepe/l2/omniflux/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Medium Energy Particle experiments - electron analyzer (MEP-e) electron omni flux data PI: Satoshi Kasahara Affiliation: The University of Tokyo - The rules of the road (RoR) common to the ERG project: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en - RoR for MEP-e data: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Mepe Contact: erg_mep_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:44:46: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/lepe/l2/omniflux/2017/09/erg_lepe_l2_omniflux_20170907_v04_01.cdf to erg_data/satellite/erg/lepe/l2/omniflux/2017/09/erg_lepe_l2_omniflux_20170907_v04_01.cdf 08-Mar-24 00:44:46: Download complete: erg_data/satellite/erg/lepe/l2/omniflux/2017/09/erg_lepe_l2_omniflux_20170907_v04_01.cdf 08-Mar-24 00:44:47: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepi/l2/omniflux/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Low-Energy Particle experiments - electron analyzer (LEP-e) Level 2 omni electron flux data Information about ERG LEPe PI: Shiang-Yu Wang Affiliation: Academia Sinica, Taiwan RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of LEPe L2: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Lepe Contact: erg_lepe_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:44:48: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepi/l2/omniflux/2017/09/erg_mepi_l2_omniflux_20170907_v02_01.cdf to erg_data/satellite/erg/mepi/l2/omniflux/2017/09/erg_mepi_l2_omniflux_20170907_v02_01.cdf 08-Mar-24 00:44:48: Download complete: erg_data/satellite/erg/mepi/l2/omniflux/2017/09/erg_mepi_l2_omniflux_20170907_v02_01.cdf 08-Mar-24 00:44:49: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/lepi/l2/omniflux/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Medium Energy Particle experiments - ion mass analyzer (MEP-i) 3D ion omni flux data PI: Shoichiro Yokota Affiliation: Osaka University - The rules of the road (RoR) common to the ERG project: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en - RoR for MEP-i data: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Mepi Contact: erg_mep_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:44:50: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/lepi/l2/omniflux/2017/09/erg_lepi_l2_omniflux_20170907_v03_00.cdf to erg_data/satellite/erg/lepi/l2/omniflux/2017/09/erg_lepi_l2_omniflux_20170907_v03_00.cdf 08-Mar-24 00:44:51: Download complete: erg_data/satellite/erg/lepi/l2/omniflux/2017/09/erg_lepi_l2_omniflux_20170907_v03_00.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Low Energy Particle Ion (LEPi) Experiment 3D ion flux data Information about ERG LEPi PI: Kazushi Asamura Affiliation: ISAS, Jaxa RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of LEPi L2: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Lepi RoR of ERG/LEPi: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Lepi#Rules_of_the_Road Contact: erg_lepi_info at isee.nagoya-u.ac.jp **************************************************************************
['erg_lepi_l2_omniflux_Epoch', 'erg_lepi_l2_omniflux_FPDO', 'erg_lepi_l2_omniflux_FHEDO', 'erg_lepi_l2_omniflux_FODO', 'erg_lepi_l2_omniflux_FPDO_raw', 'erg_lepi_l2_omniflux_FHEDO_raw', 'erg_lepi_l2_omniflux_FODO_raw']
vars = pytplot.tplot_names()
0 : erg_pwe_hfa_l2_low_Epoch 1 : erg_pwe_hfa_l2_low_spectra_eu 2 : erg_pwe_hfa_l2_low_spectra_ev 3 : erg_pwe_hfa_l2_low_spectra_bgamma 4 : erg_pwe_hfa_l2_low_spectra_esum 5 : erg_pwe_hfa_l2_low_spectra_er 6 : erg_pwe_hfa_l2_low_spectra_el 7 : erg_pwe_hfa_l2_low_spectra_e_mix 8 : erg_pwe_hfa_l2_low_spectra_e_ar 9 : erg_pwe_hfa_l2_low_spectra_eu_ev 10 : erg_pwe_hfa_l2_low_spectra_eu_bg 11 : erg_pwe_hfa_l2_low_spectra_ev_bg 12 : erg_pwe_hfa_l2_low_quality_flag 13 : erg_pwe_ofa_l2_spec_epoch_e132 14 : erg_pwe_ofa_l2_spec_E_spectra_132 15 : erg_pwe_ofa_l2_spec_quality_flag_e132 16 : erg_pwe_ofa_l2_spec_epoch_b132 17 : erg_pwe_ofa_l2_spec_B_spectra_132 18 : erg_pwe_ofa_l2_spec_quality_flag_b132 19 : erg_pwe_efd_l2_spec_spectra 20 : erg_pwe_efd_l2_spec_quality_flag 21 : erg_mgf_l2_epoch_8sec 22 : erg_mgf_l2_mag_8sec_dsi 23 : erg_mgf_l2_mag_8sec_gse 24 : erg_mgf_l2_mag_8sec_gsm 25 : erg_mgf_l2_mag_8sec_sm 26 : erg_mgf_l2_magt_8sec 27 : erg_mgf_l2_rmsd_8sec_dsi 28 : erg_mgf_l2_rmsd_8sec_gse 29 : erg_mgf_l2_rmsd_8sec_gsm 30 : erg_mgf_l2_rmsd_8sec_sm 31 : erg_mgf_l2_rmsd_8sec 32 : erg_mgf_l2_n_rmsd_8sec 33 : erg_mgf_l2_dyn_rng_8sec 34 : erg_mgf_l2_quality_8sec 35 : erg_mgf_l2_quality_8sec_gc 36 : erg_mgf_l2_igrf_8sec_dsi 37 : erg_mgf_l2_igrf_8sec_gse 38 : erg_mgf_l2_igrf_8sec_gsm 39 : erg_mgf_l2_igrf_8sec_sm 40 : erg_xep_l2_FEDO_SSD 41 : erg_hep_l2_FEDO_L 42 : erg_hep_l2_FEDO_H 43 : erg_mepe_l2_omniflux_epoch 44 : erg_mepe_l2_omniflux_FEDO 45 : erg_lepe_l2_omniflux_FEDO 46 : erg_mepi_l2_omniflux_epoch 47 : erg_mepi_l2_omniflux_epoch_tof 48 : erg_mepi_l2_omniflux_FIDO_Energy 49 : erg_mepi_l2_omniflux_FPDO 50 : erg_mepi_l2_omniflux_FHE2DO 51 : erg_mepi_l2_omniflux_FHEDO 52 : erg_mepi_l2_omniflux_FOPPDO 53 : erg_mepi_l2_omniflux_FODO 54 : erg_mepi_l2_omniflux_FO2PDO 55 : erg_mepi_l2_omniflux_FPDO_tof 56 : erg_mepi_l2_omniflux_FHE2DO_tof 57 : erg_mepi_l2_omniflux_FHEDO_tof 58 : erg_mepi_l2_omniflux_FOPPDO_tof 59 : erg_mepi_l2_omniflux_FODO_tof 60 : erg_mepi_l2_omniflux_FO2PDO_tof 61 : erg_lepi_l2_omniflux_Epoch 62 : erg_lepi_l2_omniflux_FPDO_raw 63 : erg_lepi_l2_omniflux_FHEDO_raw 64 : erg_lepi_l2_omniflux_FODO_raw 65 : erg_lepi_l2_omniflux_FPDO 66 : erg_lepi_l2_omniflux_FHEDO 67 : erg_lepi_l2_omniflux_FODO
#For usage of google colab.
pytplot.options(['erg_pwe_hfa_l2_low_spectra_e_mix', 'erg_pwe_ofa_l2_spec_E_spectra_132', 'erg_pwe_ofa_l2_spec_B_spectra_132', 'erg_pwe_efd_l2_spec_spectra', 'erg_mgf_l2_mag_8sec_sm', 'erg_xep_l2_FEDO_SSD', 'erg_hep_l2_FEDO_H', 'erg_hep_l2_FEDO_L', 'erg_mepe_l2_omniflux_FEDO', 'erg_lepe_l2_omniflux_FEDO', 'erg_mepi_l2_omniflux_FPDO', 'erg_lepi_l2_omniflux_FPDO'], 'x_no_resample', 1)
pytplot.options(['erg_pwe_hfa_l2_low_spectra_e_mix', 'erg_pwe_ofa_l2_spec_E_spectra_132', 'erg_pwe_ofa_l2_spec_B_spectra_132', 'erg_pwe_efd_l2_spec_spectra', 'erg_mgf_l2_mag_8sec_sm', 'erg_xep_l2_FEDO_SSD', 'erg_hep_l2_FEDO_H', 'erg_hep_l2_FEDO_L', 'erg_mepe_l2_omniflux_FEDO', 'erg_lepe_l2_omniflux_FEDO', 'erg_mepi_l2_omniflux_FPDO', 'erg_lepi_l2_omniflux_FPDO'], 'y_no_resample', 1)
#Set the option of data gap with 60 seconds.
pytplot.options(['erg_pwe_hfa_l2_low_spectra_e_mix', 'erg_pwe_ofa_l2_spec_E_spectra_132', 'erg_pwe_ofa_l2_spec_B_spectra_132', 'erg_pwe_efd_l2_spec_spectra', 'erg_mgf_l2_mag_8sec_sm', 'erg_xep_l2_FEDO_SSD', 'erg_hep_l2_FEDO_H', 'erg_mepe_l2_omniflux_FEDO', 'erg_lepe_l2_omniflux_FEDO', 'erg_mepi_l2_omniflux_FPDO', 'erg_lepi_l2_omniflux_FPDO'], 'data_gap', 60.0)
#Plot all the data with x and ysizes of 10 and 30, respectively.
tplot(['erg_pwe_hfa_l2_low_spectra_e_mix', 'erg_pwe_ofa_l2_spec_E_spectra_132', 'erg_pwe_ofa_l2_spec_B_spectra_132', 'erg_pwe_efd_l2_spec_spectra', 'erg_mgf_l2_mag_8sec_sm', 'erg_xep_l2_FEDO_SSD', 'erg_hep_l2_FEDO_H', 'erg_hep_l2_FEDO_L', 'erg_mepe_l2_omniflux_FEDO', 'erg_mepi_l2_omniflux_FPDO', 'erg_lepi_l2_omniflux_FPDO'], xsize = 10, ysize = 30)
Perceptually uniform colormaps optimized for color-blined individuals are usually recommended for publications and presentations.
Perceptually uniform colormaps
'viridis', 'inferno', 'plasma', 'magma', 'cividis'
Diverging colormaps in which a reddish color and a greenish color are not used at the same time are also good especially for indicating larger or smaller values relative to a reference value.
'seismic', 'bwr', 'coolwarm', 'RdYlBu', 'RdBu', 'RdGy'
Append _r to the name of any colormap to get the reversed version.
Example: 'seismic_r', 'RdYlBu_r'
pytplot.options('erg_pwe_hfa_l2_low_spectra_e_mix', 'colormap', 'inferno') #Chage the colormap for HFA data again.
pytplot.options('erg_pwe_ofa_l2_spec_E_spectra_132', 'colormap', 'inferno' ) #Chage the colormap for OFA-E data again.
pytplot.options('erg_pwe_ofa_l2_spec_B_spectra_132', 'colormap', 'inferno' ) #Chage the colormap for OFA-B data again.
pytplot.options('erg_pwe_efd_l2_spec_spectra', 'colormap', 'inferno' ) #Chage the colormap for EFD-Spectrum data again.
#pytplot.options(['erg_pwe_hfa_l2_low_spectra_e_mix', 'erg_pwe_ofa_l2_spec_E_spectra_132', 'erg_pwe_ofa_l2_spec_B_spectra_132', 'erg_pwe_efd_l2_spec_spectra'], 'colormap', 'inferno' )
pytplot.options('erg_xep_l2_FEDO_SSD', 'colormap', 'viridis') #Chage the colormap for XEP data again.
pytplot.options('erg_hep_l2_FEDO_H', 'colormap', 'viridis' ) #Chage the colormap for HEP-H data again.
pytplot.options('erg_hep_l2_FEDO_L', 'colormap', 'viridis' ) #Chage the colormap for HEP-L data again.
pytplot.options('erg_mepe_l2_omniflux_FEDO', 'colormap', 'viridis' ) #Chage the colormap for MEP-e data again.
pytplot.options('erg_mepi_l2_omniflux_FPDO', 'colormap', 'viridis' ) #Chage the colormap for MEP-i data again.
pytplot.options('erg_lepe_l2_omniflux_FEDO', 'colormap', 'viridis' ) #Chage the colormap for LEP-e data again.
pytplot.options('erg_lepi_l2_omniflux_FPDO', 'colormap', 'viridis' ) #Chage the colormap for LEP-i data again.
#pytplot.options(['erg_xep_l2_FEDO_SSD','erg_hep_l2_FEDO_H','erg_hep_l2_FEDO_L','erg_mepe_l2_omniflux_FEDO','erg_mepi_l2_omniflux_FPDO','erg_lepe_l2_omniflux_FEDO','erg_lepi_l2_omniflux_FPDO'], 'colormap', 'viridis')
#Plot all the data with x and ysizes of 10 and 30, respectively.
tplot(['erg_pwe_hfa_l2_low_spectra_e_mix', 'erg_pwe_ofa_l2_spec_E_spectra_132', 'erg_pwe_ofa_l2_spec_B_spectra_132', 'erg_pwe_efd_l2_spec_spectra', 'erg_mgf_l2_mag_8sec_sm', 'erg_xep_l2_FEDO_SSD', 'erg_hep_l2_FEDO_H', 'erg_hep_l2_FEDO_L', 'erg_mepe_l2_omniflux_FEDO', 'erg_mepi_l2_omniflux_FPDO', 'erg_lepi_l2_omniflux_FPDO'], xsize = 10, ysize = 30)
orb( trange=['2017-09-07 00:00:00', '2017-09-08 00:00:00']) #Load Arase orbit data.
labels = pytplot.split_vec( 'erg_orb_l2_pos_rmlatmlt' ) #Select label data to show at a bottom plot.
pytplot.options( 'erg_orb_l2_pos_rmlatmlt_x', 'ytitle', 'R [Re]' ) #Set title of altitude data.
pytplot.options( 'erg_orb_l2_pos_rmlatmlt_y', 'ytitle', 'MLat [deg]' ) #Set title of magnetic latitude data.
pytplot.options( 'erg_orb_l2_pos_rmlatmlt_z', 'ytitle', 'MLT [h]' ) #Set title of magnetic local time data.
#Plot all the data.
tplot( [ 'erg_pwe_hfa_l2_low_spectra_e_mix', 'erg_pwe_ofa_l2_spec_E_spectra_132', 'erg_pwe_ofa_l2_spec_B_spectra_132', 'erg_pwe_efd_l2_spec_spectra', 'erg_mgf_l2_mag_8sec_sm'], var_label=labels, xsize = 10, ysize = 20 )
08-Mar-24 00:47:40: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/def/2017/ 08-Mar-24 00:47:42: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/def/2017/erg_orb_l2_20170907_v03.cdf to erg_data/satellite/erg/orb/def/2017/erg_orb_l2_20170907_v03.cdf 08-Mar-24 00:47:42: Download complete: erg_data/satellite/erg/orb/def/2017/erg_orb_l2_20170907_v03.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Level-2 orbit data Information about ERG orbit RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en Contact: erg-sc-core at isee.nagoya-u.ac.jp **************************************************************************
pytplot.del_data( 'erg_*' )
vars = pytplot.tplot_names()
An experimental version of the part_products library has just been implemented to the ERG-SC plug-in. So far only the bleeding-edge distribution of the plug-in contains the part_products. In near future, after fully tested, the ERG part_products will be merged to the main distribution of pySPEDAS.
As of Mar., 2022, the following modules are released experimentally:
erg_xep_part_products()
erg_hep_part_products()
erg_mep_part_products()
for MEP-e and MEP-i Normal mode dataerg_lep_part_products()
for LEP-e and LEP-i Normal mode dataThey can be used with common arguments and options, similar to those of the (original) IDL version. Several spectrum plots using part_products are demonstrated below to show how to use the library for Arase's particle data.
# Load MEP-e Lv.2 3-D flux data
pytplot.timespan( '2017-09-08 20:00:00', 4, keyword='hours' )
mepe( trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'], datatype='3dflux' )
08-Mar-24 00:49:34: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepe/l2/3dflux/2017/09/ 08-Mar-24 00:49:35: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepe/l2/3dflux/2017/09/erg_mepe_l2_3dflux_20170908_v01_01.cdf to erg_data/satellite/erg/mepe/l2/3dflux/2017/09/erg_mepe_l2_3dflux_20170908_v01_01.cdf 08-Mar-24 00:49:56: Download complete: erg_data/satellite/erg/mepe/l2/3dflux/2017/09/erg_mepe_l2_3dflux_20170908_v01_01.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Medium-Energy Particle experiments - electron analyzer (MEP-e) Level 2 3D electron flux data PI: Satoshi Kasahara Affiliation: The University of Tokyo - The rules of the road (RoR) common to the ERG project: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en - RoR for MEP-e data: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Mepe Contact: erg_mep_info at isee.nagoya-u.ac.jp **************************************************************************
['erg_mepe_l2_3dflux_FEDU', 'erg_mepe_l2_3dflux_FEDU_n', 'erg_mepe_l2_3dflux_FEEDU', 'erg_mepe_l2_3dflux_count_raw', 'erg_mepe_l2_3dflux_spin_phase']
# Calculate energy-time spectra of the omni-dir. electron flux based on MEP-e data
from pyspedas.erg import erg_mep_part_products
vars = erg_mep_part_products( 'erg_mepe_l2_3dflux_FEDU', outputs='energy', trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'] )
pytplot.options('erg_mepe_l2_3dflux_FEDU_energy', 'x_no_resample', 1)
pytplot.options('erg_mepe_l2_3dflux_FEDU_energy', 'y_no_resample', 1)
tplot( 'erg_mepe_l2_3dflux_FEDU_energy' )
# Calculate pitch-angle-time spectra of electron flux based on MEP-e data
vars = mgf( trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'] ) # Load necessary B-field data
vars = orb( trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'] ) # Load necessary orbit data
mag_vn = 'erg_mgf_l2_mag_8sec_dsi'
pos_vn = 'erg_orb_l2_pos_gse'
vars = erg_mep_part_products( 'erg_mepe_l2_3dflux_FEDU', outputs='pa', energy=[15000., 22000.], fac_type='xdsi', mag_name=mag_vn, pos_name=pos_vn, trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'] )
pytplot.options('erg_mepe_l2_3dflux_FEDU_pa', 'x_no_resample', 1)
pytplot.options('erg_mepe_l2_3dflux_FEDU_pa', 'y_no_resample', 1)
tplot( 'erg_mepe_l2_3dflux_FEDU_pa' )
08-Mar-24 00:51:18: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mgf/l2/8sec/2017/09/ 08-Mar-24 00:51:19: File is current: erg_data/satellite/erg/mgf/l2/8sec/2017/09/erg_mgf_l2_8sec_20170908_v03.04.cdf 08-Mar-24 00:51:19: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/def/2017/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Magnetic Field Experiment (MGF) Level 2 spin-averaged magnetic field data Information about ERG MGF PI: Ayako Matsuoka Affiliation: Data Analysis Center for Geomagnetism and Space Magnetism, Graduate School of Science, Kyoto University, Kitashirakawa-Oiwake Cho, Sakyo-ku Kyoto 606-8502, Japan RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of MGF L2: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Mgf Contact: erg_mgf_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:51:21: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/def/2017/erg_orb_l2_20170908_v03.cdf to erg_data/satellite/erg/orb/def/2017/erg_orb_l2_20170908_v03.cdf 08-Mar-24 00:51:21: Download complete: erg_data/satellite/erg/orb/def/2017/erg_orb_l2_20170908_v03.cdf 08-Mar-24 00:51:22: erg_mgf_l2_mag_8sec_dsi_shifted copied to erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 08-Mar-24 00:51:22: tinterpol (linear) was applied to: erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 08-Mar-24 00:51:22: erg_orb_l2_pos_gse copied to erg_orb_l2_pos_gse_pgs_temp 08-Mar-24 00:51:22: tinterpol (linear) was applied to: erg_orb_l2_pos_gse_pgs_temp
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Level-2 orbit data Information about ERG orbit RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en Contact: erg-sc-core at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 00:51:27: erg_mepe_l2_3dflux_FEDU is 42% done. 08-Mar-24 00:51:32: erg_mepe_l2_3dflux_FEDU is 70% done.
# Calculate energy-time spectra of electron flux for limited pitch-angle (PA) ranges
## Here we calculate energy-time spectra for PA = 0-10 deg and PA = 80-100 deg.
vars = erg_mep_part_products( 'erg_mepe_l2_3dflux_FEDU', outputs='fac_energy', pitch=[80., 100.], fac_type='xdsi', mag_name=mag_vn, pos_name=pos_vn, trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'], suffix='_pa80-100' )
vars = erg_mep_part_products( 'erg_mepe_l2_3dflux_FEDU', outputs='fac_energy', pitch=[40., 50.], fac_type='xdsi', mag_name=mag_vn, pos_name=pos_vn, trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'], suffix='_pa40-50' )
vars = erg_mep_part_products( 'erg_mepe_l2_3dflux_FEDU', outputs='fac_energy', pitch=[10., 20.], fac_type='xdsi', mag_name=mag_vn, pos_name=pos_vn, trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'], suffix='_pa10-20' )
vars = erg_mep_part_products( 'erg_mepe_l2_3dflux_FEDU', outputs='fac_energy', pitch=[0., 10.], fac_type='xdsi', mag_name=mag_vn, pos_name=pos_vn, trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'], suffix='_pa0-10' )
## Decorate the obtained spectrum variables
pytplot.options( 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa80-100', 'ytitle', 'MEP-e flux\nPA: 80-100\n\n[eV]')
pytplot.options( 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa40-50', 'ytitle', 'MEP-e flux\nPA: 40-50\n\n[eV]')
pytplot.options( 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa10-20', 'ytitle', 'MEP-e flux\nPA: 10-20\n\n[eV]')
pytplot.options( 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa0-10', 'ytitle', 'MEP-e flux\nPA: 0-10\n\n[eV]')
pytplot.options('erg_mepe_l2_3dflux_FEDU_energy_mag_pa80-100', 'x_no_resample', 1)
pytplot.options('erg_mepe_l2_3dflux_FEDU_energy_mag_pa80-100', 'y_no_resample', 1)
pytplot.options('erg_mepe_l2_3dflux_FEDU_energy_mag_pa40-50', 'x_no_resample', 1)
pytplot.options('erg_mepe_l2_3dflux_FEDU_energy_mag_pa40-50', 'y_no_resample', 1)
pytplot.options('erg_mepe_l2_3dflux_FEDU_energy_mag_pa10-20', 'x_no_resample', 1)
pytplot.options('erg_mepe_l2_3dflux_FEDU_energy_mag_pa10-20', 'y_no_resample', 1)
pytplot.options('erg_mepe_l2_3dflux_FEDU_energy_mag_pa0-10', 'x_no_resample', 1)
pytplot.options('erg_mepe_l2_3dflux_FEDU_energy_mag_pa0-10', 'y_no_resample', 1)
tplot( ['erg_mepe_l2_3dflux_FEDU_energy_mag_pa80-100', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa40-50', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa10-20', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa0-10' ] , xsize = 10, ysize = 20)
08-Mar-24 00:59:29: erg_mgf_l2_mag_8sec_dsi_shifted copied to erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 08-Mar-24 00:59:29: tinterpol (linear) was applied to: erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 08-Mar-24 00:59:29: erg_orb_l2_pos_gse copied to erg_orb_l2_pos_gse_pgs_temp 08-Mar-24 00:59:29: tinterpol (linear) was applied to: erg_orb_l2_pos_gse_pgs_temp 08-Mar-24 00:59:29: /usr/local/lib/python3.10/dist-packages/pyspedas/erg/satellite/erg/particle/erg_pgs_make_e_spec.py:30: RuntimeWarning: invalid value encountered in divide ave = data_array.sum(axis=1) / data['bins'].sum(axis=1) 08-Mar-24 00:59:34: erg_mepe_l2_3dflux_FEDU is 50% done. 08-Mar-24 00:59:39: erg_mgf_l2_mag_8sec_dsi_shifted copied to erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 08-Mar-24 00:59:39: tinterpol (linear) was applied to: erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 08-Mar-24 00:59:39: erg_orb_l2_pos_gse copied to erg_orb_l2_pos_gse_pgs_temp 08-Mar-24 00:59:39: tinterpol (linear) was applied to: erg_orb_l2_pos_gse_pgs_temp 08-Mar-24 00:59:39: /usr/local/lib/python3.10/dist-packages/pyspedas/erg/satellite/erg/particle/erg_pgs_make_e_spec.py:30: RuntimeWarning: invalid value encountered in divide ave = data_array.sum(axis=1) / data['bins'].sum(axis=1) 08-Mar-24 00:59:44: erg_mepe_l2_3dflux_FEDU is 56% done. 08-Mar-24 00:59:48: erg_mgf_l2_mag_8sec_dsi_shifted copied to erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 08-Mar-24 00:59:48: tinterpol (linear) was applied to: erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 08-Mar-24 00:59:48: erg_orb_l2_pos_gse copied to erg_orb_l2_pos_gse_pgs_temp 08-Mar-24 00:59:48: tinterpol (linear) was applied to: erg_orb_l2_pos_gse_pgs_temp 08-Mar-24 00:59:48: /usr/local/lib/python3.10/dist-packages/pyspedas/erg/satellite/erg/particle/erg_pgs_make_e_spec.py:30: RuntimeWarning: invalid value encountered in divide ave = data_array.sum(axis=1) / data['bins'].sum(axis=1) 08-Mar-24 00:59:53: erg_mepe_l2_3dflux_FEDU is 58% done. 08-Mar-24 00:59:57: erg_mgf_l2_mag_8sec_dsi_shifted copied to erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 08-Mar-24 00:59:57: tinterpol (linear) was applied to: erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 08-Mar-24 00:59:57: erg_orb_l2_pos_gse copied to erg_orb_l2_pos_gse_pgs_temp 08-Mar-24 00:59:57: tinterpol (linear) was applied to: erg_orb_l2_pos_gse_pgs_temp 08-Mar-24 00:59:57: /usr/local/lib/python3.10/dist-packages/pyspedas/erg/satellite/erg/particle/erg_pgs_make_e_spec.py:30: RuntimeWarning: invalid value encountered in divide ave = data_array.sum(axis=1) / data['bins'].sum(axis=1) 08-Mar-24 01:00:02: erg_mepe_l2_3dflux_FEDU is 57% done.
# Derivation of the ion velocity moments from MEP-i proton data
## First load the necessary datasets
from pyspedas.erg import mgf, orb, mepi_nml, erg_mep_part_products
vars = mepi_nml( trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'], datatype='3dflux' ) # Load necessary B-field data
vars = mgf( trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'] ) # Load necessary B-field data
vars = orb( trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'] ) # Load necessary orbit data
mag_vn = 'erg_mgf_l2_mag_8sec_dsi'
pos_vn = 'erg_orb_l2_pos_gse'
08-Mar-24 01:03:17: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepi/l2/3dflux/2017/09/ 08-Mar-24 01:03:19: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepi/l2/3dflux/2017/09/erg_mepi_l2_3dflux_20170908_v01_03.cdf to erg_data/satellite/erg/mepi/l2/3dflux/2017/09/erg_mepi_l2_3dflux_20170908_v01_03.cdf 08-Mar-24 01:03:23: Download complete: erg_data/satellite/erg/mepi/l2/3dflux/2017/09/erg_mepi_l2_3dflux_20170908_v01_03.cdf 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_FPDU contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_FHE2DU contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_FHEDU contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_FOPPDU contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_FODU contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_FO2PDU contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_count_raw_P contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_count_raw_HE2 contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_count_raw_HE contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_count_raw_OPP contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_count_raw_O contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: erg_mepi_l2_3dflux_count_raw_O2P contains negative values; setting the z-axis to log scale will cause the negative values to be ignored on figures. 08-Mar-24 01:04:09: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mgf/l2/8sec/2017/09/
printing PI info and rules of the road was failed
08-Mar-24 01:04:10: File is current: erg_data/satellite/erg/mgf/l2/8sec/2017/09/erg_mgf_l2_8sec_20170908_v03.04.cdf 08-Mar-24 01:04:10: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/def/2017/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Magnetic Field Experiment (MGF) Level 2 spin-averaged magnetic field data Information about ERG MGF PI: Ayako Matsuoka Affiliation: Data Analysis Center for Geomagnetism and Space Magnetism, Graduate School of Science, Kyoto University, Kitashirakawa-Oiwake Cho, Sakyo-ku Kyoto 606-8502, Japan RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of MGF L2: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Mgf Contact: erg_mgf_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 01:04:11: File is current: erg_data/satellite/erg/orb/def/2017/erg_orb_l2_20170908_v03.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Level-2 orbit data Information about ERG orbit RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en Contact: erg-sc-core at isee.nagoya-u.ac.jp **************************************************************************
## Calculate a set of velocity moments with the "part_products" library.
vars = erg_mep_part_products( 'erg_mepi_l2_3dflux_FPDU', outputs='moments', mag_name=mag_vn, pos_name=pos_vn, trange=['2017-09-08 20:00:00', '2017-09-08 24:00:00'])
08-Mar-24 01:04:37: tinterpol (linear) was applied to: erg_mgf_l2_mag_8sec_dsi_shifted 08-Mar-24 01:04:40: /usr/local/lib/python3.10/dist-packages/pyspedas/particles/moments/moments_3d.py:78: RuntimeWarning: overflow encountered in multiply tmp = data['data']*de_e*weight*e_inf**1.5/energy 08-Mar-24 01:04:40: /usr/local/lib/python3.10/dist-packages/numpy/core/fromnumeric.py:88: RuntimeWarning: invalid value encountered in reduce return ufunc.reduce(obj, axis, dtype, out, **passkwargs) 08-Mar-24 01:04:40: /usr/local/lib/python3.10/dist-packages/pyspedas/particles/moments/moments_3d.py:90: RuntimeWarning: overflow encountered in multiply tmp = data['data']*de_e*weight*e_inf**2/energy 08-Mar-24 01:04:42: erg_mepi_l2_3dflux_FPDU is 80% done. 08-Mar-24 01:04:43: erg_mepi_l2_3dflux_FPDU_eflux is currently not in pytplot. 08-Mar-24 01:04:43: erg_mepi_l2_3dflux_FPDU_eflux is currently not in pytplot.
pytplot.tplot_names()
0 : erg_mepe_l2_3dflux_FEDU 1 : erg_mepe_l2_3dflux_FEDU_n 2 : erg_mepe_l2_3dflux_FEEDU 3 : erg_mepe_l2_3dflux_count_raw 4 : erg_mepe_l2_3dflux_spin_phase 5 : erg_mepe_l2_3dflux_FEDU_energy 6 : erg_mgf_l2_epoch_8sec 7 : erg_mgf_l2_mag_8sec_dsi 8 : erg_mgf_l2_mag_8sec_gse 9 : erg_mgf_l2_mag_8sec_gsm 10 : erg_mgf_l2_mag_8sec_sm 11 : erg_mgf_l2_magt_8sec 12 : erg_mgf_l2_rmsd_8sec_dsi 13 : erg_mgf_l2_rmsd_8sec_gse 14 : erg_mgf_l2_rmsd_8sec_gsm 15 : erg_mgf_l2_rmsd_8sec_sm 16 : erg_mgf_l2_rmsd_8sec 17 : erg_mgf_l2_n_rmsd_8sec 18 : erg_mgf_l2_dyn_rng_8sec 19 : erg_mgf_l2_quality_8sec 20 : erg_mgf_l2_quality_8sec_gc 21 : erg_mgf_l2_igrf_8sec_dsi 22 : erg_mgf_l2_igrf_8sec_gse 23 : erg_mgf_l2_igrf_8sec_gsm 24 : erg_mgf_l2_igrf_8sec_sm 25 : erg_orb_l2_pos_llr 26 : erg_orb_l2_pos_gse 27 : erg_orb_l2_pos_gsm 28 : erg_orb_l2_pos_sm 29 : erg_orb_l2_pos_rmlatmlt 30 : erg_orb_l2_pos_eq 31 : erg_orb_l2_pos_iono_north 32 : erg_orb_l2_pos_iono_south 33 : erg_orb_l2_pos_blocal 34 : erg_orb_l2_pos_blocal_mag 35 : erg_orb_l2_pos_beq 36 : erg_orb_l2_pos_beq_mag 37 : erg_orb_l2_pos_Lm 38 : erg_orb_l2_vel_gse 39 : erg_orb_l2_vel_gsm 40 : erg_orb_l2_vel_sm 41 : erg_orb_l2_spn_num 42 : erg_orb_l2_man_prep_flag 43 : erg_orb_l2_man_on_flag 44 : erg_orb_l2_eclipse_flag 45 : erg_mgf_l2_mag_8sec_dsi_shifted 46 : erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 47 : erg_orb_l2_pos_gse_pgs_temp 48 : erg_mepe_l2_3dflux_FEDU_pa 49 : erg_mepe_l2_3dflux_FEDU_energy_mag_pa80-100 50 : erg_mepe_l2_3dflux_FEDU_energy_mag_pa0-10 51 : erg_mepe_l2_3dflux_FEDU_energy_mag_pa40-50 52 : erg_mepe_l2_3dflux_FEDU_energy_mag_pa10-20 53 : erg_mepi_l2_3dflux_spin_phase 54 : erg_mepi_l2_3dflux_FPDU 55 : erg_mepi_l2_3dflux_FPEDU 56 : erg_mepi_l2_3dflux_count_raw_P 57 : erg_mepi_l2_3dflux_FPDU_Energy 58 : erg_mepi_l2_3dflux_FHE2DU 59 : erg_mepi_l2_3dflux_FHE2EDU 60 : erg_mepi_l2_3dflux_count_raw_HE2 61 : erg_mepi_l2_3dflux_FHE2DU_Energy 62 : erg_mepi_l2_3dflux_FHEDU 63 : erg_mepi_l2_3dflux_FHEEDU 64 : erg_mepi_l2_3dflux_count_raw_HE 65 : erg_mepi_l2_3dflux_FHEDU_Energy 66 : erg_mepi_l2_3dflux_FOPPDU 67 : erg_mepi_l2_3dflux_FOPPEDU 68 : erg_mepi_l2_3dflux_count_raw_OPP 69 : erg_mepi_l2_3dflux_FOPPDU_Energy 70 : erg_mepi_l2_3dflux_FODU 71 : erg_mepi_l2_3dflux_FOEDU 72 : erg_mepi_l2_3dflux_count_raw_O 73 : erg_mepi_l2_3dflux_FODU_Energy 74 : erg_mepi_l2_3dflux_FO2PDU 75 : erg_mepi_l2_3dflux_FO2PEDU 76 : erg_mepi_l2_3dflux_count_raw_O2P 77 : erg_mepi_l2_3dflux_FO2PDU_Energy 78 : erg_mepi_l2_3dflux_FPDU_density 79 : erg_mepi_l2_3dflux_FPDU_flux 80 : erg_mepi_l2_3dflux_FPDU_mftens 81 : erg_mepi_l2_3dflux_FPDU_velocity 82 : erg_mepi_l2_3dflux_FPDU_ptens 83 : erg_mepi_l2_3dflux_FPDU_ttens 84 : erg_mepi_l2_3dflux_FPDU_vthermal 85 : erg_mepi_l2_3dflux_FPDU_avgtemp
['erg_mepe_l2_3dflux_FEDU', 'erg_mepe_l2_3dflux_FEDU_n', 'erg_mepe_l2_3dflux_FEEDU', 'erg_mepe_l2_3dflux_count_raw', 'erg_mepe_l2_3dflux_spin_phase', 'erg_mepe_l2_3dflux_FEDU_energy', 'erg_mgf_l2_epoch_8sec', 'erg_mgf_l2_mag_8sec_dsi', 'erg_mgf_l2_mag_8sec_gse', 'erg_mgf_l2_mag_8sec_gsm', 'erg_mgf_l2_mag_8sec_sm', 'erg_mgf_l2_magt_8sec', 'erg_mgf_l2_rmsd_8sec_dsi', 'erg_mgf_l2_rmsd_8sec_gse', 'erg_mgf_l2_rmsd_8sec_gsm', 'erg_mgf_l2_rmsd_8sec_sm', 'erg_mgf_l2_rmsd_8sec', 'erg_mgf_l2_n_rmsd_8sec', 'erg_mgf_l2_dyn_rng_8sec', 'erg_mgf_l2_quality_8sec', 'erg_mgf_l2_quality_8sec_gc', 'erg_mgf_l2_igrf_8sec_dsi', 'erg_mgf_l2_igrf_8sec_gse', 'erg_mgf_l2_igrf_8sec_gsm', 'erg_mgf_l2_igrf_8sec_sm', 'erg_orb_l2_pos_llr', 'erg_orb_l2_pos_gse', 'erg_orb_l2_pos_gsm', 'erg_orb_l2_pos_sm', 'erg_orb_l2_pos_rmlatmlt', 'erg_orb_l2_pos_eq', 'erg_orb_l2_pos_iono_north', 'erg_orb_l2_pos_iono_south', 'erg_orb_l2_pos_blocal', 'erg_orb_l2_pos_blocal_mag', 'erg_orb_l2_pos_beq', 'erg_orb_l2_pos_beq_mag', 'erg_orb_l2_pos_Lm', 'erg_orb_l2_vel_gse', 'erg_orb_l2_vel_gsm', 'erg_orb_l2_vel_sm', 'erg_orb_l2_spn_num', 'erg_orb_l2_man_prep_flag', 'erg_orb_l2_man_on_flag', 'erg_orb_l2_eclipse_flag', 'erg_mgf_l2_mag_8sec_dsi_shifted', 'erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp', 'erg_orb_l2_pos_gse_pgs_temp', 'erg_mepe_l2_3dflux_FEDU_pa', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa80-100', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa0-10', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa40-50', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa10-20', 'erg_mepi_l2_3dflux_spin_phase', 'erg_mepi_l2_3dflux_FPDU', 'erg_mepi_l2_3dflux_FPEDU', 'erg_mepi_l2_3dflux_count_raw_P', 'erg_mepi_l2_3dflux_FPDU_Energy', 'erg_mepi_l2_3dflux_FHE2DU', 'erg_mepi_l2_3dflux_FHE2EDU', 'erg_mepi_l2_3dflux_count_raw_HE2', 'erg_mepi_l2_3dflux_FHE2DU_Energy', 'erg_mepi_l2_3dflux_FHEDU', 'erg_mepi_l2_3dflux_FHEEDU', 'erg_mepi_l2_3dflux_count_raw_HE', 'erg_mepi_l2_3dflux_FHEDU_Energy', 'erg_mepi_l2_3dflux_FOPPDU', 'erg_mepi_l2_3dflux_FOPPEDU', 'erg_mepi_l2_3dflux_count_raw_OPP', 'erg_mepi_l2_3dflux_FOPPDU_Energy', 'erg_mepi_l2_3dflux_FODU', 'erg_mepi_l2_3dflux_FOEDU', 'erg_mepi_l2_3dflux_count_raw_O', 'erg_mepi_l2_3dflux_FODU_Energy', 'erg_mepi_l2_3dflux_FO2PDU', 'erg_mepi_l2_3dflux_FO2PEDU', 'erg_mepi_l2_3dflux_count_raw_O2P', 'erg_mepi_l2_3dflux_FO2PDU_Energy', 'erg_mepi_l2_3dflux_FPDU_density', 'erg_mepi_l2_3dflux_FPDU_flux', 'erg_mepi_l2_3dflux_FPDU_mftens', 'erg_mepi_l2_3dflux_FPDU_velocity', 'erg_mepi_l2_3dflux_FPDU_ptens', 'erg_mepi_l2_3dflux_FPDU_ttens', 'erg_mepi_l2_3dflux_FPDU_vthermal', 'erg_mepi_l2_3dflux_FPDU_avgtemp']
## Then plot the derived partial density, temperature, and pressure tensor for MEP-i protons.
import pytplot
pytplot.tplot(['erg_mepi_l2_3dflux_FPDU_density','erg_mepi_l2_3dflux_FPDU_avgtemp','erg_mepi_l2_3dflux_FPDU_ptens'], xsize = 10, ysize=12)
This is an example to show how to load the OMNI data, which include the solar wind parameters as well as some frequently used geomagnetic indices, and to manipulate and plot the data.
pyspedas.omni.data( trange=['2017-09-06', '2017-09-09'], time_clip=False ) ## Download and then load OMNI data for 2 days from September 7, 2017.
08-Mar-24 01:06:17: Downloading remote index: https://spdf.gsfc.nasa.gov/pub/data/omni/omni_cdaweb/hro2_1min/2017/ 08-Mar-24 01:06:17: Downloading https://spdf.gsfc.nasa.gov/pub/data/omni/omni_cdaweb/hro2_1min/2017/omni_hro2_1min_20170901_v01.cdf to omni_data/hro2_1min/2017/omni_hro2_1min_20170901_v01.cdf 08-Mar-24 01:06:17: Download complete: omni_data/hro2_1min/2017/omni_hro2_1min_20170901_v01.cdf
['IMF', 'PLS', 'IMF_PTS', 'PLS_PTS', 'percent_interp', 'Timeshift', 'RMS_Timeshift', 'RMS_phase', 'Time_btwn_obs', 'F', 'BX_GSE', 'BY_GSE', 'BZ_GSE', 'BY_GSM', 'BZ_GSM', 'RMS_SD_B', 'RMS_SD_fld_vec', 'flow_speed', 'Vx', 'Vy', 'Vz', 'proton_density', 'T', 'NaNp_Ratio', 'Pressure', 'E', 'Beta', 'Mach_num', 'Mgs_mach_num', 'x', 'y', 'z', 'BSN_x', 'BSN_y', 'BSN_z', 'AE_INDEX', 'AL_INDEX', 'AU_INDEX', 'SYM_D', 'SYM_H', 'ASY_D', 'ASY_H']
Set a time range for which plots are made using timespan(), and plot several tplot variables with tplot().
pytplot.timespan( "2017-09-06 12:00:00", 2.5, keyword='days') #Set time span from 2017-09-06 12:00:00 to 2017-09-09 00:00:00
tplot(['BX_GSE', 'BY_GSM', 'BZ_GSM', 'flow_speed', 'proton_density', 'Pressure','AU_INDEX', 'AL_INDEX','SYM_H',], xsize=10, ysize=20 )
he keywords xsize and ysize can be used to resize a plot. The default size is approximately (xsize, ysize) = (8, 9). The example right below thus produces a vertically-long plot.
tplot( ['flow_speed', 'Pressure','SYM_H'], xsize=4, ysize=10 )
pytplot.options() module changes various attributes for a tplot variable. The example below changes the type of the vertical axis for the tplot variable Pressure to logarithmic. The resultant plot shows the dynamic pressure (bottom panel) with a log scale.
pytplot.options('Pressure', 'ylog', True )
tplot( ['flow_speed', 'Pressure','SYM_H'], xsize=12, ysize=4 ) ## This pair of (xsize, ysize) would lead to a horizontally-long plot.
pytplot.options('Pressure', 'ylog', False )
The following example changes the title of the tplot variable Pressure. ytitle attribute holds a string that is to be shown by the vertical axis of a tplot variable. '\n' (backslash + n) is replaced with a newline.
pytplot.options('Pressure', 'ytitle', 'Dynamic\npressure' )
tplot( ['flow_speed', 'Pressure','SYM_H'] , xsize=10, ysize=10 )
yrange attribute should be set to be a two-element array determining the range of a vertical axis.
timebar() can draw a vertical line at a designated date&time. Setting delete keyword to be True, the command erases the vertical lines previously drawn at the given date.
pytplot.options( 'AL_INDEX', 'yrange', [-1000,0])
t_lines = pyspedas.time_double('2017-09-07 23:00:00')
pytplot.timebar( t_lines )
tplot(['Pressure','AL_INDEX','SYM_H'], xsize=10, ysize=10)
pytplot.timebar( t_lines, delete=True )
tplot( ['Pressure','AL_INDEX','SYM_H'], xsize=10, ysize=10 )
from pyspedas.erg import pwe_ofa
pwe_ofa( trange=['2017-09-06 00:00:00', '2017-09-09 00:00:00'] )
pytplot.timespan( '2017-09-06 12:00:00', 2.5)
pytplot.zlim( 'erg_pwe_ofa_l2_spec_E_spectra_132', 1e-7, 1e-2 )
pytplot.options(['erg_pwe_ofa_l2_spec_E_spectra_132','erg_pwe_ofa_l2_spec_B_spectra_132'], 'data_gap', 8.0)
pytplot.options(['erg_pwe_ofa_l2_spec_E_spectra_132','erg_pwe_ofa_l2_spec_B_spectra_132'], 'x_no_resample', 1)
pytplot.options(['erg_pwe_ofa_l2_spec_E_spectra_132','erg_pwe_ofa_l2_spec_B_spectra_132'], 'y_no_resample', 1)
tplot( ['Pressure', 'AL_INDEX','SYM_H', 'erg_pwe_ofa_l2_spec_E_spectra_132', 'erg_pwe_ofa_l2_spec_B_spectra_132'] , xsize=10, ysize=20)
08-Mar-24 01:10:07: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/pwe/ofa/l2/spec/2017/09/ 08-Mar-24 01:10:10: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170906_v02_03.cdf to erg_data/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170906_v02_03.cdf 08-Mar-24 01:10:14: Download complete: erg_data/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170906_v02_03.cdf 08-Mar-24 01:10:16: File is current: erg_data/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170907_v02_03.cdf 08-Mar-24 01:10:18: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170908_v02_03.cdf to erg_data/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170908_v02_03.cdf 08-Mar-24 01:10:22: Download complete: erg_data/satellite/erg/pwe/ofa/l2/spec/2017/09/erg_pwe_ofa_l2_spec_20170908_v02_03.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Plasma Wave Experiment (PWE) Onboard Frequency Analyzer (OFA) Level 2 spectrum data Information about ERG PWE OFA PI: Yoshiya Kasahara Affiliation: Kanazawa University RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of PWE/OFA: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Pwe/Ofa Contact: erg_pwe_info at isee.nagoya-u.ac.jp **************************************************************************
This paper has been recently press-released on October 30 for both domestic and international media. Kistler et al. (2023) showed that the plasma sheet source changes from predominantly solar wind to predominantly ionospheric as a storm develops. In this tranning, we try to reproduce Figure 3 by Kistler et al. (2023) with PySPEDAS.
from pyspedas.erg import pwe_hfa, pwe_ofa, pwe_efd, mgf, xep, hep, mepe, lepe, mepi_nml, lepi, orb
trng = ['2017-09-06 00:00:00', '2017-09-09 00:00:00']
mepe( trange=trng, datatype='omniflux' )
lepe( trange=trng, datatype='omniflux' )
mepi_nml( trange=trng, datatype='omniflux' )
lepi( trange=trng, datatype='omniflux' )
orb(trange=trng, level = 'l2')
orb(trange=trng, level = 'l3', model ='t89')
08-Mar-24 01:12:31: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepe/l2/omniflux/2017/09/ 08-Mar-24 01:12:32: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepe/l2/omniflux/2017/09/erg_mepe_l2_omniflux_20170906_v01_02.cdf to erg_data/satellite/erg/mepe/l2/omniflux/2017/09/erg_mepe_l2_omniflux_20170906_v01_02.cdf 08-Mar-24 01:12:33: Download complete: erg_data/satellite/erg/mepe/l2/omniflux/2017/09/erg_mepe_l2_omniflux_20170906_v01_02.cdf 08-Mar-24 01:12:33: File is current: erg_data/satellite/erg/mepe/l2/omniflux/2017/09/erg_mepe_l2_omniflux_20170907_v01_02.cdf 08-Mar-24 01:12:34: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepe/l2/omniflux/2017/09/erg_mepe_l2_omniflux_20170908_v01_02.cdf to erg_data/satellite/erg/mepe/l2/omniflux/2017/09/erg_mepe_l2_omniflux_20170908_v01_02.cdf 08-Mar-24 01:12:35: Download complete: erg_data/satellite/erg/mepe/l2/omniflux/2017/09/erg_mepe_l2_omniflux_20170908_v01_02.cdf 08-Mar-24 01:12:35: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/lepe/l2/omniflux/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Medium Energy Particle experiments - electron analyzer (MEP-e) electron omni flux data PI: Satoshi Kasahara Affiliation: The University of Tokyo - The rules of the road (RoR) common to the ERG project: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en - RoR for MEP-e data: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Mepe Contact: erg_mep_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 01:12:36: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/lepe/l2/omniflux/2017/09/erg_lepe_l2_omniflux_20170906_v04_01.cdf to erg_data/satellite/erg/lepe/l2/omniflux/2017/09/erg_lepe_l2_omniflux_20170906_v04_01.cdf 08-Mar-24 01:12:37: Download complete: erg_data/satellite/erg/lepe/l2/omniflux/2017/09/erg_lepe_l2_omniflux_20170906_v04_01.cdf 08-Mar-24 01:12:37: File is current: erg_data/satellite/erg/lepe/l2/omniflux/2017/09/erg_lepe_l2_omniflux_20170907_v04_01.cdf 08-Mar-24 01:12:38: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/lepe/l2/omniflux/2017/09/erg_lepe_l2_omniflux_20170908_v04_01.cdf to erg_data/satellite/erg/lepe/l2/omniflux/2017/09/erg_lepe_l2_omniflux_20170908_v04_01.cdf 08-Mar-24 01:12:39: Download complete: erg_data/satellite/erg/lepe/l2/omniflux/2017/09/erg_lepe_l2_omniflux_20170908_v04_01.cdf 08-Mar-24 01:12:39: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepi/l2/omniflux/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Low-Energy Particle experiments - electron analyzer (LEP-e) Level 2 omni electron flux data Information about ERG LEPe PI: Shiang-Yu Wang Affiliation: Academia Sinica, Taiwan RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of LEPe L2: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Lepe Contact: erg_lepe_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 01:12:41: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepi/l2/omniflux/2017/09/erg_mepi_l2_omniflux_20170906_v02_01.cdf to erg_data/satellite/erg/mepi/l2/omniflux/2017/09/erg_mepi_l2_omniflux_20170906_v02_01.cdf 08-Mar-24 01:12:42: Download complete: erg_data/satellite/erg/mepi/l2/omniflux/2017/09/erg_mepi_l2_omniflux_20170906_v02_01.cdf 08-Mar-24 01:12:42: File is current: erg_data/satellite/erg/mepi/l2/omniflux/2017/09/erg_mepi_l2_omniflux_20170907_v02_01.cdf 08-Mar-24 01:12:43: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mepi/l2/omniflux/2017/09/erg_mepi_l2_omniflux_20170908_v02_01.cdf to erg_data/satellite/erg/mepi/l2/omniflux/2017/09/erg_mepi_l2_omniflux_20170908_v02_01.cdf 08-Mar-24 01:12:44: Download complete: erg_data/satellite/erg/mepi/l2/omniflux/2017/09/erg_mepi_l2_omniflux_20170908_v02_01.cdf 08-Mar-24 01:12:44: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/lepi/l2/omniflux/2017/09/
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Medium Energy Particle experiments - ion mass analyzer (MEP-i) 3D ion omni flux data PI: Shoichiro Yokota Affiliation: Osaka University - The rules of the road (RoR) common to the ERG project: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en - RoR for MEP-i data: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Mepi Contact: erg_mep_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 01:12:46: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/lepi/l2/omniflux/2017/09/erg_lepi_l2_omniflux_20170906_v03_00.cdf to erg_data/satellite/erg/lepi/l2/omniflux/2017/09/erg_lepi_l2_omniflux_20170906_v03_00.cdf 08-Mar-24 01:12:46: Download complete: erg_data/satellite/erg/lepi/l2/omniflux/2017/09/erg_lepi_l2_omniflux_20170906_v03_00.cdf 08-Mar-24 01:12:47: File is current: erg_data/satellite/erg/lepi/l2/omniflux/2017/09/erg_lepi_l2_omniflux_20170907_v03_00.cdf 08-Mar-24 01:12:48: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/lepi/l2/omniflux/2017/09/erg_lepi_l2_omniflux_20170908_v03_00.cdf to erg_data/satellite/erg/lepi/l2/omniflux/2017/09/erg_lepi_l2_omniflux_20170908_v03_00.cdf 08-Mar-24 01:12:49: Download complete: erg_data/satellite/erg/lepi/l2/omniflux/2017/09/erg_lepi_l2_omniflux_20170908_v03_00.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Low Energy Particle Ion (LEPi) Experiment 3D ion flux data Information about ERG LEPi PI: Kazushi Asamura Affiliation: ISAS, Jaxa RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of LEPi L2: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Lepi RoR of ERG/LEPi: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Lepi#Rules_of_the_Road Contact: erg_lepi_info at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 01:12:49: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/def/2017/ 08-Mar-24 01:12:51: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/def/2017/erg_orb_l2_20170906_v03.cdf to erg_data/satellite/erg/orb/def/2017/erg_orb_l2_20170906_v03.cdf 08-Mar-24 01:12:51: Download complete: erg_data/satellite/erg/orb/def/2017/erg_orb_l2_20170906_v03.cdf 08-Mar-24 01:12:52: File is current: erg_data/satellite/erg/orb/def/2017/erg_orb_l2_20170907_v03.cdf 08-Mar-24 01:12:53: File is current: erg_data/satellite/erg/orb/def/2017/erg_orb_l2_20170908_v03.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Level-2 orbit data Information about ERG orbit RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en Contact: erg-sc-core at isee.nagoya-u.ac.jp **************************************************************************
08-Mar-24 01:12:57: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/l3/t89/2017/09/ 08-Mar-24 01:12:57: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/l3/t89/2017/09/erg_orb_l3_t89_20170906_v02.cdf to erg_data/satellite/erg/orb/l3/t89/2017/09/erg_orb_l3_t89_20170906_v02.cdf 08-Mar-24 01:12:58: Download complete: erg_data/satellite/erg/orb/l3/t89/2017/09/erg_orb_l3_t89_20170906_v02.cdf 08-Mar-24 01:12:59: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/l3/t89/2017/09/erg_orb_l3_t89_20170907_v02.cdf to erg_data/satellite/erg/orb/l3/t89/2017/09/erg_orb_l3_t89_20170907_v02.cdf 08-Mar-24 01:12:59: Download complete: erg_data/satellite/erg/orb/l3/t89/2017/09/erg_orb_l3_t89_20170907_v02.cdf 08-Mar-24 01:13:00: Downloading https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/orb/l3/t89/2017/09/erg_orb_l3_t89_20170908_v02.cdf to erg_data/satellite/erg/orb/l3/t89/2017/09/erg_orb_l3_t89_20170908_v02.cdf 08-Mar-24 01:13:00: Download complete: erg_data/satellite/erg/orb/l3/t89/2017/09/erg_orb_l3_t89_20170908_v02.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Level-3 (t89) orbit data Information about ERG L3 orbit RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en Contact: erg-sc-core at isee.nagoya-u.ac.jp **************************************************************************
['erg_orb_l3_pos_eq_t89', 'erg_orb_l3_pos_iono_north_t89', 'erg_orb_l3_pos_iono_south_t89', 'erg_orb_l3_pos_lmc_t89', 'erg_orb_l3_pos_lstar_t89', 'erg_orb_l3_pos_I_t89', 'erg_orb_l3_pos_blocal_t89', 'erg_orb_l3_pos_beq_t89']
pytplot.split_vec('erg_orb_l3_pos_eq_t89')
pytplot.tplot_names()
0 : erg_mepe_l2_3dflux_FEDU 1 : erg_mepe_l2_3dflux_FEDU_n 2 : erg_mepe_l2_3dflux_FEEDU 3 : erg_mepe_l2_3dflux_count_raw 4 : erg_mepe_l2_3dflux_spin_phase 5 : erg_mepe_l2_3dflux_FEDU_energy 6 : erg_mgf_l2_epoch_8sec 7 : erg_mgf_l2_mag_8sec_dsi 8 : erg_mgf_l2_mag_8sec_gse 9 : erg_mgf_l2_mag_8sec_gsm 10 : erg_mgf_l2_mag_8sec_sm 11 : erg_mgf_l2_magt_8sec 12 : erg_mgf_l2_rmsd_8sec_dsi 13 : erg_mgf_l2_rmsd_8sec_gse 14 : erg_mgf_l2_rmsd_8sec_gsm 15 : erg_mgf_l2_rmsd_8sec_sm 16 : erg_mgf_l2_rmsd_8sec 17 : erg_mgf_l2_n_rmsd_8sec 18 : erg_mgf_l2_dyn_rng_8sec 19 : erg_mgf_l2_quality_8sec 20 : erg_mgf_l2_quality_8sec_gc 21 : erg_mgf_l2_igrf_8sec_dsi 22 : erg_mgf_l2_igrf_8sec_gse 23 : erg_mgf_l2_igrf_8sec_gsm 24 : erg_mgf_l2_igrf_8sec_sm 25 : erg_orb_l2_pos_llr 26 : erg_orb_l2_pos_gse 27 : erg_orb_l2_pos_gsm 28 : erg_orb_l2_pos_sm 29 : erg_orb_l2_pos_rmlatmlt 30 : erg_orb_l2_pos_eq 31 : erg_orb_l2_pos_iono_north 32 : erg_orb_l2_pos_iono_south 33 : erg_orb_l2_pos_blocal 34 : erg_orb_l2_pos_blocal_mag 35 : erg_orb_l2_pos_beq 36 : erg_orb_l2_pos_beq_mag 37 : erg_orb_l2_pos_Lm 38 : erg_orb_l2_vel_gse 39 : erg_orb_l2_vel_gsm 40 : erg_orb_l2_vel_sm 41 : erg_orb_l2_spn_num 42 : erg_orb_l2_man_prep_flag 43 : erg_orb_l2_man_on_flag 44 : erg_orb_l2_eclipse_flag 45 : erg_mgf_l2_mag_8sec_dsi_shifted 46 : erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp 47 : erg_orb_l2_pos_gse_pgs_temp 48 : erg_mepe_l2_3dflux_FEDU_pa 49 : erg_mepe_l2_3dflux_FEDU_energy_mag_pa80-100 50 : erg_mepe_l2_3dflux_FEDU_energy_mag_pa0-10 51 : erg_mepe_l2_3dflux_FEDU_energy_mag_pa40-50 52 : erg_mepe_l2_3dflux_FEDU_energy_mag_pa10-20 53 : erg_mepi_l2_3dflux_spin_phase 54 : erg_mepi_l2_3dflux_FPDU 55 : erg_mepi_l2_3dflux_FPEDU 56 : erg_mepi_l2_3dflux_count_raw_P 57 : erg_mepi_l2_3dflux_FPDU_Energy 58 : erg_mepi_l2_3dflux_FHE2DU 59 : erg_mepi_l2_3dflux_FHE2EDU 60 : erg_mepi_l2_3dflux_count_raw_HE2 61 : erg_mepi_l2_3dflux_FHE2DU_Energy 62 : erg_mepi_l2_3dflux_FHEDU 63 : erg_mepi_l2_3dflux_FHEEDU 64 : erg_mepi_l2_3dflux_count_raw_HE 65 : erg_mepi_l2_3dflux_FHEDU_Energy 66 : erg_mepi_l2_3dflux_FOPPDU 67 : erg_mepi_l2_3dflux_FOPPEDU 68 : erg_mepi_l2_3dflux_count_raw_OPP 69 : erg_mepi_l2_3dflux_FOPPDU_Energy 70 : erg_mepi_l2_3dflux_FODU 71 : erg_mepi_l2_3dflux_FOEDU 72 : erg_mepi_l2_3dflux_count_raw_O 73 : erg_mepi_l2_3dflux_FODU_Energy 74 : erg_mepi_l2_3dflux_FO2PDU 75 : erg_mepi_l2_3dflux_FO2PEDU 76 : erg_mepi_l2_3dflux_count_raw_O2P 77 : erg_mepi_l2_3dflux_FO2PDU_Energy 78 : erg_mepi_l2_3dflux_FPDU_density 79 : erg_mepi_l2_3dflux_FPDU_flux 80 : erg_mepi_l2_3dflux_FPDU_mftens 81 : erg_mepi_l2_3dflux_FPDU_velocity 82 : erg_mepi_l2_3dflux_FPDU_ptens 83 : erg_mepi_l2_3dflux_FPDU_ttens 84 : erg_mepi_l2_3dflux_FPDU_vthermal 85 : erg_mepi_l2_3dflux_FPDU_avgtemp 86 : IMF 87 : PLS 88 : IMF_PTS 89 : PLS_PTS 90 : percent_interp 91 : Timeshift 92 : RMS_Timeshift 93 : RMS_phase 94 : Time_btwn_obs 95 : F 96 : BX_GSE 97 : BY_GSE 98 : BZ_GSE 99 : BY_GSM 100 : BZ_GSM 101 : RMS_SD_B 102 : RMS_SD_fld_vec 103 : flow_speed 104 : Vx 105 : Vy 106 : Vz 107 : proton_density 108 : T 109 : NaNp_Ratio 110 : Pressure 111 : E 112 : Beta 113 : Mach_num 114 : Mgs_mach_num 115 : x 116 : y 117 : z 118 : BSN_x 119 : BSN_y 120 : BSN_z 121 : AE_INDEX 122 : AL_INDEX 123 : AU_INDEX 124 : SYM_D 125 : SYM_H 126 : ASY_D 127 : ASY_H 128 : erg_pwe_ofa_l2_spec_epoch_e132 129 : erg_pwe_ofa_l2_spec_E_spectra_132 130 : erg_pwe_ofa_l2_spec_quality_flag_e132 131 : erg_pwe_ofa_l2_spec_epoch_b132 132 : erg_pwe_ofa_l2_spec_B_spectra_132 133 : erg_pwe_ofa_l2_spec_quality_flag_b132 134 : erg_mepe_l2_omniflux_epoch 135 : erg_mepe_l2_omniflux_FEDO 136 : erg_lepe_l2_omniflux_FEDO 137 : erg_mepi_l2_omniflux_epoch 138 : erg_mepi_l2_omniflux_epoch_tof 139 : erg_mepi_l2_omniflux_FIDO_Energy 140 : erg_mepi_l2_omniflux_FPDO 141 : erg_mepi_l2_omniflux_FHE2DO 142 : erg_mepi_l2_omniflux_FHEDO 143 : erg_mepi_l2_omniflux_FOPPDO 144 : erg_mepi_l2_omniflux_FODO 145 : erg_mepi_l2_omniflux_FO2PDO 146 : erg_mepi_l2_omniflux_FPDO_tof 147 : erg_mepi_l2_omniflux_FHE2DO_tof 148 : erg_mepi_l2_omniflux_FHEDO_tof 149 : erg_mepi_l2_omniflux_FOPPDO_tof 150 : erg_mepi_l2_omniflux_FODO_tof 151 : erg_mepi_l2_omniflux_FO2PDO_tof 152 : erg_lepi_l2_omniflux_Epoch 153 : erg_lepi_l2_omniflux_FPDO_raw 154 : erg_lepi_l2_omniflux_FHEDO_raw 155 : erg_lepi_l2_omniflux_FODO_raw 156 : erg_lepi_l2_omniflux_FPDO 157 : erg_lepi_l2_omniflux_FHEDO 158 : erg_lepi_l2_omniflux_FODO 159 : erg_orb_l3_pos_eq_t89 160 : erg_orb_l3_pos_iono_north_t89 161 : erg_orb_l3_pos_iono_south_t89 162 : erg_orb_l3_pos_lmc_t89 163 : erg_orb_l3_pos_lstar_t89 164 : erg_orb_l3_pos_I_t89 165 : erg_orb_l3_pos_blocal_t89 166 : erg_orb_l3_pos_beq_t89 167 : erg_orb_l3_pos_eq_t89_0 168 : erg_orb_l3_pos_eq_t89_1
['erg_mepe_l2_3dflux_FEDU', 'erg_mepe_l2_3dflux_FEDU_n', 'erg_mepe_l2_3dflux_FEEDU', 'erg_mepe_l2_3dflux_count_raw', 'erg_mepe_l2_3dflux_spin_phase', 'erg_mepe_l2_3dflux_FEDU_energy', 'erg_mgf_l2_epoch_8sec', 'erg_mgf_l2_mag_8sec_dsi', 'erg_mgf_l2_mag_8sec_gse', 'erg_mgf_l2_mag_8sec_gsm', 'erg_mgf_l2_mag_8sec_sm', 'erg_mgf_l2_magt_8sec', 'erg_mgf_l2_rmsd_8sec_dsi', 'erg_mgf_l2_rmsd_8sec_gse', 'erg_mgf_l2_rmsd_8sec_gsm', 'erg_mgf_l2_rmsd_8sec_sm', 'erg_mgf_l2_rmsd_8sec', 'erg_mgf_l2_n_rmsd_8sec', 'erg_mgf_l2_dyn_rng_8sec', 'erg_mgf_l2_quality_8sec', 'erg_mgf_l2_quality_8sec_gc', 'erg_mgf_l2_igrf_8sec_dsi', 'erg_mgf_l2_igrf_8sec_gse', 'erg_mgf_l2_igrf_8sec_gsm', 'erg_mgf_l2_igrf_8sec_sm', 'erg_orb_l2_pos_llr', 'erg_orb_l2_pos_gse', 'erg_orb_l2_pos_gsm', 'erg_orb_l2_pos_sm', 'erg_orb_l2_pos_rmlatmlt', 'erg_orb_l2_pos_eq', 'erg_orb_l2_pos_iono_north', 'erg_orb_l2_pos_iono_south', 'erg_orb_l2_pos_blocal', 'erg_orb_l2_pos_blocal_mag', 'erg_orb_l2_pos_beq', 'erg_orb_l2_pos_beq_mag', 'erg_orb_l2_pos_Lm', 'erg_orb_l2_vel_gse', 'erg_orb_l2_vel_gsm', 'erg_orb_l2_vel_sm', 'erg_orb_l2_spn_num', 'erg_orb_l2_man_prep_flag', 'erg_orb_l2_man_on_flag', 'erg_orb_l2_eclipse_flag', 'erg_mgf_l2_mag_8sec_dsi_shifted', 'erg_mgf_l2_mag_8sec_dsi_shifted_pgs_temp', 'erg_orb_l2_pos_gse_pgs_temp', 'erg_mepe_l2_3dflux_FEDU_pa', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa80-100', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa0-10', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa40-50', 'erg_mepe_l2_3dflux_FEDU_energy_mag_pa10-20', 'erg_mepi_l2_3dflux_spin_phase', 'erg_mepi_l2_3dflux_FPDU', 'erg_mepi_l2_3dflux_FPEDU', 'erg_mepi_l2_3dflux_count_raw_P', 'erg_mepi_l2_3dflux_FPDU_Energy', 'erg_mepi_l2_3dflux_FHE2DU', 'erg_mepi_l2_3dflux_FHE2EDU', 'erg_mepi_l2_3dflux_count_raw_HE2', 'erg_mepi_l2_3dflux_FHE2DU_Energy', 'erg_mepi_l2_3dflux_FHEDU', 'erg_mepi_l2_3dflux_FHEEDU', 'erg_mepi_l2_3dflux_count_raw_HE', 'erg_mepi_l2_3dflux_FHEDU_Energy', 'erg_mepi_l2_3dflux_FOPPDU', 'erg_mepi_l2_3dflux_FOPPEDU', 'erg_mepi_l2_3dflux_count_raw_OPP', 'erg_mepi_l2_3dflux_FOPPDU_Energy', 'erg_mepi_l2_3dflux_FODU', 'erg_mepi_l2_3dflux_FOEDU', 'erg_mepi_l2_3dflux_count_raw_O', 'erg_mepi_l2_3dflux_FODU_Energy', 'erg_mepi_l2_3dflux_FO2PDU', 'erg_mepi_l2_3dflux_FO2PEDU', 'erg_mepi_l2_3dflux_count_raw_O2P', 'erg_mepi_l2_3dflux_FO2PDU_Energy', 'erg_mepi_l2_3dflux_FPDU_density', 'erg_mepi_l2_3dflux_FPDU_flux', 'erg_mepi_l2_3dflux_FPDU_mftens', 'erg_mepi_l2_3dflux_FPDU_velocity', 'erg_mepi_l2_3dflux_FPDU_ptens', 'erg_mepi_l2_3dflux_FPDU_ttens', 'erg_mepi_l2_3dflux_FPDU_vthermal', 'erg_mepi_l2_3dflux_FPDU_avgtemp', 'IMF', 'PLS', 'IMF_PTS', 'PLS_PTS', 'percent_interp', 'Timeshift', 'RMS_Timeshift', 'RMS_phase', 'Time_btwn_obs', 'F', 'BX_GSE', 'BY_GSE', 'BZ_GSE', 'BY_GSM', 'BZ_GSM', 'RMS_SD_B', 'RMS_SD_fld_vec', 'flow_speed', 'Vx', 'Vy', 'Vz', 'proton_density', 'T', 'NaNp_Ratio', 'Pressure', 'E', 'Beta', 'Mach_num', 'Mgs_mach_num', 'x', 'y', 'z', 'BSN_x', 'BSN_y', 'BSN_z', 'AE_INDEX', 'AL_INDEX', 'AU_INDEX', 'SYM_D', 'SYM_H', 'ASY_D', 'ASY_H', 'erg_pwe_ofa_l2_spec_epoch_e132', 'erg_pwe_ofa_l2_spec_E_spectra_132', 'erg_pwe_ofa_l2_spec_quality_flag_e132', 'erg_pwe_ofa_l2_spec_epoch_b132', 'erg_pwe_ofa_l2_spec_B_spectra_132', 'erg_pwe_ofa_l2_spec_quality_flag_b132', 'erg_mepe_l2_omniflux_epoch', 'erg_mepe_l2_omniflux_FEDO', 'erg_lepe_l2_omniflux_FEDO', 'erg_mepi_l2_omniflux_epoch', 'erg_mepi_l2_omniflux_epoch_tof', 'erg_mepi_l2_omniflux_FIDO_Energy', 'erg_mepi_l2_omniflux_FPDO', 'erg_mepi_l2_omniflux_FHE2DO', 'erg_mepi_l2_omniflux_FHEDO', 'erg_mepi_l2_omniflux_FOPPDO', 'erg_mepi_l2_omniflux_FODO', 'erg_mepi_l2_omniflux_FO2PDO', 'erg_mepi_l2_omniflux_FPDO_tof', 'erg_mepi_l2_omniflux_FHE2DO_tof', 'erg_mepi_l2_omniflux_FHEDO_tof', 'erg_mepi_l2_omniflux_FOPPDO_tof', 'erg_mepi_l2_omniflux_FODO_tof', 'erg_mepi_l2_omniflux_FO2PDO_tof', 'erg_lepi_l2_omniflux_Epoch', 'erg_lepi_l2_omniflux_FPDO_raw', 'erg_lepi_l2_omniflux_FHEDO_raw', 'erg_lepi_l2_omniflux_FODO_raw', 'erg_lepi_l2_omniflux_FPDO', 'erg_lepi_l2_omniflux_FHEDO', 'erg_lepi_l2_omniflux_FODO', 'erg_orb_l3_pos_eq_t89', 'erg_orb_l3_pos_iono_north_t89', 'erg_orb_l3_pos_iono_south_t89', 'erg_orb_l3_pos_lmc_t89', 'erg_orb_l3_pos_lstar_t89', 'erg_orb_l3_pos_I_t89', 'erg_orb_l3_pos_blocal_t89', 'erg_orb_l3_pos_beq_t89', 'erg_orb_l3_pos_eq_t89_0', 'erg_orb_l3_pos_eq_t89_1']
#Set time span (from 2017-09-06 12:00:00 to 2017-09-09 00:00:00)
pytplot.timespan( '2017-09-06 14:00:00', 2.417, keyword='days')
#No resample of X and Y components
pytplot.options(['erg_mepi_l2_omniflux_FPDO','erg_mepi_l2_omniflux_FODO','erg_lepi_l2_omniflux_FPDO','erg_lepi_l2_omniflux_FODO'],'x_no_resample',1)
pytplot.options(['erg_mepi_l2_omniflux_FPDO','erg_mepi_l2_omniflux_FODO','erg_lepi_l2_omniflux_FPDO','erg_lepi_l2_omniflux_FODO'],'y_no_resample',1)
#Set data gap.
#Parts of data gap of more than 64 sec are not plotted
pytplot.options(['erg_mepi_l2_omniflux_FPDO','erg_mepi_l2_omniflux_FODO','erg_lepi_l2_omniflux_FPDO','erg_lepi_l2_omniflux_FODO'],'data_gap',64)
#Set yrange of each panel.
pytplot.options('F','yrange', [0.0, 40.0])
pytplot.options('BZ_GSM','yrange', [-40, 20.0])
pytplot.options('Pressure','yrange', [0.0, 15.0])
pytplot.options('proton_density','yrange', [0.1, 100.0])
pytplot.options('flow_speed','yrange', [0.0, 1000.0])
pytplot.options('SYM_H','yrange', [-150.0, 100.0])
pytplot.options('erg_mepi_l2_omniflux_FPDO','yrange', [10.0, 200.0])
pytplot.options('erg_mepi_l2_omniflux_FODO','yrange', [10.0, 200.0])
pytplot.options('erg_lepi_l2_omniflux_FPDO','yrange', [1.0, 25.0])
pytplot.options('erg_lepi_l2_omniflux_FODO','yrange', [1.0, 25.0])
#Set zrange of particle data.
pytplot.zlim('erg_mepi_l2_omniflux_FPDO', 10e0, 10e6)
pytplot.zlim('erg_mepi_l2_omniflux_FODO', 10e0, 10e6)
pytplot.zlim('erg_lepi_l2_omniflux_FPDO', 10e0, 10e6)
pytplot.zlim('erg_lepi_l2_omniflux_FODO', 10e0, 10e6)
#Change the tile of y-axis of each panel.
pytplot.options('F','ytitle', 'IMF\nBtot')
pytplot.options('BZ_GSM','ytitle', 'IMF\nBz\ngsm')
pytplot.options('Pressure','ytitle', 'SW\nflow\npressure')
pytplot.options('proton_density','ytitle', 'SW\nproton\ndensity')
pytplot.options('flow_speed','ytitle', 'SW\nflow\nspeed')
pytplot.options('SYM_H','ytitle', 'SYM\nH')
pytplot.options('erg_mepi_l2_omniflux_FPDO','ytitle', 'MEP-i\nH+')
pytplot.options('erg_mepi_l2_omniflux_FODO','ytitle', 'MEP-i\nO+')
pytplot.options('erg_lepi_l2_omniflux_FPDO','ytitle', 'LEP-i\nH+')
pytplot.options('erg_lepi_l2_omniflux_FODO','ytitle', 'LEP-i\nO+')
pytplot.options(['erg_orb_l3_pos_eq_t89_0'],'ytitle','Arase\nEquatorial\nCrossing\nT89')
pytplot.options(['erg_orb_l3_pos_eq_t89_0'],'ysubtitle','[Re]')
#Plot the data.
tplot(['F','BZ_GSM','Pressure','proton_density','flow_speed','SYM_H','erg_mepi_l2_omniflux_FPDO','erg_lepi_l2_omniflux_FPDO','erg_mepi_l2_omniflux_FODO','erg_lepi_l2_omniflux_FODO', 'erg_orb_l3_pos_eq_t89_0'],xsize = 10, ysize = 30)
Usually the use of line colors optimized for color-blind individuals are recommended for publications and presentations in conferences and seminars. The default line color frequently uses red and green lines at the same time, making it difficult for people with color blindness to distinguish between the two lines.
Colors optimized for color-blind individuals [Wong, Nature Methods, 2011]
Black '#000000'
Orange '#E69F00'
Sky blue '#56B4E9'
Bluish green '#009E73'
Yellow '#F0E442'
Blue '#0072B2'
Vermilion '#B55E00'
Reddish purple '#CC79A7'
pytplot.del_data( 'erg_*' )
from pyspedas.erg import mgf
tr=['2017-09-07', '2017-09-08']
vars = mgf( trange=tr )
pytplot.timespan( '2017-09-06 14:00:00', 2.417, keyword='days')
pytplot.options( 'erg_mgf_l2_mag_8sec_gsm', 'color', ['#E69F00','#56B4E9','#009E73'] )
pytplot.options( 'erg_mgf_l2_mag_8sec_gsm', 'data_gap', 8.5 ) #Set the option of data gap with 8.5 seconds.
pytplot.options( 'erg_mgf_l2_mag_8sec_gsm', 'yrange', [-1000., 1000.] ) # Set the vertical scale to create the plot of MGF Lv.2 8-s data.
#pytplot.ylim( 'erg_mgf_l2_mag_8sec_gsm', -500., 500. ) # There is a bug in pytplot.ylim. It will be fixed.
tplot( 'erg_mgf_l2_mag_8sec_gsm' , xsize = 10, ysize = 10 )
08-Mar-24 01:14:29: Downloading remote index: https://ergsc.isee.nagoya-u.ac.jp/data/ergsc/satellite/erg/mgf/l2/8sec/2017/09/ 08-Mar-24 01:14:30: File is current: erg_data/satellite/erg/mgf/l2/8sec/2017/09/erg_mgf_l2_8sec_20170907_v03.04.cdf
************************************************************************** Exploration of Energization and Radiation in Geospace (ERG) Magnetic Field Experiment (MGF) Level 2 spin-averaged magnetic field data Information about ERG MGF PI: Ayako Matsuoka Affiliation: Data Analysis Center for Geomagnetism and Space Magnetism, Graduate School of Science, Kyoto University, Kitashirakawa-Oiwake Cho, Sakyo-ku Kyoto 606-8502, Japan RoR of ERG project common: https://ergsc.isee.nagoya-u.ac.jp/data_info/rules_of_the_road.shtml.en RoR of MGF L2: https://ergsc.isee.nagoya-u.ac.jp/mw/index.php/ErgSat/Mgf Contact: erg_mgf_info at isee.nagoya-u.ac.jp **************************************************************************