[yt-users] Loading RAMSES Data into yt.
k.grisdale at surrey.ac.uk
k.grisdale at surrey.ac.uk
Wed Oct 30 10:16:01 PDT 2013
Hi Romain and Matt.
I have downloaded RAMSES from the link and will be carrying out a run soon. Hopefully this will work!
thanks
Kearn
On 30 Oct 2013, at 17:02, Matthew Turk <matthewturk at gmail.com> wrote:
> Hi Kearn,
>
> I think Romain's suggestion is likely going to fix the issue, but I
> also just pushed a change that will show the error differently and in
> a more informative way. ("hg pull
> http://bitbucket.org/yt_analysis/yt-3.0 && hg up" in your yt-hg
> directory will fix it.)
>
> -Matt
>
> On Wed, Oct 30, 2013 at 12:39 PM, <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
>> 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