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
ENH: Chimera Frontend #3638
ENH: Chimera Frontend #3638
Conversation
Hi! Welcome, and thanks for opening this pull request. We have some guidelines for new pull requests, and soon you'll hear back about the results of our tests and continuous integration checks. Thank you for your contribution! |
@Ronan-Hix Thank you! We'll review this ASAP. |
Hi @Ronan-Hix, congratulations on opening this PR, this is an impressive amount of work, especially for a first contribution. I want to make a couple quick observations:
warning: This isn't supported at the moment in yt (but it's something I really really want to enable too) ! I see your work is already almost passing listing (pre-commit.ci) (impressive!), but there are a couple issues with file permissions you need to fix. |
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.
a very quick and shallow review
note that you've mistakenly included yt/frontends/chimera/tests/.DS_Store
. It's light enough that you do not need to rewrite your history but it should be removed.
you can edit your .git/info/exclude
file to ignore *.DS_Store
files in the future without having to touch the shared .gitignore
file
…plemented several suggested changes in data_structures.py. Further edits to follow.
… into chimera-frontend-pull
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
I guess the new failures are showing (predictable) consequences of the recent switch to unyt for physical constants. We should bump these answers. |
I think that the failures are actually a product of the slightly changed method of pulling the maximum r-axis limits, but regardless, simply updating the test should still resolve the issue. I'm intending to push another commit soon that will fix this and remove the YinYang implementation from this pull request, as it still needs further development before it is working properly (There are some issues with the rotations in the spherical basis and rasterization problems when doing the rotations in cartesian coordinates). I was waiting to do so while looking into an issue a collaborator had while using the newest iteration of this frontend in the last couple days; I want to see if this is a package version incompatibility or a true frontend bug I should patch before pushing. |
…fication routine for greater compatibility.
… into chimera-frontend-pull
@Ronan-Hix Hey -- I just want to say that I'm really grateful for you continuing to plug away on this. Thank you. |
@yt-fido test this please |
Absolutely! Sorry for the somewhat intermittent progress, I'm working on this in between a couple other primary research projects and working on grad school applications. Right now the failing tests come from changing the code behavior to omit ghost zones more reliably (which changes the array size and slightly changes the average). These changes are intentional, so the stored answers should be regenerated, but I'm not quite sure how to do that. |
In the |
I wanted to ping this to see if someone with write access can resolve this conflict. As far as I can see, the versions don’t actually conflict, so I’m not sure how to resolve it on my end. |
done |
We probably need @Xarthisius to sign off on the change he requested |
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.
I'll defer to @chrishavlin and @Xarthisius to finalise their reviews and possibly merge, but AFAICT their respective blocking remarks seem to have been addressed.
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.
Yup, my suggestions are all taken care of. But let's not merge until @Xarthisius looks it over.
One minor thing is that there are a couple of empty files that could be deleted: misc.py
, definitions.py
.
Right, but that's true for a lot of existing frontends. These modules are actually not required so we could at some point decide to clean empty ones. |
I'm going to close/reopen to refresh CI as requirements for merging have been updated |
Hooray! Congratulations on your first merged pull request! We hope we keep seeing you around! 🎆 |
Congratulations @Ronan-Hix, and thanks again for your patience. We will include this frontend in the upcoming yt 4.1 release ! |
Very glad to hear it, many thanks to everyone involved for all the assistance! |
PR Summary
This pull request includes a new frontend for use with the CHIMERA code's data format. This code is a grid-based, non-AMR MHD code with spherical geometry and a logarithmic radial coordinate and is utilized for simulations of Type-II core-collapse supernovae in 2 and 3 dimensions. The data required for the answer tests included in the frontend was previously submitted via curl. Development was performed from the basis of the _skeleton frontend, along with advice from John ZuHone and Matt Turk. If this request should be submitted to a different branch, or if there are any other issues, please let me know.
PR Checklist