Hello All,
I'm trying to find halos in mutiple snapshot files from DM-only cosmological simulation generated by Gadget-2, using FOF halo finder in yt. The box size of the simulation is 13.8Mpc/h and contain 1024^3 particles. Here is my code,
data_ds = yt.load('./snapshot_016.0')
hc = HaloCatalog(data_ds=data_ds, finder_method='fof',finder_kwargs={"dm_only":False,"ptype":"Halo"})
hc.create()
and I met the error like this,
yt.utilities.exceptions.YTDomainOverflow: Particle bounds (-386.63174, -385.38947, -525.52057) and (6900.443, 6900.271, 13799.999) exceed domain
bounds [0. 0. 0.] code_length and [13800. 13800. 13800.] code_length.
I have already updated yt and it's dependecy to the version 3.6.1, but I still have this problem. It seems like yt treat the particle velocity as the bound, I have no idea. What make me more confusing is there is no such error when I run above code for another small scale simualtion (886^3 particles and L_box=12Mpc/h), So, does anyone know what happend here or has ever met the same problem?