[yt-users] constructing cic error on load: "YTOutputNotIdentified"

Nathan Goldbaum nathan12343 at gmail.com
Tue Jul 1 12:05:14 PDT 2014


Does the file /bigbang/data/AnnaGroup/caterpillar/parent/gL100X10/outputs/snapdir_000/snap_000
exist?

What happens when you try to load it with GadgetHDF5Dataset instead of the
load function?

The load function uses the _is_valid methods that are defined on each of
the Dataset subclasses to determine the appropriate output type - that's
usually the first place to look for things going wrong with loading
datasets.


On Tue, Jul 1, 2014 at 12:00 PM, Brendan Griffen <
brendan.f.griffen at gmail.com> wrote:

> Hi,
>
> I'm trying to construct the cic mesh for Gadget HDF5 snapshots and I have
> the following:
>
> import yt
>
> from yt.mods import *
>
> unit_base = {'UnitLength_in_cm'         : 3.08568e+21,
>
>              'UnitMass_in_g'            :   1.989e+43,
>
>              'UnitVelocity_in_cm_per_s' :      100000}
>
> pf = load(basepath+ext, unit_base = unit_base, bounding_box = bbox)
>
> Except I get the error:
>
> --> 165             pf = load(basepath+ext, unit_base = unit_base,
> bounding_box = bbox)
>
> /bigbang/data/bgriffen/lib/yt-x86_64/src/yt-hg/yt/convenience.pyc in load(*args,
> **kwargs)
>
>      73         mylog.error("None of the arguments provided to load() is
> a valid file")
>
>      74         mylog.error("Please check that you have used a correct
> path")
>
> ---> 75         raise YTOutputNotIdentified(args, kwargs)
>
>      76     for n, c in output_type_registry.items():
>
>      77         if n is None: continue
>
> YTOutputNotIdentified: Supplied
> ('/bigbang/data/AnnaGroup/caterpillar/parent/gL100X10/outputs/snapdir_000/snap_000',)
> {'bounding_box': array([[   0.        ,  149.00908955],
>
>        [   0.        ,  149.00908955],
>
>        [   0.        ,  149.00908955]]), 'unit_base':
> {'UnitVelocity_in_cm_per_s': 100000, 'UnitLength_in_cm': 3.08568e+21,
> 'UnitMass_in_g': 1.989e+43}}, but could not load!
>
> Thanks.
>
> BG
>
> _______________________________________________
> 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/20140701/cce03456/attachment.html>


More information about the yt-users mailing list