Hi there,

Unfortunately, the clump finder won't work straight away on Gadget data because it relies on field data being on a grid. However, you should be able to create a covering_grid or arbitrary_grid to deposit particle fields onto. You can then use the save_as_dataset command to save this as a new dataset. The new dataset should work with the clump finder provided you have saved all the fields you need.
Search for covering_grid or arbitrary_grid here:
https://yt-project.org/docs/dev/analyzing/objects.html
Saving reloadable data:
https://yt-project.org/docs/dev/analyzing/saving_data.html

Britton

On Sat, Feb 27, 2021 at 7:46 AM <201s408s@stu.kobe-u.ac.jp> wrote:
Dear all,

For my master's research, I installed yt and I want to load my research data converted to gadget2 format with yt.
The function I want to use is the clump function, and I want to create a similar figure by performing the same processing as the Clump Finding below.

https://yt-project.org/doc/cookbook/constructing_data_objects.html#cookbook-find-clumps

First of all, I tried to test with the gadget data placed in the data index, but neither the default nor the hdf5 format works.
Is it possible to do Clump Finding in Gadget2 format?
_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org
https://mail.python.org/mailman3/lists/yt-users.python.org/
Member address: brittonsmith@gmail.com