-
Notifications
You must be signed in to change notification settings - Fork 283
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
Octree dataset don't support generating ghost zones #1051
Comments
For the record, fixing this issue for oct-AMR datasets would make the following features (it would still require some extra work, but ghost zones is the hard part)
There is a first draft of that feature in https://github.com/cphyc/yt/tree/ghost_zones_WIP. Here's what needs to be done (this is one possible solution):
Step 1 is almost done (it needs testing though), but I'm struggling with step 2. Some reasons are
|
After #2425 is merged, this will be a low-hanging fruit as one will just have to implement the I changed the tags to reflect the fact it should be quite straightforward to do. |
@cphyc I think this is fixed now, right? |
It is for RAMSES datasets, but some minor work would be required for ART datasets. I don't think I'll have time to do it anytime soon, but if a user requests it at some point it should be very straightforward. |
@cphyc what would need to be done to fix this for ART datasets? |
One would need to implement the equivalent methods to yt/yt/frontends/ramses/data_structures.py Line 347 in 7a8f1b8
and yt/yt/frontends/ramses/data_structures.py Line 443 in 7a8f1b8
as well as a mechanism to read data that don't live on leaf cells in ART. I'd be happy to chat more about it! |
@cphyc ok, we probably should soon. Trying to get an all-hands-on-deck approach to resolving 4.0 issues. |
Untag from #3125? |
Yes |
Originally reported by: Kenza Arraki (Bitbucket: karraki, GitHub: karraki)
Accessing ('gas', 'density_gradient_x') for ART files fails with
AttributeError: 'ARTDomainSubset' object has no attribute 'retrieve_ghost_zones'
script: http://paste.yt-project.org/show/5748/
dataset: D9p_500 http://yt-project.org/data/
error: http://paste.yt-project.org/show/5749/
Version = 3.3-dev
Changeset = 60bd0bc6b0a9 (yt) tip
The text was updated successfully, but these errors were encountered: