-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
…ed in future and added to plotters/ directory
Fixed mypy errors
…lling runs in one go
…o modify the abstract_operator?
… missing from DATATYPES.
…the information if it's not hampered with.
…, and elements & impurities now both tuples for consistency
Following changes to DATATYPES and AVAILABLE_QUANTITIES, changed Indica-native DataArray formatting and adapted Plasma class accordingly. |
@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. |
There was a problem hiding this 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!
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:
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.