[yt-users] Loading RAMSES Data into yt.

k.grisdale at surrey.ac.uk k.grisdale at surrey.ac.uk
Wed Oct 30 09:51:34 PDT 2013


How do I get hold of that version of Yr?

Thanks

Kearn
On 30 Oct 2013, at 16:44, Romain Teyssier <romain.teyssier at gmail.com<mailto:romain.teyssier at gmail.com>> wrote:

Hi Kearn,

I am afraid you might be using a pretty old version of Ramses.
Why don’t you try the bitbucket version ?

Romain


On 30 Oct 2013, at 17:39, k.grisdale at surrey.ac.uk<mailto:k.grisdale at surrey.ac.uk> wrote:

Hi,

I have been trying to load RAMSES data into yt 2.5. Orginaly it was loading in but the graphs I was able to produce didn’t make sense.  So I tried to change to yt3 using the commands

cd $YT_DEST/src/yt-hg/
hg pull http://bitbucket.org/yt_analysis/yt-3.0
hg up -C yt-3.0
python2.7 setup.py build_ext -i -f

The commands appear to have worked. But when I try to use yt to load in RAMSES data I now get this error:


Traceback (most recent call last): File "/Applications/Code/yt/yt-x86_64/src/yt-hg/yt/gui/reason/basic_repl.py", line 81, in execute exec code in self.locals File "", line 1, in File "/Applications/Code/yt/yt-x86_64/src/yt-hg/yt/convenience.py", line 76, in load if c._is_valid(*args, **kwargs): candidates.append(n) File "/Applications/Code/yt/yt-x86_64/src/yt-hg/yt/frontends/art/data_structures.py", line 427, in _is_valid amr_header_vals = read_attrs(fh, amr_header_struct, '>') File "/Applications/Code/yt/yt-x86_64/src/yt-hg/yt/utilities/fortran_utils.py", line 62, in read_attrs vals = list(struct.unpack(net_format, f.read(size))) error: unpack requires a string argument of length 892


Any idea what I need to do?

Thanks

Kearn
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org<mailto: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<mailto: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/20131030/fa170546/attachment.html>


More information about the yt-users mailing list