[yt-users] Lightray object creation problem

Britton Smith brittonsmith at gmail.com
Tue Feb 11 03:26:13 PST 2014


Hi Pengfei,

How are the HD datadumps being made?  Are these outputs spaced evenly in
time made with the dtDatadump parameter?  If not, the problem might be that
the LightRay does not know how to detect them.  You might try adding the
keyword, find_outputs=True, to your creation of the LightRay object.  That
will search the simulation directory for all available datasets instead of
trying to calculate them on its own.  This might not work if you have used
parameters other than the following to name your outputs:
DataDumpDir
DataDumpName
RedshiftDumpDir
RedshiftDumpName

Another thing you can do is use the functionality designed to tell you
exactly what datasets you need to have in order to span the redshift
interval you want.  Have a look at that here:
http://yt-project.org/docs/dev/analyzing/analysis_modules/planning_cosmology_simulations.html

If you don't have any luck with these suggestions, please post the
parameter file you used to run this simulation and I can take a closer look.

Britton


On Fri, Feb 7, 2014 at 2:57 AM, Pengfei Chen <madcpf at gmail.com> wrote:

> Hi all,
>
> I've got enough history dumps and some redshift dumps from Enzo but when I
> tried to use them to create a lightray object, I got a problem:
>
> The code I use is:
>
> lr = LightRay("/scratch/01041/tg802953/BKGRD800B/HD4760/HD4760",
>               'Enzo', 3.0, 5.0,
>               use_minimum_datasets=True)
>
> And I have enough HDXXXX datasets. But I still get the following error:
>
> P000 yt : [ERROR    ] 2014-02-06 20:32:53,057 Cosmology splice incomplete
> due to insufficient data outputs.
>
> I've done this with another simulation which has enough RDXXXX outputs
> before and it worked well. So I wonder how could the LightRay recognize
> HDXXXX datasets.
>
> Thanks,
>
> Pengfei
>
> _______________________________________________
> 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/20140211/be60b2e0/attachment.htm>


More information about the yt-users mailing list