<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 5, 2015 at 11:10 AM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@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 class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, May 5, 2015 at 10:53 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi, Nathan--<div><br></div><div>I do, what's the easiest way to share a dataset?</div><span><font color="#888888"><div>d.</div></font></span></div></blockquote><div><br></div></span><div>Let's use the curldrop the matt and kacper have set up at NCSA.</div><div><br></div><div>Use the following command:</div><div><br></div><div>curl -T file <a href="https://labs.nationaldataservice.org/upload/" target="_blank">https://labs.nationaldataservice.org/upload/</a><br></div><div><br></div></div></div></div></blockquote><div><br></div><div>Kacper informed me off-list at this should be http, not https. Sorry for the confusion!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>where file is the path to a tarball containing your test dataset.  It should spit out a download link once it's done uploading, which you can reply with here.</div><div><div class="h5"><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 5, 2015 at 1:49 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Dave,<div><br></div><div>The pressure field is probably coming from the definition in yt/fields/fluid_fields.py.  If it doesn't show up for your dataset, it's likely failing field detection.</div><div><br></div><div>I'm not sure whether we have a test dataset on <a href="http://yt-project.org/data" target="_blank">yt-project.org/data</a> that uses HydroMethod 4 or 6.  Do you happen to have a small one I could play with?</div><span><font color="#888888"><div><br></div><div>-Nathan</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 5, 2015 at 10:40 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi, Matt--<div><br></div><div>Thanks for your input.  In frontends/enzo/feilds.py, I see where the thermal_energy is computed based on HydroMethod=4,6, but there's no pressure field.  Which in principle is fine, since the computation in yt/fields/fluid_fields.py (in setup_fluid_fields) is fine.  Does that instance not get called?</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 5, 2015 at 12:26 PM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Dave,<br>
<br>
You can see all the logic inside yt/frontends/enzo/fields.py --<br>
probably not too hard to add a new one, and then PR it!<br>
<br>
-Matt<br>
<div><div><br>
On Tue, May 5, 2015 at 11:02 AM, David Collins <<a href="mailto:dcollins4096@gmail.com" target="_blank">dcollins4096@gmail.com</a>> wrote:<br>
> Hi, Everybody!<br>
><br>
> I'm having a little trouble with getting pressure when using HydroMethod=6.<br>
> For instance,<br>
>>>> ds0.all_data()['pressure']<br>
><br>
> Traceback (most recent call last):<br>
>   File "<stdin>", line 1, in <module><br>
>   File<br>
> "/Users/dcollins/local-2014-09-24-yt3/src/yt-hg/yt/data_objects/data_containers.py",<br>
> line 233, in __getitem__<br>
>     f = self._determine_fields([key])[0]<br>
>   File<br>
> "/Users/dcollins/local-2014-09-24-yt3/src/yt-hg/yt/data_objects/data_containers.py",<br>
> line 489, in _determine_fields<br>
>     finfo = self.ds._get_field_info("unknown", fname)<br>
>   File<br>
> "/Users/dcollins/local-2014-09-24-yt3/src/yt-hg/yt/data_objects/static_output.py",<br>
> line 482, in _get_field_info<br>
>     raise YTFieldNotFound((ftype, fname), self)<br>
> yt.utilities.exceptions.YTFieldNotFound: Could not find field '('all',<br>
> 'pressure')' in data0000.<br>
><br>
><br>
><br>
> while this works for a run with HydroMethod = 0.<br>
> Could someone give me the nickel tour of hydro method impacts setting of<br>
> variables, and where I should look to make sure pressure is defined?<br>
><br>
> Thanks!<br>
> d.<br>
><br>
> --<br>
> -- Sent from a computer.<br>
><br>
</div></div>> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">-- Sent from a computer.<br></div></div>
</div>
</div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">-- Sent from a computer.<br></div></div>
</div>
</div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>