Hi, It's probably a good idea to keep the unit conversion in there as Rockstar specifically deals in Mpc/h and the get_smallest_dx function is not likely to return in those units. I think it would be safer to get unit support working with get_smallest_dx for your type of simulation data. The value being returned for your data is probably not in Mpc/h. As a quick workaround, you can compute the proper value of force_res in Mpc/h yourself and pass it as a keyword. Britton On Fri, Jul 20, 2018 at 2:43 PM <sflarkin@ucsc.edu> wrote:
It appears that the simulation files I am using do not have a unit property according to the dir() of the field. However, when I used the call without in_units, it works properly. How important is the .in_units to the package. Is it okay to run without that information attached? _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org