Hi Jason,

Unfortunately no. I think I might be able to come back to this issue soonish, we're going to be introducing a new fast periodic KDTree which could be exploited here.

For now I think you're going to need to make this plot in a different way, without using a cut_region. Perhaps by overplotting contours?


On Saturday, October 1, 2016, Jason Galyardt <jason.galyardt@gmail.com> wrote:
Hi Nathan,

Is there a previous version of yt in which compound cut regions work?



Hi Jason,

This is a known issue:

Unfortunately fixing it will require a modification to the cut_region implementation to do a better job of searching for cells that belong to the region for chained selectors.


On Fri, Sep 30, 2016 at 1:25 PM, Jason Galyardt <jason.galyardt@gmail.com> wrote:
Dear all,

I would like to generate a compound cut region for a FLASH simulation, but the output I'm getting is odd. I've pasted my simple script here:


It loads a simulation file, creates a compound cut_region (1e4 K < T < 1e6 K), and applies it to a slice plot. The resulting image is banded, as you can see by the attached plots. Am I missing something, or is this a problem related to yt?

FYI, I get the same behavior when I use a projection plot or only one of the conditionals (e.g. T < 1e6 K). I've tried both the stock 3.3.1 version, as well as the self-contained development version that I installed earlier this afternoon using install_script.sh. Let me know if any other info is useful.