[yt-users] LightRay Objection Creation - Index Error

Claire Kopenhafer clairekope at gmail.com
Sun Jan 12 19:42:26 PST 2014


Hello out there, I'm trying to create a LightRay object for an enzo sim. I
get this error message:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/data/codes/yt-x86_64/src/yt-hg/yt/analysis_modules/cosmological_observation/light_ray/light_ray.py",
line 117, in __init__
    redshift_data=redshift_data)
  File
"/data/codes/yt-x86_64/src/yt-hg/yt/analysis_modules/cosmological_observation/cosmology_splice.py",
line 119, in create_cosmology_splice
    cosmology_splice.append({'time': self.simulation[0].current_time,
  File "/data/codes/yt-x86_64/src/yt-hg/yt/data_objects/time_series.py",
line 117, in __getitem__
    o = self._pre_outputs[key]
IndexError: list index out of range

The nearest and farthest redshift are both 0, which is the current redshift
of the dataset I was given. This may or may not have any bearing on the
problem. Thanks for the help!

-Claire Kopenhafer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140112/02516631/attachment.htm>


More information about the yt-users mailing list