Library information functions#
- IRBEM_FORTRAN_VERSION#
Provides the repository version number of the fortran source code.
- Outputs:
VERSN (integer) – IRBEM version number
- Calling sequence:
VERSN = onera_desp_lib_fortran_version
result = call_external(lib_name, 'irbem_fortran_version',versn, /f_value)
call IRBEM_FORTRAN_VERSION1(VERSN)
- IRBEM_FORTRAN_RELEASE#
Provides the repository release tag of the fortran source code.
- Outputs:
RLS (array of 80 characters) – release tag
- Calling sequence:
RLS = onera_desp_lib_fortran_release
result = call_external(lib_name, 'irbem_fortran_release', rls, /f_value)
call IRBEM_FORTRAN_RELEASE1(RLS)
- Note:
In IDL, string arguments should be defined as byte arrays, i.e.:
rls = BYTARR(80)
- GET_IGRF_VERSION#
Returns the version number of the IGRF model.
- Outputs:
IGRF_VERSION (integer) – IGRF version number
- Calling sequence:
igrf_version = onera_desp_lib_igrf_version
result = call_external(lib_name, 'igrf_version_idl',igrf_version, /f_value)
call GET_IGRF_VERION_(igrf_version)
- GET_IRBEM_NTIME_MAX#
Returns the size of time dimension in inputs and/or output arrays for some of the routines.
Note
In previous versions, the ntime_max parameter was used extensively in the IRBEM library.
When possible (which is when the time dimension is the first dimension of the array), the IRBEM routines now use variable-length array, so arbitrary array length can be provided, as long as the array is big enough to contain the needed data (usually of size ntime).
For routines where the ntime_max array size is still needed, it is explicitely mentioned in the corresponding part of this documentation.
- Outputs:
NTIME_MAX (integer) – Time dimension size
- Calling sequence:
ntime_max = onera_desp_lib_ntime_max
result = call_external(lib_name, 'get_irbem_ntime_max',ntime_max, /f_value)
call GET_IRBEM_NTIME_MAX1(ntime_max)