These routines query the compiled IRBEM shared library for version and configuration metadata. They are useful for logging the exact library state in scientific workflows, verifying reproducibility, and confirming which IGRF model epoch is baked into the build.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/PRBEM/IRBEM/llms.txt
Use this file to discover all available pages before exploring further.
IRBEM_FORTRAN_VERSION
Returns the repository version number of the Fortran source code that was used to compile the library.Output
IRBEM Fortran source repository version number.
IRBEM_FORTRAN_RELEASE
Returns the release tag of the Fortran source code as a character array. This complementsIRBEM_FORTRAN_VERSION by providing a human-readable label such as a Git tag or release name.
In IDL, string arguments must be defined as byte arrays before the call:
rls = BYTARR(80). The returned bytes can then be converted to a string with
STRING(rls).Output
Release tag string of the compiled Fortran source (e.g. a Git tag or version label).
GET_IGRF_VERSION
Returns the version number of the International Geomagnetic Reference Field (IGRF) model that is compiled into the library. Different IGRF editions (e.g. IGRF-13, IGRF-14) use different coefficient sets; checking this value ensures your results are traceable to a specific model epoch.Output
Version number of the IGRF model compiled into the library (e.g.
13 for IGRF-13).GET_IRBEM_NTIME_MAX
Returns the size of the time dimension used for fixed-size input and output arrays in certain IRBEM routines. This constant is needed when pre-allocating arrays in Fortran or IDL before calling those routines.In previous versions of IRBEM,
NTIME_MAX was used extensively across most
routines. Where the time dimension is the first dimension of an array,
modern IRBEM routines now accept variable-length arrays of any size — you only
need to ensure the array is large enough to hold ntime elements.NTIME_MAX is still explicitly required for routines where the time dimension
is not the first dimension. Those routines call this out in their own
documentation entries.Output
Size of the time dimension used in fixed-size IRBEM input/output arrays.