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 email@example.com wrote:
yes, masking out the cells in a 3D array should be sufficient!
thanks, Salome _______________________________________________ yt-users mailing list -- firstname.lastname@example.org To unsubscribe send an email to email@example.com https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: firstname.lastname@example.org