<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>body{font-family:Helvetica,Arial;font-size:13px}</style>
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
Hey Desika, Nathan,</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br>
</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
Thanks! That was more painless than I expected :-) </div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br>
</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
Here’s a celebration image:</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<img src="cid:95DEA218-4B08-4334-ACB3-3D3AB7656F01"></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br>
</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
—Molly</div>
<br>
<div id="bloop_sign_1469642899844141056" class="bloop_sign"></div>
<br>
<p class="airmail_on">On July 27, 2016 at 2:00:13 PM, Nathan Goldbaum (<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>) wrote:</p>
<blockquote type="cite" class="clean_bq"><span>
<div>
<div></div>
<div>
<title></title>
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jul 27, 2016 at 12:56 PM, Desika Narayanan <span dir="ltr">
<<a href="mailto:desika.narayanan@gmail.com" target="_blank">desika.narayanan@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">Hey Molly,
<div><br>
</div>
<div>I'm not sure about why the Projection plots work but not the Slice plot, but I can answer at least some of the questions.</div>
<div><br>
</div>
<div>When you have gadget/gizmo snapshot split into multiples (i.e. snapshot_100.0.hdf5, snapshot_100.1.hdf5), you should be able to just load the '0.hdf5' file, and it will load all of the multiples.  </div>
<div><br>
</div>
<div>n_ref tells you the maximum number of particles can be in a cell before the octree stops splitting (so lower number means finer octree splitting).</div>
<div><br>
</div>
<div>over_refine_factor > 0 will refine each cell in the octree one extra time even after the n_ref threshold is met.  Increasing this to 1 or 2 will make much prettier images, at the cost of memory.  </div>
<div><br>
</div>
<div>-desika</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div class="h5">On Wed, Jul 27, 2016 at 12:50 PM, Molly Peeples <span dir="ltr"><<a href="mailto:molly@stsci.edu" target="_blank">molly@stsci.edu</a>></span> wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">
<div style="word-wrap:break-word">
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Hi folks,</div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br>
</div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
I am trying to read in a Gadget output that’s split into 16 hdf5 files (fwiw, it’s an EAGLE output, and so “should” be similar to the OWLS format). I need to be able to analyze / render the entire output, not just one of the pieces, but I haven’t been able
 to figure out how to actually load them (akin to how for Enzo yt figures out that there are a lot of cpu outputs in a directory).</div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br>
</div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
I have taken a look at <a href="http://yt-project.org/doc/cookbook/owls_notebook.html#owls-notebook" target="_blank">http://yt-project.org/doc/cookbook/owls_notebook.html#owls-notebook</a>, but even there in the example, it’s just reading in the one output
 and ignoring the other 7 in the example tarball. And there I was having trouble tracking down what n_ref and over_refine_factor refer to.</div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br>
</div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Interestingly, if I load just the single hdf5s, I can get ProjectionPlots to work but not SlicePlots (which insist there’s “zero dynamic range” with “Min = Max = 0.00000”.)</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Is this a zoom-in simulation? It might be that you're slicing through a region that has no gas particles.</div>
<div><br>
</div>
<div>What happens if you specify the center of the SlicePlot in a region where you know there are gas particles? Something like:</div>
<div><br>
</div>
<div>    v, c = ds.find_max('density')</div>
<div><br>
</div>
<div>    slc = SlicePlot(ds, 2, 'density', center=c)</div>
<div><br>
</div>
<div>    slc.save()</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">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">
<div style="word-wrap:break-word">
<div>FWIW, yt.__version__ gives me 3.3.1. (And major thanks to Nathan for getting
<i>that</i> installation to go smoothly!!)</div>
<div><br>
</div>
<div>Suggestions?</div>
<div><span><font color="#888888">—Molly</font></span></div>
</div>
<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</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>
</div>
_______________________________________________ <br>
yt-users mailing list <br>
yt-users@lists.spacepope.org <br>
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <br>
</div>
</div>
</span></blockquote>
</body>
</html>