[yt-users] int/long error

Stella Offner soffner at cfa.harvard.edu
Mon Mar 19 11:00:53 PDT 2012


Hi Matt,

Thanks for your quick response.  I had checked the example with my 
slightly older version of yt, and it worked fine, so I assume this is 
just the result of a new change in yt. We'll let you know if for some 
reason this doesn't fix the problem.

Thanks,
Stella


Matthew Turk wrote:
> Hi Kaitlin,
>
> Looking over the docs, yes -- that example is incorrect and I have
> just updated it (
> https://bitbucket.org/yt_analysis/cookbook/changeset/ec107f1da0b0 ).
> The covering grid is based on integer indices, and you specify the
> (relative-to-level) integer starting index and the extent in indices
> in that level.  Thanks for pointing that out ...
>
> -Matt
>
> On Mon, Mar 19, 2012 at 1:47 PM, Kaitlin Kratter
> <kaitlin.kratter at gmail.com> wrote:
>   
>> Hi Matt,
>>
>> Just to be clear, the left_edge arguments need to be int32s? I'm confused because the example had floats for the left and right edge values...
>>
>> By the way, the undergrad just left so it will take a little time to verify in any case.
>>
>> Best,
>> Kaitlin
>>     




More information about the yt-users mailing list