[yt-users] Exodus file Couldn't figure out output type

Nathan Goldbaum nathan12343 at gmail.com
Wed Nov 22 11:45:02 PST 2017


For some reason yt thinks your dataset isn't an Exodus II output file.
yt.load uses the following function to determine if a given output file is
a valid Exodus II output:

https://github.com/yt-project/yt/blob/master/yt/frontends/exodus_ii/data_structures.py#L390

Since yt.load is failing with YTOutputNotIdentified, that means the
_is_valid function for the Exodus II frontend is returning False.

I can't say more about why this happening without knowing more details
about the data you're trying to load.

-Nathan

On Tue, Nov 21, 2017 at 2:35 PM, Jaron Senecal <senecj at rpi.edu> wrote:

> Hi,
> I just installed yt and immediately ran into the following problem. The
> following script
>
> #viz1.py
> import yt
> from yt.mods import *
> ds = yt.load("stnd_2d_out.e", step=-1)
>
> gives this error:
>
> yt : [ERROR    ] 2017-11-21 09:34:33,950 Couldn't figure out output type
> for stnd_2d_out.e
> Traceback (most recent call last):
>   File "viz1.py", line 27, in <module>
>     ds = yt.load("stnd_2d_out.e", step=-1)
>   File "/home/jaron/.conda/envs/py36/lib/python3.6/site-packages/yt/convenience.py",
> line 98, in load
>     raise YTOutputNotIdentified(args, kwargs)
> yt.utilities.exceptions.YTOutputNotIdentified: Supplied
> ('stnd_2d_out.e',) {'step': -1}, but could not load!
>
> Please let me know how to resolve this.
> -Jaron
>
> _______________________________________________
> yt-users mailing list
> 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/20171122/de8aee89/attachment-0002.html>


More information about the yt-users mailing list