[yt-users] Lightray object creation problem

Geoffrey So gsiisg at gmail.com
Tue Feb 11 10:28:18 PST 2014


The simulations were made with
HistoryDumpDir      = HD
HistoryDumpName     = HD

instead of the usual DD####/DD##### and with the #### replaced with the
cycle number
InitialCycleNumber  = 1200

resulting in something like HD1200/HD1200 being the parameter file name.

Is it a simple change to make YT read this kind of parameter file?

From
G.S.





On Tue, Feb 11, 2014 at 3:26 AM, Britton Smith <brittonsmith at gmail.com>wrote:

> 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
>>
>>
>
> _______________________________________________
> 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/4c20f49c/attachment.htm>


More information about the yt-users mailing list