[yt-users] reading RAMSES files - missing cosmological_simulation flag?
Sam Geen
samgeen at astro.ox.ac.uk
Fri Aug 5 06:58:26 PDT 2011
Yes, sorry, I've been quite distracted recently (moved institute, thesis
to write, etc). Not sure when I'll have time to look at this properly,
but hopefully in the next couple of months if you guys still need
another pair of hands.
As for cosmological simulations, one possible test is that all the units
are 1.0 in non-cosmological runs (see amr/units.f90 in the ramses
source). Not sure if there's a more elegant test.
On 05/08/11 15:49, Matthew Turk wrote:
> Hi Rok,
>
> I've pushed a fix to the tip for this; however, even after running a
> couple test problems in RAMSES, I was unable to determine how to
> definitively identify cosmological simulations from non-cosmological
> simulations. I've therefore set this parameter to always be on.
>
> Please note that there are still issues with the RAMSES reader, and it
> may behave unexpectedly. Sam Geen, Oliver Hahn and I have been
> working on them, but it has been a bit slow going the last little
> while. If you have any specific suggestions or ways we could improve,
> we would definitely be interested in hearing them.
>
> Thanks very much,
>
> Matt
>
> On Fri, Aug 5, 2011 at 9:19 AM, Rok Roskar<roskar at physik.uzh.ch> wrote:
>> hi there,
>>
>> trying to read a RAMSES output from a cosmological zoom simulation, I
>> get the following perplexing error:
>>
>>>>> from yt.mods import *
>>>>> sim = load("output_00422/info_00422.txt")
>> output_00422/amr_00422.out00001
>> yt : [INFO ] 2011-08-05 15:13:45,236 Parameters: current_time
>> = -2.10180018413e+16
>> yt : [INFO ] 2011-08-05 15:13:45,237 Parameters: domain_dimensions
>> = [2 2 2]
>> yt : [INFO ] 2011-08-05 15:13:45,237 Parameters: domain_left_edge
>> = [ 0. 0. 0.]
>> yt : [INFO ] 2011-08-05 15:13:45,238 Parameters: domain_right_edge
>> = [ 1. 1. 1.]
>> yt : [ERROR ] 2011-08-05 15:13:45,238 Missing cosmological_simulation
>> in parameter file definition!
>>
>>
>> this clearly is a cosmological simulation with the relevant parameters
>> specified in the info*.txt file - is something else needed?
>>
>> Thanks,
>>
>> Rok
>>
>> _______________________________________________
>> 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
More information about the yt-users
mailing list