[yt-users] Default Units for new Enzo Fields

Andrew James Emerick emerick at astro.columbia.edu
Tue Feb 16 14:38:42 PST 2016


Hi all,

I wasn't sure if this should go in the yt-users list or Enzo-dev, as I'm
not sure where the solution lies.

I've defined some new fields in Enzo that have units of density that yt is
reading as having dimensionless units.

Are the units for fields defined and outputted somewhere in Enzo (to be
read by yt)? Or does yt assume units depending on the name of the field?

If the former, where do I tell the code that my field has density units
when its written to file? I see "DataUnits" throughout the code, but I'm
not sure if this is relevant or how to use it.

If this is a yt-side thing, is there an easy way to just have yt read in my
new fields with the correct units without me manually changing them once
I've loaded a dataset?



Andrew

-- 
Graduate Student
Columbia University
Department of Astronomy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160216/11fe28eb/attachment.htm>


More information about the yt-users mailing list