omas.save_omas_ascii

omas.save_omas_ascii(ods, filename, machine=None, pulse=None, run=None, dir=None)[source]

Save an ODS to ASCII (follows IMAS ASCII_BACKEND convention)

Parameters
  • ods – OMAS data set

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

  • machine – machine name to build filename for saving IDSs to multiple files

  • pulse – pulse number to build filename for saving IDSs to multiple files

  • run – run number to build filename for saving IDSs to multiple files

  • dir – directory where to save multiple IDSs files