[yt-users] Loading RAMSES Data into yt.

k.grisdale at surrey.ac.uk k.grisdale at surrey.ac.uk
Wed Oct 30 09:39:25 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131030/23e31297/attachment.htm>


More information about the yt-users mailing list