README.md
Magnetopause shear angle
Licence
This is a python implementation of the magnetopause shear angle representation from Trattner et al. (2007).
References Cooling, B. M. A., C. J. Owen andS. J. Schwartz (2001), Role of the magnetosheath flow in determining the motion of open flux tubes, J. Geophys. Res., 106, A9, doi.org/10.1029/2000JA000455. Jelínek, K., Z. Němeček and J. Šafránková (2012), A new approach to magnetopause and bow shock modeling based on automated region identification, J. Geophys. Res., 117, A5, doi.org/10.1029/2011JA017252 Kobel, E. and E. O. Flückiger, A model of the steady state magnetic field in the magnetosheath, J. Geophys. Res., 99, A12, doi.org/10.1029/94JA01778 Sibeck, D. G., R. E. Lopez and E. C. Roelof (1991), Solar wind control of the magnetopause shape, location, and motion, J. Geophys. Res., 96, A4, doi.org/10.1029/90JA02464. Trattner, K. J., J. S. Mulcock, S. M. Petrinec, and S. A. Fuselier (2007), Probing the boundary between antiparallel and component reconnection during southward interplanetary magnetic field conditions, J. Geophys. Res., 112, A08210, doi:10.1029/2007JA012270. Tsyganenko, N. A. (1995), Modeling the Earth's magnetospheric magnetic field confined within a realistic magnetopause, J. Geophys. Res., 100, A4, doi.org/10.1029/94JA03193
The geomagnetic field model at the magnetopause boundary is T96 (Tsyganenko, 1995). The T96 fortran code is available at http://geo.phys.spbu.ru/~tsyganenko/modeling.html The geopack module including IGRF is available at http://geo.phys.spbu.ru/~tsyganenko/modeling.html
Installation
Linux
sudo python setup.py install
Windows 10
Prerequisites
Install mingw-64 (e.g. to c:\mingw) with: Architecture Threads Exception x86_64 posix seh
Install miniconda Miniconda3 Windows 64-bit
in anaconda cmd window (from Windows Start->Anaconda3 (64-bit)->Anaconda Prompt (Miniconda3)) conda install numpy conda install matplotlib conda install scipy
Install mingw-64 toolchain for f2py
in anaconda cmd window (Anaconda Prompt (Miniconda3)) type:
conda install libpython
conda install -c msys2 m2w64-toolchain
Module installation
in anaconda cmd window type python setup.py install
Use
To use this module :
python mp_shear_angle.py or python3 mp_shear_angle.py