[yt-users] reading RAMSES files - missing cosmological_simulation flag?
Rok Roskar
roskar at physik.uzh.ch
Fri Aug 5 08:30:39 PDT 2011
hi matt,
thanks for the fix! works better now.
Another issue - unless I'm somehow reading this wrong - is that the
redshift is interpreted incorrectly (or rather, it appears that redshift
and expansion factor have been swapped):
yt : [INFO ] 2011-08-05 17:17:14,961 Parameters: current_redshift
= 0.499963102849
but:
>>> pn.parameters['aexp']
1.00014759949511
this will probably mess up unit conversions, I would imagine.
best,
rok
On Fri, 2011-08-05 at 09:49 -0400, 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