-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General solution for MDS+ run IDs and non-standard Trees #260
Comments
Stale issue message |
@orso82 Any feedback on this? |
I don't really see the reason of making things more complicated. options = {}
options['equilibrium'] = "EFIT_01"
options['core_profiles'] = "OMFIT_PROFS_001"
options['core_profiles.global_quantities.v_loop'] = None |
We have added extra options to the machine mapping files which allows for this. We access data using syntax like this: from omas import ODS
ods = ODS().open(
'machine', 'st40',
10009,
options={
'equilibrium_code_run': 'EFIT#RUN01',
'core_profiles_code_run': 'ASTRA#RUN01'
}
) within the
For In my opinion: no changes need to be made to OMFIT source, just the local implementation. |
Stale issue message |
There are already special cases at DIII-D for
EFIT
andPROFILES_tree
(after #256 ) which are handled as special cases with dedicated keyword arguments. However, this is a much more general problem with can affect a lot more MDS+ trees.Hence, the system that handles which MDS+ tree and pulse id (i.e. shot + run_id) is loaded should be generalized. The following snippet shows how a generic solution could look like
This would specify the tree locations based on ODS locations which is the natural way of defining them.
This will require some not insubstantial remodeling of
omas_machine
and related modules.The text was updated successfully, but these errors were encountered: