_______________________________________________Hi,I'm encountering a memory issue when I try to access higher AMR levels of my simulation using arbitrary_grid. My simulation has a minimum level of 7 and maximum level 15. I'm accessing level 9 (corresponding to 512).DIM=512
dd=ds.arbitrary_grid(left_edge= ds.arr([(com_x_1.value-30), (com_y_1.value-30), (com_z_1.value-30)], 'kpc'), right_edge= ds.arr([(com_x_1.value+30), (com_y_1.value+30), (com_z_1.value+30)], 'kpc'), dims=[DIM,DIM,DIM])
m=dd["gas", "cell_mass"].in_units('Msun')and I get:Traceback (most recent call last):File "vel_disp.py", line 52, in <module>m=dd["gas", "cell_mass"].in_units('Msun')File "/home/samvad/yt-conda/lib/python3.6/site-packages/yt/units/yt_array.py", line 610, in in_unitsnew_array = type(self)(self.ndview * conversion_factor, new_units)MemoryError
Could someone please shed light on this? Am I accessing the levels in a wrong format? Is "dims" not corresponding to the absolute levels but the level differences? (as in the level 7 is considered to be level 0 in which case my maximum level would be 8)
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org