Open chummels opened 6 years ago
Maybe it's OK that this doesn't work? You can get much of the same functionality with particle filters, which do work in yt4. Not sure what it would take to get this working. At the very least, before this is closed we should document that cut regions do not work for particle-based datasets on the Filtering
docs page: http://yt-project.org/docs/dev/analyzing/filtering.html
So I'm coming back to this. We're always trying to make sure that operations and scripts are as the same as possible between different frontends. In the past, we always thought about trying to make a cut region work for particles, but @ngoldbaum always argued that it didn't make sense (I can't remember his reasoning--if you have a chance Nathan I'd love to see you comment on this).
But what if we applied the logic the other way around? What if instead we generalized the particle filter to the grid-based data? So you would end up creating a new field type corresponding to the filter. This would seem to have the following benefits:
Thoughts?
Bug report
Bug summary
Cut regions, a method for filtering on fields, fail for particle-based fields. See yt docs here: http://yt-project.org/docs/dev/analyzing/filtering.html#cut-regions
Code for reproduction
Actual outcome
Expected outcome
To make a projection