<div dir="ltr">Any chance you can try with 3.3dev?<div><br></div><div>If that fails, any chance you can share the dataset so we can debug?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 13, 2016 at 9:51 AM, David Collins <span dir="ltr"><<a href="mailto:dcollins4096@gmail.com" target="_blank">dcollins4096@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Hi, Everybody!</div><div><br></div><div>I have an odd error, I was wondering if this is pebkac or a yt glitch.  If I try to do a projection, first it complains about 'creation_time' not existing, then on a subsequent call, it complains about 'path_element_z' not existing.  The only difference between this run and other similar Enzo runs that do work is this one has a handful of active particles.  Is there something else I need to do to get those to work?  I'm running yt 3.2.3.</div><div><br></div><div>Thanks!</div><div>d.</div>







<div><br></div><div>>>> ds = yt.load(path)</div><div>>>> proj = yt.ProjectionPlot(ds,ax,field)</div><div>Traceback (most recent call last):<br></div><div><div>  File "<stdin>", line 1, in <module></div><div>  File "p33_harry_plotter.py", line 40, in <module></div><div>    proj = yt.ProjectionPlot(ds,ax,field) #,weight_field=weight_fields.get(field,None),method=methods.get(field,'integrate'))</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/visualization/plot_window.py", line 1437, in __init__</div><div>    field_parameters = field_parameters, method = method)</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/construction_data_containers.py", line 255, in __init__</div><div>    field = self._determine_fields(ensure_list(field))</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/data_containers.py", line 518, in _determine_fields</div><div>    finfo = self.ds._get_field_info("unknown", fname)</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/static_output.py", line 505, in _get_field_info</div><div>    self.index</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/static_output.py", line 326, in index</div><div>    self.create_field_info()</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/static_output.py", line 377, in create_field_info</div><div>    self.add_particle_union(pu)</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/static_output.py", line 435, in add_particle_union</div><div>    funits = self._get_field_info(s, field).units</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/static_output.py", line 543, in _get_field_info</div><div>    raise YTFieldNotFound((ftype, fname), self)</div><div>yt.utilities.exceptions.YTFieldNotFound: Could not find field '('io', 'creation_time')' in DD0010.</div></div><div><br></div><div><div>>>> proj = yt.ProjectionPlot(ds,ax,field)</div></div><div><br></div><div>Traceback (most recent call last):</div><div>  File "<stdin>", line 1, in <module></div><div>  File "p33_harry_plotter.py", line 40, in <module></div><div>    proj = yt.ProjectionPlot(ds,ax,field) #,weight_field=weight_fields.get(field,None),method=methods.get(field,'integrate'))</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/visualization/plot_window.py", line 1437, in __init__</div><div>    field_parameters = field_parameters, method = method)</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/construction_data_containers.py", line 258, in __init__</div><div>    self.get_data(field)</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/construction_data_containers.py", line 332, in get_data</div><div>    self._handle_chunk(chunk, fields, tree)</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/construction_data_containers.py", line 424, in _handle_chunk</div><div>    dl = chunk["index", "path_element_%s" % (ax_name)]</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/data_containers.py", line 253, in __getitem__</div><div>    self.get_data(f)</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/data_objects/data_containers.py", line 702, in get_data</div><div>    fluids, self, self._current_chunk)</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/geometry/geometry_handler.py", line 239, in _read_fluid_fields</div><div>    fields_to_read, fields_to_generate = self._split_fields(fields)</div><div>  File "/u/sciteam/dcollins/local-yt-2016-04-12-nathan/src/yt-conda/lib/python2.7/site-packages/yt/geometry/geometry_handler.py", line 220, in _split_fields</div><div>    raise YTFieldNotFound((ftype,fname), self.ds)</div><div>yt.utilities.exceptions.YTFieldNotFound: Could not find field '('index', 'path_element_z')' in DD0010.</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">-- Sent from a computer.<br></div></div>
</font></span></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>