[yt-users] GadgetDataset InternalEnergy Units

Nathan Goldbaum nathan12343 at gmail.com
Fri Jul 4 10:39:47 PDT 2014


Hi Daniel,

Would you like to file a pull request?  It's much easier for is to
incorporate your changes that way.

http://yt-project.org/docs/dev-3.0/developing/developing.html

Nathan

On Friday, July 4, 2014, Daniel <cunnama at gmail.com> wrote:

> Hi,
>
> I noticed that the GadgetDataset read does not have units set.
>
> This should be fairly simple fix in the following file:
>
> ~/yt-3.0/yt/frontends/sph/fields.py
>
> -Line 58: ("InternalEnergy", ("", ["thermal_energy"], None)),
>
> +Line 58: ("InternalEnergy", ("code_length**2 / code_time**2",
> ["thermal_energy"], None)),
>
> Kind Regards,
> Daniel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140704/ff43b5bc/attachment.html>


More information about the yt-users mailing list