[yt-users] loading eagle data using yt

Charlotte Brand charlottemarlijn at gmail.com
Sat Feb 18 01:00:01 PST 2017


Hi yt users!

For my master research, I'm working on virtual observations from the EAGLE
(gadget based) simulations. Currently I'm trying out pyXSIM for this, which
uses yt to load the data, but I'm having some problems.

First, yt only loads the non-smoothed element abundances, as fields
"PartType0, (element)", while the eagle data has 2 fields:
PartType0/SmoothedElementAbundance/(element) and
PartType0/ElementAbundance/(element). Does anyone have any idea on how to
get the smoothed abundances out?

Also, I'm wondering: I have a script that selects the subhalos you want
from the eagle data, and then saves the particle data you need
(temperature, density, etc.) of only the particles in those subhalos to a
hdf5 file. However, when I try to load this data with yt, it recognises it
as gadget data, and then expects more than one file to be present, I guess
because usually there is more than one snapshot file. E.g. if my file is
called partialdata.0.hdf5 yt starts to look for partialdata.1.hdf5 (if i
just call it partialdata.hdf5 it still looks for partialdata.0.hdf5).
However, in gadget, the number of output files can be chosen freely, so you
could also choose to save your entire snapshot in one hdf5 file. So it
seems that in yt there should be a way to specify the number of files
you're dealing with... Does anyone know how to solve this problem? I think
that yt recognises the eagle files as owls data (they are very similar), it
may have something to do with that.
The reason I want to select my subhalos before loading the data is that
when I load the entire dataset (a 100Mpc box, 1504^3 particles) and then
select e.g. a slice, when creating a derived field, I think that yt
allocates memory (or something like that) for it for the entire dataset,
and not just for the slice I have selected. Is this true?

Cheers and thanks in advance,
Charlotte Brand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170218/b8685238/attachment-0001.htm>


More information about the yt-users mailing list