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

Marcosertoli/development #314

Merged
merged 54 commits into from
Apr 4, 2024
Merged

Marcosertoli/development #314

merged 54 commits into from
Apr 4, 2024

Conversation

marcosertoli
Copy link
Contributor

Changed AVAILABLE_QUANTITIES and DATATYPES to make it easier to understand what is required of the reader, to assign long_name and units to each quantity read, and to simplify the reading.

Abstract reader now stripped to the bones, but still requiring work:

  • ASTRA (it's a mess)
  • EFIT (could be simplified further)

Once st40reader has been refactored to extract all MDS functions, it can also be refactored to make it much clearer what is required when building a reader.

marcosertoli and others added 30 commits May 16, 2023 16:32
…ed in future and added to plotters/ directory
marcosertoli and others added 21 commits March 26, 2024 21:35
…, and elements & impurities now both tuples for consistency
@marcosertoli
Copy link
Contributor Author

Following changes to DATATYPES and AVAILABLE_QUANTITIES, changed Indica-native DataArray formatting and adapted Plasma class accordingly.

@marcosertoli
Copy link
Contributor Author

@hakosaj @pixelifytica @michael-gemmell

This cleans up a lot of things in the readers and clarifies what datatypes are expected of each quantity, as well as what units. There's more to be done on unit consistency, e.g. if units are read from database -> check that they are consistent with Indica requirements, but I think it's a good start.

@marcosertoli marcosertoli marked this pull request as ready for review April 3, 2024 14:49
Copy link
Collaborator

@michael-gemmell michael-gemmell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me!

@michael-gemmell michael-gemmell merged commit 18f4e2a into main Apr 4, 2024
2 checks passed
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.

2 participants