[yt-users] saving derived fields once more

Matthew Turk matthewturk at gmail.com
Thu Mar 14 14:30:25 PDT 2013


Hi Mike and Elizabeth (and Andrew Myers too!),

If any of you would be willing to write up a brief description of
this for the documentation, it would be greatly appreciated.

Mike, you can do this by setting it on the grids:

for g in pf.h.grids: g.set_field_parameters("favorite_movie", "bttf")

-Matt

On Thu, Mar 14, 2013 at 5:03 PM, Michael Kuhlen <mqk at astro.berkeley.edu> wrote:
> Ah great, thanks Elizabeth (and Matt). One followup, what if my derived
> field depends on a user-specified field_parameter? I don't know how to use
> set_field_parameter() on the pf object.
>
>
> On Thu, Mar 14, 2013 at 1:24 PM, Elizabeth Tasker
> <tasker at astro1.sci.hokudai.ac.jp> wrote:
>>
>> Hi Mike,
>>
>> I had the same issue recently and Matt dug out the links on how to use
>> them:
>>
>>
>> http://paste.yt-project.org/show/3142/
>>
>> and the followup:
>>
>> http://paste.yt-project.org/show/3143/
>>
>>
>> Elizabeth
>>
>>
>>
>> On Mar 14, 2013, at 4:15 PM, Michael Kuhlen <mqk at astro.berkeley.edu>
>> wrote:
>>
>> I'd like to try out the saving derived fields feature that was discussed
>> here
>> http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2013-February/003311.html
>>
>> Unfortunately the merge (PR #416) is one of the ones whose comments are
>> lost because of a deleted repository. Could someone here explain how to use
>> this functionality, i.e. how to save a derived field to disk by writing out
>> a GDF file? Or point me to the place in the docs where this is discussed?
>>
>> Thanks!
>>
>> Mike
>>
>> --
>> *********************************************************************
>> *                                                                   *
>> *  Dr. Michael Kuhlen              Theoretical Astrophysics Center  *
>> *  email: mqk at astro.berkeley.edu   UC Berkeley                      *
>> *  cell phone: (831) 588-1468      B-116 Hearst Field Annex # 3411  *
>> *  skype username: mikekuhlen      Berkeley, CA 94720               *
>> *                                                                   *
>> *********************************************************************
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>
>
>
> --
> *********************************************************************
> *                                                                   *
> *  Dr. Michael Kuhlen              Theoretical Astrophysics Center  *
> *  email: mqk at astro.berkeley.edu   UC Berkeley                      *
> *  cell phone: (831) 588-1468      B-116 Hearst Field Annex # 3411  *
> *  skype username: mikekuhlen      Berkeley, CA 94720               *
> *                                                                   *
> *********************************************************************
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list