[yt-users] Multiple output type

REMUDIN RESHID MEKURIA remudin at yahoo.com
Tue Aug 7 16:33:17 PDT 2012


Hi Nathan,

Yes, it worked now. Thanks! 

Cheers,

Remudin
On 2012 Hag 7, at 20:33, Nathan Goldbaum wrote:

> Hi Remudin,
> 
> If you update yt once again, you should now be able to use the load function to load your data.
> 
> Cheers,
> 
> Nathan
> 
> On Aug 5, 2012, at 6:05 PM, REMUDIN RESHID MEKURIA wrote:
> 
>> Dear Nathan,
>> 
>> Thank you very much.  pf = NyxStaticOutput("plt00200/") fixed the problem.
>> 
>> Cheers,
>> 
>> Remudin
>> On 2012 Hag 6, at 02:50, Nathan Goldbaum wrote:
>> 
>>> Hi Remudin,
>>> 
>>> It looks like the load function detects that your data is both a Nyx and a Maestro output file.  Clearly that's incorrect.
>>> 
>>> If you're dealing with a Nyx output file, you should be able to load it by saying:
>>> 
>>> pf = NyxStaticOutput("plt00200/")
>>> 
>>> similarly for a Maestro output file:
>>> 
>>> pf = MaestroStaticOutput("plt002000/")
>>> 
>>> We will fix the load function soon - I don't want to fix it right now without consulting the people who maintain the Maestro and Nyx frontends.
>>> 
>>> Cheers,
>>> 
>>> Nathan
>>> 
>>> On 8/5/12 3:30 PM, REMUDIN RESHID MEKURIA wrote:
>>>> 
>>>> Dear all,
>>>> 
>>>> Thank you in advance for your help. Having re-installed successfully the new version of yt, I tried to produce a simple slice with the new script:
>>>> 
>>>> from yt.mods import *
>>>> # Load the dataset.
>>>> pf=load("plt00200")
>>>> # Create density slices in all three axes.
>>>> SlicePlot(pf, 'x', "Temp", width = (64000.0, 'kpc')).save()
>>>> 
>>>> 
>>>> 
>>>> However, I keep on getting the following error, what am I doing wrong?
>>>> 
>>>> with best regards,
>>>> 
>>>> Remudin
>>>> 
>>>> 
>>>> (yt-i386)REMUDIN-RESHID-MEKURIAs-MacBook-Pro:~ remudinreshidmekuria$ python check.py
>>>> yt : [ERROR    ] 2012-08-06 00:10:20,337 Multiple output type candidates for plt00200:
>>>> yt : [ERROR    ] 2012-08-06 00:10:20,337     Possible: NyxStaticOutput
>>>> yt : [ERROR    ] 2012-08-06 00:10:20,337     Possible: MaestroStaticOutput
>>>> Traceback (most recent call last):
>>>>  File "check.py", line 5, in <module>
>>>>    pf=load("plt00200")
>>>>  File "/Users/remudinreshidmekuria/yt-i386/src/yt-hg/yt/convenience.py", line 87, in load
>>>>    raise YTOutputNotIdentified(args, kwargs)
>>>> yt.utilities.exceptions.YTOutputNotIdentified: Supplied ('plt00200',) {}, but could not load!
>>>> 
>>>> ------
>>>> 
>>>> Remudin Reshid Mekuria                              phone: +49 (0)551 39-13805
>>>> 
>>>> IAG, Friedrich-Hund-Plaz 1                           fax: +49 (0)551 39-5043
>>>> 
>>>> D-37077 Goettingen
>>>> 
>>>> Germany
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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
>> 
>> ------
>> Remudin Reshid Mekuria                              phone: +49 (0)551 39-13805
>> IAG, Friedrich-Hund-Plaz 1                           fax: +49 (0)551 39-5043
>> D-37077 Goettingen
>> Germany
>> 
>> 
>> 
>> _______________________________________________
>> 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

------
Remudin Reshid Mekuria                              phone: +49 (0)551 39-13805
IAG, Friedrich-Hund-Plaz 1                           fax: +49 (0)551 39-5043
D-37077 Goettingen
Germany



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120808/91ee3c24/attachment.html>


More information about the yt-users mailing list