yt_analysis is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

yt_analysis / yt http://yt-project.org/

yt is a python package for analyzing and visualizing astrophysical simulation output from a couple simulation platforms. Check out the homepage (there's a link just above!) where we have documentation, a cookbook, and some user community information.

Clone this repository (size: 41.0 MB): HTTPS / SSH
hg clone https://bitbucket.org/yt_analysis/yt
hg clone ssh://hg@bitbucket.org/yt_analysis/yt

Issues

#209 Particle overlay problem with parallel projections

Reported by yt_analysis (last edited )

Imported Ticket

  • Summary: Particle overlay problem with parallel projections
  • Component: yt
  • Milestone:
  • Reporter: dsilvia
  • Owner: mturk
  • Resolution: None
  • Status: new
  • Created: 1239128735000000
  • Description: Particle overlay is not executed properly when doing parallel projections. Only a fraction of the total particles are plotted. Code errors if a processor doesn't not have any particles to overlay.

Error if processor doesn't have any particles:

Particle bounding box: 0.0 1.0 0.0 1.0 1.5 2.5 Traceback (most recent call last): Particle px extrema File "longbox.py", line 13, in <module> pc.save("DD%4.4d/DD%4.4d" % (i,i)) File "/home/solo/student/brittons/local/x86_64/lib/python2.5/site-packages/yt/raven/PlotCollection.py", line 80, in save override=override)) File "/home/solo/student/brittons/local/x86_64/lib/python2.5/site-packages/yt/raven/PlotTypes.py", line 110, in save_image self._redraw_image() File "/home/solo/student/brittons/local/x86_64/lib/python2.5/site-packages/yt/raven/PlotTypes.py", line 312, in _redraw_image self._run_callbacks() File "/home/solo/student/brittons/local/x86_64/lib/python2.5/site-packages/yt/raven/PlotTypes.py", line 183, in _run_callbacks cb(self) File "/home/solo/student/brittons/local/x86_64/lib/python2.5/site-packages/yt/raven/Callbacks.py", line 177, in call print "Particle px extrema", particles_x.min(), particles_x.max(),
ValueError: zero-size array to ufunc.reduce without identity

Status: resolved Responsible: Matthew Turk Type: bug Priority: major
Milestone: 2.2 Component: yt Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Matthew Turk

    written

    • Changed milestone from nothing to 2.2.
    • Changed responsible from nobody to MatthewTurk.
    • Changed status from new to open.
  2. #2 Matthew Turk

    written

    • Changed status from open to resolved.

    I am unable to reproduce this error.

Add comment / attachment

Show/hide preview

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?