omas.load_omas_json

omas.load_omas_json(filename, consistency_check=True, imas_version='3.41.0', cls=<class 'omas.omas_core.ODS'>, **kw)[source]

Load ODS or ODC from Json

Parameters
  • filename – filename or file descriptor to load from

  • consistency_check – verify that data is consistent with IMAS schema

  • imas_version – imas version to use for consistency check

  • cls – class to use for loading the data

  • kw – arguments passed to the json.loads mehtod

Returns

OMAS data set