omas.ods_2_odx

omas.ods_2_odx(ods, homogeneous=None)[source]

Map ODS to an ODX

Parameters
  • ods – OMAS data set

  • homogeneous

    • False: flat representation of the ODS

      (data is not collected across arrays of structures)

    • ’time’: collect arrays of structures only along the time dimension

      (always valid for homogeneous_time=True)

    • ’full’: collect arrays of structures along all dimensions
      (may be valid in many situations, especially related to

      simulation data with homogeneous_time=True and where for example number of ions, sources, etc. do not vary)

    • None: smart setting, uses homogeneous=’time’ if homogeneous_time=True else False

Returns

OMAS data xarray