omas.load_omas_ascii

omas.load_omas_ascii(filename, machine=None, pulse=None, run=None, dir=None, consistency_check=True, imas_version='3.41.0')[source]

Load an ODS from ASCII (follows IMAS ASCII_BACKEND convention)

Parameters
  • filename – filename or file descriptor to load from use None to load IDSs from multiple files based on machine, pulse, run

  • machine – machine name to build filename for loading IDSs from multiple files

  • pulse – pulse number to build filename for loading IDSs from multiple files

  • run – run number to build filename for loading IDSs from multiple files

  • dir – directory from where to load multiple IDSs files

  • consistency_check – verify that data is consistent with IMAS schema

  • imas_version – imas version to use for consistency check

Returns

OMAS data set