Hi Salome,

OK, so I *think* this should work, but I'm not 100%.  Try creating your covering grid, then before you access any fields, do this:

cg._data_source = cutout_region

Then when you access it, it *should* only access items inside the cutout region.

On Sun, Jan 31, 2021 at 1:57 PM Salome Mtchedlidze <salomchedlidze@gmail.com> wrote:
yes, masking out the cells in a 3D array should be sufficient!

yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org
Member address: matthewturk@gmail.com