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

Add topology to metadata #283

Merged
merged 3 commits into from
Mar 16, 2023
Merged

Add topology to metadata #283

merged 3 commits into from
Mar 16, 2023

Conversation

mikekryjak
Copy link
Collaborator

@mikekryjak mikekryjak commented Mar 16, 2023

It would be useful for xHermes to know the type of topology (e.g. connected double null). I was going to write something for this but @johnomotani pointed out that this functionality already exists in xBOUT here. If it's already in xBOUT then this should be the only place where the topology is worked out. This simple PR adds it to the dataset metadata.

Will leave it as a draft for now in case I think of any other useful related metadata to expose.
Need it for the polygon plotter PR, so would be good to merge it as is.

@mikekryjak mikekryjak marked this pull request as ready for review March 16, 2023 14:49
@codecov-commenter
Copy link

codecov-commenter commented Mar 16, 2023

Codecov Report

Merging #283 (420415c) into master (212b407) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 420415c differs from pull request most recent head e670f18. Consider uploading reports for the commit e670f18 to get more accurate results

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##           master     #283   +/-   ##
=======================================
  Coverage   68.94%   68.95%           
=======================================
  Files          15       15           
  Lines        3214     3215    +1     
  Branches      792      792           
=======================================
+ Hits         2216     2217    +1     
  Misses        734      734           
  Partials      264      264           
Impacted Files Coverage Δ
xbout/region.py 83.59% <100.00%> (+0.03%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@johnomotani johnomotani left a comment

Choose a reason for hiding this comment

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

Thanks @mikekryjak!

@johnomotani johnomotani merged commit 27bfab6 into master Mar 16, 2023
@johnomotani johnomotani deleted the expose-topology branch March 16, 2023 16:23
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.

3 participants