IMAS constants

Interpolation modes

CLOSEST_INTERP [parameter=1]

Interpolation method that returns the closest time slice in the original IDS (can break causality as it can return data ahead of requested time).

See also

ids_get_slice()

PREVIOUS_INTERP [parameter=2]

Interpolation method that returns the previous time slice if the requested time does not exactly exist in the original IDS.

See also

ids_get_slice()

LINEAR_INTERP [parameter=3]

Interpolation method that returns a linear interpolation between the existing slices before and after the requested time.

See also

ids_get_slice()

Empty values

IDS_INT_INVALID [parameter=-999999999]

Value representing an unset integer in an IDS.

IDS_REAL_INVALID [parameter=-9E40]

Value representing an unset floating point number in an IDS.

IDS_COMPLEX_INVALID [parameter=CMPLX(-9E40,-9E40)]

Value representing an unset complex number in an IDS.

Serializer protocols

ASCII_SERIALIZER_PROTOCOL [parameter=60]

Identifier for the ASCII serialization protocol.

FLEXBUFFERS_SERIALIZER_PROTOCOL [parameter=61]

Identifier for the Flexbuffers serialization protocol. This protocol is more performant and results in a smaller buffer size than the ASCII_SERIALIZER_PROTOCOL.

DEFAULT_SERIALIZER_PROTOCOL

Identifier for the default serialization protocol.

Time modes

IDS_TIME_MODE_HETEROGENEOUS [parameter=0]

Time mode indicating that dynamic nodes may be asynchronous.

Timebases of quantities are as indicated in the “Coordinates” column of the Data Dictionary documentation.

IDS_TIME_MODE_HOMOGENEOUS [parameter=1]

Time mode indicating that dynamic nodes are synchronous.

Timebases of quantities are the “time” node that is the child of the nearest parent IDS.

IDS_TIME_MODE_INDEPENDENT [parameter=2]

Time mode indicating that no dynamic nodes are filled in the IDS.

Backend identifiers

ASCII_BACKEND [parameter=11]

Identifier for the ASCII backend. See IMAS-Core documentation for backend details..

MDSPLUS_BACKEND [parameter=12]

Identifier for the MDSplus backend. See IMAS-Core documentation for backend details.

HDF5_BACKEND [parameter=13]

Identifier for the HDF5 backend. See IMAS-Core documentation for backend details.

MEMORY_BACKEND [parameter=14]

Identifier for the memory backend. See IMAS-Core documentation for backend details.

UDA_BACKEND [parameter=15]

Identifier for the UDA backend. See IMAS-Core documentation for backend details.

Data entry open/create modes

OPEN_PULSE [parameter=40]

Opens the access to the data only if the Data Entry exists, returns error otherwise.

FORCE_OPEN_PULSE [parameter=41]

Opens access to the data, creates the Data Entry if it does not exists yet.

CREATE_PULSE [parameter=42]

Creates a new empty Data Entry (returns error if Data Entry already exists) and opens it at the same time.

FORCE_CREATE_PULSE [parameter=43]

Creates an empty Data Entry (overwrites if Data Entry already exists) and opens it at the same time.

Version constants

subroutine  al_get_version(version)

Get the Access Layer low-level version.

Returns the version string of the low-level component of the Access Layer, for example "5.1.0".

Parameters:

version [character,pointer,dimension(:),in] :: Low level version

al_fortran_version

Get the version string of the Fortran Access Layer library, for example '5.1.0'.

al_fortran_major_version

Get the major version of the Fortran Access Layer library, for example 5.

al_fortran_minor_version

Get the minor version of the Fortran Access Layer library, for example 1.

al_fortran_patch_version

Get the patch version of the Fortran Access Layer library, for example 0.

al_dd_version

Get the version string of the Data Dictionary definitions that are used, for example '3.39.0'.

al_dd_major_version

Get the major version of the Data Dictionary definitions that are used, for example 3.

al_dd_minor_version

Get the minor version of the Data Dictionary definitions that are used, for example 39.

al_dd_patch_version

Get the patch version of the Data Dictionary definitions that are used, for example 0.