gafusion / omas

Ordered Multidimensional Array Structure
http://gafusion.github.io/omas
MIT License
30 stars 14 forks source link

Set ODS from ids objects #282

Closed AreWeDreaming closed 4 months ago

AreWeDreaming commented 6 months ago

Leaf of #258. Allows an ODS to be set using an IDS (not database) object. Example syntax

ods = load_omas_imas(paths=omas_paths,
                                     imas_version=os.environ["IMAS_VERSION"], 
                                     ext_ids=ids)

with omas_paths a list of IMAS paths in the form of equilibrium.time_slice.0.profiles_2d.0.psi and ids in this case an instance of imas.equilibrium() with data. Limitations:

github-actions[bot] commented 4 months ago

Stale pull request message