Skip to content
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

IMAS 4.0.0 #327

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

IMAS 4.0.0 #327

wants to merge 3 commits into from

Conversation

orso82
Copy link
Member

@orso82 orso82 commented Nov 22, 2024

I have pushed a branch with v4.0.0 of the data dictionary. However transitioning to v4 requires some thought. For existing software, the use of COCOS 17 instead of COCOS 11 is particularly problematic, and the change of _tor to _phi is also very annoying.

Beware that if you try to use this branch as it is, the cocos.py file is not updated for v4.0.0 thanks to the _tor to _phi change. Also all machine mappings will need to be reviewed and updated.

One option going forward may be transition to v4 but add some automated translation between v3 and v4 within OMAS itself. OMAS automatic COCOS translation with omas_environment(ods, cocosio=???): allow us to gracefully handle the COCOS 11 to 17 change. To avoid creeping of bugs we could change OMAS to raise an error if a quantity that is affected by the COCOS change gets accessed ouside of a with omas_environment. Then, all we need to do then is to handle _tor to _phi translations, which would be doable.

Anyways, before rushing to make in any such update, I'd like to wait and see how quickly the IMAS ecosystem adapts to the v4 changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant