[yt-users] empty field_list when loading old enzo output (possibly v1.5)

Wing-Kit Lee wklee at asiaa.sinica.edu.tw
Tue Oct 21 19:18:33 PDT 2014


Hi John,

No, it returned an empty list, [].

Here is what I did:

In [2]: ds = yt.load('DD0000/ts2D_512L0E001_0000')
yt : [INFO     ] 2014-10-22 10:16:30,377 Parameters:
current_time              = 0
yt : [INFO     ] 2014-10-22 10:16:30,378 Parameters:
domain_dimensions         = [512 512   1]
yt : [INFO     ] 2014-10-22 10:16:30,380 Parameters:
domain_left_edge          = [ 0.  0.  0.]
yt : [INFO     ] 2014-10-22 10:16:30,380 Parameters:
domain_right_edge         = [ 1.  1.  1.]
yt : [INFO     ] 2014-10-22 10:16:30,381 Parameters:
cosmological_simulation   = 0.0

In [3]: ds.field_list
yt : [INFO     ] 2014-10-22 10:16:35,568 Gathering a field list (this may
take a moment.)
yt : [INFO     ] 2014-10-22 10:16:35,680 Loading field plugins.
yt : [INFO     ] 2014-10-22 10:16:35,682 Loaded angular_momentum (8 new
fields)
yt : [INFO     ] 2014-10-22 10:16:35,682 Loaded astro (14 new fields)
yt : [INFO     ] 2014-10-22 10:16:35,682 Loaded cosmology (20 new fields)
yt : [INFO     ] 2014-10-22 10:16:35,683 Loaded fluid (56 new fields)
yt : [INFO     ] 2014-10-22 10:16:35,684 Loaded fluid_vector (88 new fields)
yt : [INFO     ] 2014-10-22 10:16:35,685 Loaded geometric (102 new fields)
yt : [INFO     ] 2014-10-22 10:16:35,685 Loaded local (102 new fields)
yt : [INFO     ] 2014-10-22 10:16:35,685 Loaded magnetic_field (108 new
fields)
yt : [INFO     ] 2014-10-22 10:16:35,685 Loaded species (108 new fields)
Out[3]: []

In [4]: ds.index
Out[4]: <yt.frontends.enzo.data_structures.EnzoHierarchy2D at
0x2b28ffac4710>

In [5]: ds.field_list
Out[5]: []

------------------------------------

Kit

On Wed, Oct 22, 2014 at 10:09 AM, John ZuHone <jzuhone at gmail.com> wrote:

> Kit,
>
> Sorry--just for clarification--did you check the field_list again after
> you did ds.index?
>
> John Z
>
> John ZuHone
> Kavli Center for Astrophysics and Space Research
> Massachusetts Institute of Technology
> 77 Massachusetts Ave., 37-582G
> Cambridge, MA 02139
> (w) 617-253-2354
> (m) 781-708-5004
> jzuhone at space.mit.edu
> jzuhone at gmail.com
> http://www.jzuhone.com
>
> On Oct 21, 2014, at 8:55 PM, Wing-Kit Lee <wklee at asiaa.sinica.edu.tw>
> wrote:
>
> Hi Matt,
>
> No, it only gave
>
> <yt.frontends.enzo.data_structures.EnzoHierarchy2D at 0x2b45557923d0>
>
> And it's a 2D simulation.
>
> Kit
>
> On Wed, Oct 22, 2014 at 8:30 AM, Matthew Turk <matthewturk at gmail.com>
> wrote:
>
>> Hi Kit,
>>
>> If you do something like "ds.index" does that fill in the field list?
>>
>> Matt
>> On Oct 21, 2014 6:01 PM, "Wing-Kit Lee" <wklee at asiaa.sinica.edu.tw>
>> wrote:
>>
>>> Hi all,
>>>
>>> I have some outputs from an unknown (private) branch of Enzo (possibly
>>> as early as version 1.5). I believe there was no big change on the output
>>> structure vs actual Enzo 1.5. When loaded it with yt (3.0.2), I got an
>>> empty field list. Can someone point me to where I can look at? Thanks a lot!
>>>
>>> Best,
>>> Kit
>>>
>>> --
>>> Wing Kit Lee
>>> Postdoc Fellow
>>> Academia Sinica, Institute of Astronomy and Astrophysics
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
>
> --
> Wing Kit Lee
> Postdoc Fellow
> Academia Sinica, Institute of Astronomy and Astrophysics
>
> _______________________________________________
> 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
>
>


-- 
Wing Kit Lee
Postdoc Fellow
Academia Sinica, Institute of Astronomy and Astrophysics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141022/23fd67a2/attachment.html>


More information about the yt-users mailing list