General information#
Data types#
Unless specified in this documentation, the IRBEM routines use 32 bits integers (also called long integer in IDL) and double-precision (64 bits) floating points numbers. All arrays are represented using the column-major ordering (as usual for Fortran libraries).
Maximum array sizes#
Some of the IRBEM routines can perform a particular calculation on multiple points, for multiple energies or multiple pitch angles. For some of these routines, there are limitations on the input and output array sizes, which are defined throughout the library.
Some routines have a maximum number of requested points, or use outputs arrays of
fixed size NTIME_MAX
. The value of NTIME_MAX
can be
retrieved using the GET_IRBEM_NTIME_MAX
routine.
Similarly, some routines impose maximum numbers of energy (NENE_MAX
)
and pitch angles (NALPHA_MAX
), which are defined as:
NENE_MAX = 25
NALPHA_MAX = 25
External magnetic field model#
IRBEM can compute magnetic coordinate and trace the field for various
magnetic field models from the litterature. Most routines
accept a kext
integer parameter which allows the selection of the
external magnetic field model, according to the following table:
Key |
Magnetic field name |
Comments |
---|---|---|
0 |
No external field |
|
1 |
Mead & Fairfield [1975] |
uses 0 ≤ Kp ≤ 9 - valid for rGEO ≤17 Re |
2 |
Tsyganenko short [1987] |
uses 0 ≤ Kp ≤ 9 - valid for rGEO ≤30 Re |
3 |
Tsyganenko long [1987] |
uses 0 ≤ Kp ≤ 9 - valid for rGEO ≤70 Re |
4 |
Tsyganenko [1989c] |
uses 0 ≤ Kp ≤ 9 - valid for rGEO ≤70 Re |
5 |
Olson & Pfitzer quiet [1977] |
valid for rGEO ≤15 Re |
6 |
Olson & Pfitzer dynamic [1988] |
|
7 |
Tsyganenko [1996] |
|
8 |
Ostapenko & Maltsev [1997] |
|
9 |
Tsyganenko [2001] |
|
10 |
Tsyganenko [2001] storm |
|
11 |
Tsyganenko [2004] storm |
|
12 |
Alexeev [2000], also known as Paraboloid model |
|
13 |
Tsyganenko [2007] |
|
14 |
Mead-Tsyganenko |
|
Note
Besides the external field model, it is also possible to select the internal magnetic field model used by IRBEM, using the 5th parameter in the IRBEM options array.
IRBEM options#
Some IRBEM routines accept an option
parameter, which is an array of 5
integer flags allowing to control the behavior of the routines.
Index |
Quantity |
Values description |
---|---|---|
1 |
L* or Φ |
|
2 |
IGRF Initialization |
|
3 |
L* field line resolution |
0-9, where 0 is the recommended value to ensure a good ratio precision/computation time (i.e. an error of ~2% at L=6) - The higher the value the better will be the precision, the longer will be the computing time. Generally there is not much improvement for values larger than 4. Note that this parameter defines the integration step (θ) along the field line such as dθ=(π)/(720*[options(3rd element)+1]) |
4 |
L* drift shell resolution |
0-9 - The higher the value the better will be the precision, the longer will be the computing time. It is recommended to use 0 (usually sufficient) unless L* is not computed on a LEO orbit. For LEO orbit higher values are recommended. Note that this parameter defines the integration step (φ) along the drift shell such as dφ=(2π)/(25*[options(4th element)+1]) |
5 |
Internal magnetic field selection |
|
Coordinate systems#
Key |
Name |
Description |
---|---|---|
0 |
GDZ |
|
1 |
GEO |
|
2 |
GSM |
|
3 |
GSE |
|
4 |
SM |
|
5 |
GEI |
|
6 |
MAG |
|
7 |
SPH |
|
8 |
RLL |
|
9 |
HEE |
|
10 |
HAE |
|
11 |
HEEQ |
|
12 |
TOD |
|
13 |
J2000 |
|
14 |
TEME |
|
Note
Four geocentric equatorial inertial systems are in widespread use. These are J2000, MOD (Mean of Date), TOD, and TEME. J2000 defines the axes using the equinox and pole at the J2000 epoch. Correcting for precession transforms to MOD (which is identical to J2000 at 2000-01-01T11:58:55.816 UTC), and then correcting for nutation tansforms to TOD (GEI). IRBEM defines the geophysical systems (e.g., GSE, GSM, SM) relative to TOD, although some missions define these coordinate systems relative to a different inertial reference system (usually MOD).
Note
For details of the approximations used by IRBEM’s coordinate transformations, including the equation for estimating the Sun vector, see (Russel, 1971) and (Hapgood, 1992).
Magnetic field inputs#
Index |
Name |
Description |
---|---|---|
1 |
Kp |
value of Kp as in OMNI2 files but has to be double instead of integer type. (NOTE, consistent with OMNI2, this is Kp*10, and it is in the range 0 to 90) |
2 |
Dst |
Dst index (nT) |
3 |
Dsw |
solar wind density (cm-3) |
4 |
Vsw |
solar wind velocity (km/s) |
5 |
Pdyn |
solar wind dynamic pressure (nPa) |
6 |
By |
GSM y component of interplanetary magnetic field (nT) |
7 |
Bz |
GSM z component of interplanetary magnetic field (nT) |
8 |
G1 |
<Vsw (Bperp/40)2/(1+Bperp/40) sin3(θ/2)> where the <> mean an average over the previous 1 hour, Bperp is the transverse IMF component (GSM) and θ its clock angle |
9 |
G2 |
<a Vsw Bs> where Bs=|IMF Bz| when IMF Bz < 0 and Bs=0 when IMF Bz > 0, a=0.005 |
10 |
G3 |
|
11-16 |
W1 W2 W3 W4 W5 W6 |
see definitions in (Tsyganenko et al., 2005) |
17 |
AL |
auroral index |
18-25 |
reserved for future use |
Note
Solar wind inputs must be taken in the vicinity of the day side magnetopause and _not_ at L1. For instance, one can use the hourly NASA OMNI2 dataset.