<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> Horray! I knew there must be a simpler way of doing it! There appears to be<br>
> a lack of examples for using yt as a fancy data reader, and accessing<br>
> ndarrays, or maybe my google-fu is not what it used to be.<br>
<br>
</div>We're trying to make this much more accessible in the new build of the docs:<br>
<br>
<a href="http://yt-project.org/docs/dev/" target="_blank">http://yt-project.org/docs/dev/</a><br></blockquote><div><br></div><div>That's were I was looking, I will have another look over, perhaps I should have a running clone of the docs, I can add stuff when I find it :)<br>

</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
> Ah right ok, so will yt read the whole array in for each field if I do<br>
> ds.h.grids[0]['density'][:,:,-6] fo example?<br>
<br>
</div>Only the density field.  But yes, that's currently how it works for<br>
*many* of the frontends.  (A few have slice capabilities.)  We *do*<br>
have the ability to overload these operations in the future, but right<br>
now the IO gains have not been enough to justify the added complexity.<br></blockquote><div><br></div><div>Ok, I will do some benchmarks and test.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div class="im">
> On the topic of frontend, I really could use some guidance on where to start<br>
> with that.<br>
><br>
> Firstly, I haven't really done anything with it yet, I am still wrapping my<br>
> head around using yt and it is less important now I have gone to gdf.<br>
> Secondly, should I use 2.x or 3.0 when I start?<br>
><br>
<br>
</div>For now, for GDF, I'd say 2.x.  I think there are still loose ends for<br>
GDF in 3.0, but they're release blockers.  So it'll be up to par, it<br>
just isn't yet.<br></blockquote><div><br></div><div>Interesting.<br><br></div><div>OK so at the moment my frontend really just has to be an extension of gdf, it needs to expose a couple of extra things out of the file and define a few derived fields. <br>

<br></div><div>I still really do not know where to start with the frontend, what are the key components of a frontend and what are it's tasks?<br><br>Stuart<br></div></div><br></div></div>