OMAS: A Python Library to Interface with the ITER Integrated Modeling and Analysis Suite (IMAS)

ORAL

Abstract

The ITER IMAS effort is driving the worldwide adoption of the Physics Data Model (PDM) as the standard data structure (ie. ontology) for managing tokamak fusion data. OMAS is a numerical library designed to facilitate the adoption of the PDM within Python codes, and ease their interface with IMAS. In OMAS the data strictly adheres to the PDM, and it is presented to the developers as objects behaving like familiar Python dictionaries and lists. Conveniently, these objects can perform automatic COordinate COnventionS (COCOS) transformations, grid interpolation, and units conversions. In addition to IMAS, OMAS supports saving/loading data in universal data formats such HDF5, JSON files, and MongoDB. We will present a series of diverse examples that illustrate how OMAS has been adopted across the fusion community to: 1) interface with IMAS; 2) support the integration of physics codes in complex workflows; and 3) curate databases of both experimental and modeling fusion data.

Authors

  • Orso-Maria Meneghini

    General Atomics

  • Sterling P. Smith

    General Atomics

  • David Eldon

    General Atomics, DIII-D National Fusion Facility, General Atomics, PO Box 85608, San Diego,CA 92186, USA, (GA), General Atomics - San Diego

  • Brendan Lyons

    General Atomics, General Atomics, San Diego, GA, General Atomics - San Diego

  • J. McClenaghan

    General Atomics, General Atomic, General Atomics - San Diego, (GA)

  • Tim Slendebroek

    Oak Ridge Associated Universities