[yt-users] GadgetDataset InternalEnergy Units

Daniel cunnama at gmail.com
Fri Jul 4 11:51:06 PDT 2014


Hi Nathan,

I'll give it a try, I'm new to mercurial though so I'll read a bit first.

Thanks,
Daniel


On 4 July 2014 19:39, Nathan Goldbaum <nathan12343 at gmail.com> wrote:

> 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
>>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140704/81bb1d58/attachment.htm>


More information about the yt-users mailing list