[yt-users] Issue with ART tutorial

Matthew Turk matthewturk at gmail.com
Mon Sep 23 06:17:59 PDT 2013


Hi Alex,

Sorry for the delay in replying -- what you've hit on is essentially a
major deficit right now (which came up on the yt-dev mailing list this
morning) which is that we don't currently have any comprehensive or
even consolidated documentation for yt 3.0.  The manner of handling
ART data has changed (for the better) and this is not reflected in the
current docs.  Chris Moody has long been in charge of the NMSU-ART
frontend, but I think with time that responsibility will migrate to
me, so I will continue editing and updating things.  Hearing reports
like this is extremely helpful, and it has already helped me identify
and fix a bug in the way cells were being filled for projections in
ART.  (Running "yt update" will get you this fix.)

I've prepared a notebook demonstrating some ART functionality in the
3.0 branch, and I've included in it some 3.0-ized versions of the
functions that the other email thread discussed.  In general, we're
attempting to make it much easier to interact particles with fluids in
3.0.  Note that I've divided by the cell volume here, so that the
visualization looks good; for doing other things like phase plots, you
likely won't want to do that.  You can view the notebook here:

https://hub.yt-project.org/nb/smmcsv

For some reason the Density field is resistant to automated logging,
so in the notebook I have manually logged it.

Let me know if that helps, or if there's anything else that you run into!

-Matt

On Wed, Sep 18, 2013 at 7:18 PM, Alex Bogert <bogart.alex at gmail.com> wrote:
> Following the ART data tutorial on the site
> http://yt-project.org/doc/analyzing/loading_data.html#art-data
>
>  I tried this  :
> from yt.mods import *
> file = "/u/cmoody3/data/art_snapshots/SFG1/10MpcBox_csf512_a0.460.d"
> pf = load(file,discover_particles=True,grid_particles=2,limit_level=3)
>
> and in return I see :
>
> TypeError: __init__() got an unexpected keyword argument 'grid_particles'
> TypeError: __init__() got an unexpected keyword argument
> 'discover_particles'
>
>
> Version info:
>>>> import yt
>>>> print yt.__version__
> 3.0-dev
>
>
> _______________________________________________
> 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