[yt-users] problem with slices in non-unitary volumes

Brian O'Shea bwoshea at gmail.com
Wed Dec 23 09:36:03 PST 2015


By the way, I'm uploading the dataset that is crashing right now.  It'll be
here:

    https://www.dropbox.com/s/ls7i02r6sjngdcp/DD0400.tar?dl=0

it's ~234 MB, so it might take a few minutes to upload (doing it via cable
modem).

Thank you!


On Wed, Dec 23, 2015 at 12:30 PM, Brian O'Shea <bwoshea at gmail.com> wrote:

> Hi Matt,
>
> When I use this line instead:
>
> proj = yt.SlicePlot(ds,'x',("gas",
> "temperature"),center=[0.0,0.0,0.0],width=(0.2,'Mpc'))
>
> it gives me the same error.  :-/
>
> --Brian
>
>
> On Wed, Dec 23, 2015 at 12:22 PM, Matthew Turk <matthewturk at gmail.com>
> wrote:
>
>> Hi Brian,
>>
>> I suspect it's related to a field issue.  Can you try explicitly asking
>> for ("gas", "temperature") ?  My suspicion is that there's a derived field
>> for temperature related to a particle that it's guessing first, and that
>> the cosmo/non-cosmo is only borderline related in how field detection for
>> Enzo works.  If asking for gas temperature explicitly works, we can try to
>> figure out why it thinks it should be asking for particle fields.
>>
>> -Matt
>>
>> On Wed, Dec 23, 2015 at 11:20 AM, Brian O'Shea <bwoshea at gmail.com> wrote:
>>
>>> Dear yt-users,
>>>
>>> I'm having a problem with making slices in non-unitary volumes.  I have
>>> a 3D enzo simulation that has domain bounds of (-1.6...1.6) in every
>>> dimension (units of megaparsecs), and after I updated to the tip of yt-3
>>> (changeset d9502d848029) from a fairly old version of the code I suddenly
>>> have problems with making simple projections.  If I run this set of
>>> commands:
>>>
>>> import yt
>>> ds = yt.load("DD0400/DD0400")
>>> proj =
>>> yt.SlicePlot(ds,'x','temperature',center=[0.0,0.0,0.0],width=(0.2,'Mpc'))
>>>
>>> I get this error:
>>>
>>> http://paste.yt-project.org/show/6115/
>>>
>>> This seems to work fine on an Enzo cosmological dataset (domain bounds
>>> 0-1 in each dimension), and previously worked fine in yt-3 (using a version
>>> of the code from a couple of months ago).
>>>
>>> is this a bug, or am I doing something dumb?
>>>
>>> Thanks!
>>>
>>> --Brian
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20151223/7f09428e/attachment.htm>
-------------- next part --------------
_______________________________________________
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