Output data selection to ascii file or fits table
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.
If the data are YTArray instances you can use the savetxt or write_hdf5 methods. Search the API docs for YTArray for more detail: https://yt-project.org/doc/reference/api/yt.units.yt_array.html 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
participants (2)
-
Nathan
-
rorysmith274@gmail.com