[yt-users] selecting data by refinement level

Klaus Weide klaus at flash.uchicago.edu
Tue Jun 6 16:37:44 PDT 2017


Hi all,

I have recently started using yt to for processing some FLASH results.

Here is something that I think should be easy, but I haven't found an 
obvious and simple way in the documentation. I would like to analyze only 
cells (blocks) that are at a specific refinement level (let's say the 
highest) and discard all other cells (blocks). Is there an interface 
for defining a region by refinement level(s), immediately after loading an
AMR file?

I know I have access to cell properties like 'dx', 'dy' and could select
cells based on that, but hopefully there is a more direct (and perhaps 
more efficient) way.

Klaus


More information about the yt-users mailing list