If the data are YTArray instances you can use the savetxt or write_hdf5 methods. Search the API docs for YTArray for more detail:


On Wed, Sep 18, 2019 at 11:56 AM <rorysmith274@gmail.com> wrote:
Hi, I would like to use yt to make selections of data from Enzo files (e.g. gas with certain properties in a particular volume), and then output the data to an external file like an ascii or fits table, to be analysed by other codes. Can you please tell me if such a tool is already available, or how I might be able to do it otherwise? Thanks.
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org