<div dir="ltr"><div><div><div>Hi John,<br><br></div>Thanks. Below is the error along with the call back. I'm using SlicePlot function here. <br><br>s = yt.SlicePlot(ds, "z", ["density","temperature", "velocity_magnitude","pressure"], center="max")<br><br></div>It gives me grid informations but, perhaps treats it as cartesian. The angles are in radians. <br>I have provided link to a small FLASH file where data is trivial -- <a href="https://www.dropbox.com/s/4e01kp3fsd6e3fh/super3d_hdf5_chk_0000?dl=0">https://www.dropbox.com/s/4e01kp3fsd6e3fh/super3d_hdf5_chk_0000?dl=0</a><br><br></div><div>Appreciated,<br></div>-Rahul <br><div><div><br><pre><span class="gmail-m_1158771848956569332gmail-ansired">------------------------------<wbr>------------------------------<wbr>---------------</span>
<span class="gmail-m_1158771848956569332gmail-ansired">YTDataTypeUnsupported</span> Traceback (most recent call last)
<span class="gmail-m_1158771848956569332gmail-ansigreen"><ipython-input-9-5ab982893667></span> in <span class="gmail-m_1158771848956569332gmail-ansicyan"><module><span class="gmail-m_1158771848956569332gmail-ansiblue">()</span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 102</span> <span class="gmail-m_1158771848956569332gmail-ansired"># weight_field = ("CellMass")).save()</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 103</span> <span class="gmail-m_1158771848956569332gmail-ansired">#s.show()</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen">--> 104<span class="gmail-m_1158771848956569332gmail-ansired"> </span>s<span class="gmail-m_1158771848956569332gmail-ansiblue">.</span>save<span class="gmail-m_1158771848956569332gmail-ansiblue">(</span><span class="gmail-m_1158771848956569332gmail-ansiblue">'temp_data/'</span><span class="gmail-m_1158771848956569332gmail-ansiblue">)</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 105</span> <span class="gmail-m_1158771848956569332gmail-ansired">#"""</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 106</span> <span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen">/home/rkashyap/sw/miniconda2/<wbr>lib/python2.7/site-packages/<wbr>yt/visualization/plot_<wbr>container.pyc</span> in <span class="gmail-m_1158771848956569332gmail-ansicyan">newfunc<span class="gmail-m_1158771848956569332gmail-ansiblue">(*args, **kwargs)</span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 76</span> <span class="gmail-m_1158771848956569332gmail-ansired"># it is the responsibility of _setup_plots to</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 77</span> <span class="gmail-m_1158771848956569332gmail-ansired"># call args[0].run_callbacks()</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen">---> 78<span class="gmail-m_1158771848956569332gmail-ansired"> </span>args<span class="gmail-m_1158771848956569332gmail-ansiblue">[</span><span class="gmail-m_1158771848956569332gmail-ansicyan">0</span><span class="gmail-m_1158771848956569332gmail-ansiblue">]</span><span class="gmail-m_1158771848956569332gmail-ansiblue">.</span>_setup_plots<span class="gmail-m_1158771848956569332gmail-ansiblue">(</span><span class="gmail-m_1158771848956569332gmail-ansiblue">)</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 79</span> rv <span class="gmail-m_1158771848956569332gmail-ansiblue">=</span> f<span class="gmail-m_1158771848956569332gmail-ansiblue">(</span><span class="gmail-m_1158771848956569332gmail-ansiblue">*</span>args<span class="gmail-m_1158771848956569332gmail-ansiblue">,</span> <span class="gmail-m_1158771848956569332gmail-ansiblue">**</span>kwargs<span class="gmail-m_1158771848956569332gmail-ansiblue">)</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 80</span> <span class="gmail-m_1158771848956569332gmail-ansigreen">return</span> rv<span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen">/home/rkashyap/sw/miniconda2/<wbr>lib/python2.7/site-packages/<wbr>yt/visualization/plot_window.<wbr>pyc</span> in <span class="gmail-m_1158771848956569332gmail-ansicyan">_setup_plots<span class="gmail-m_1158771848956569332gmail-ansiblue">(self)</span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 954</span> <span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 955</span> self<span class="gmail-m_1158771848956569332gmail-ansiblue">.</span>_set_font_properties<span class="gmail-m_1158771848956569332gmail-ansiblue">(</span><span class="gmail-m_1158771848956569332gmail-ansiblue">)</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen">--> 956<span class="gmail-m_1158771848956569332gmail-ansired"> </span>self<span class="gmail-m_1158771848956569332gmail-ansiblue">.</span>run_callbacks<span class="gmail-m_1158771848956569332gmail-ansiblue">(</span><span class="gmail-m_1158771848956569332gmail-ansiblue">)</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 957</span> self<span class="gmail-m_1158771848956569332gmail-ansiblue">.</span>_plot_valid <span class="gmail-m_1158771848956569332gmail-ansiblue">=</span> True<span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 958</span> <span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen">/home/rkashyap/sw/miniconda2/<wbr>lib/python2.7/site-packages/<wbr>yt/visualization/plot_window.<wbr>pyc</span> in <span class="gmail-m_1158771848956569332gmail-ansicyan">run_callbacks<span class="gmail-m_1158771848956569332gmail-ansiblue">(self)</span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 1007</span> callback<span class="gmail-m_1158771848956569332gmail-ansiblue">(</span>cbw<span class="gmail-m_1158771848956569332gmail-ansiblue">)</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 1008</span> <span class="gmail-m_1158771848956569332gmail-ansigreen">except</span> YTDataTypeUnsupported <span class="gmail-m_1158771848956569332gmail-ansigreen">as</span> e<span class="gmail-m_1158771848956569332gmail-ansiblue">:</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen">-> 1009<span class="gmail-m_1158771848956569332gmail-ansired"> </span>six<span class="gmail-m_1158771848956569332gmail-ansiblue">.</span>reraise<span class="gmail-m_1158771848956569332gmail-ansiblue">(</span>YTDataTypeUnsuppor<wbr>ted<span class="gmail-m_1158771848956569332gmail-ansiblue">,</span> e<span class="gmail-m_1158771848956569332gmail-ansiblue">)</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 1010</span> <span class="gmail-m_1158771848956569332gmail-ansigreen">except</span> Exception <span class="gmail-m_1158771848956569332gmail-ansigreen">as</span> e<span class="gmail-m_1158771848956569332gmail-ansiblue">:</span><span class="gmail-m_1158771848956569332gmail-ansiblue"></span>
<span class="gmail-m_1158771848956569332gmail-ansigreen"> 1011</span> six.reraise(<wbr>YTPlotCallbackError,
<span class="gmail-m_1158771848956569332gmail-ansigreen">/home/rkashyap/sw/miniconda2/<wbr>lib/python2.7/site-packages/<wbr>six.pyc</span> in <span class="gmail-m_1158771848956569332gmail-ansicyan">reraise<span class="gmail-m_1158771848956569332gmail-ansiblue">(tp, value, tb)</span>
<span class="gmail-m_1158771848956569332gmail-ansired">YTDataTypeUnsupported</span>: This operation is not supported for data of geometry cylindrical; It supports data of geometries ('cartesian', 'spectral_cube')</span></span></span></span></span></span></span></span></span></pre><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 28, 2017 at 6:18 PM, John ZuHone <span dir="ltr"><<a href="mailto:jzuhone@gmail.com" target="_blank">jzuhone@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="auto"><div>Hi Rahul,</div><div id="m_8852919704698477912AppleMailSignature"><br></div><div id="m_8852919704698477912AppleMailSignature">Could you detail exactly what the issue with yt was? We'd like to help out.</div><div id="m_8852919704698477912AppleMailSignature"><br></div><div id="m_8852919704698477912AppleMailSignature">John </div><div id="m_8852919704698477912AppleMailSignature"><br>Sent from my iPhone</div><div><div class="h5"><div><br>On Jan 28, 2017, at 3:12 PM, Rahul Kashyap <<a href="mailto:rkashyap@umassd.edu" target="_blank">rkashyap@umassd.edu</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div><div>Dear FLASH users,<br><br></div>Has anyone come up with visualizing 3D cylindrical data set by FLASH? <br><br>I tried VisIt by transforming coordinate from cylindrical to cartesian. This sets up the grid with z-coordinate from 0 to 6.28 i.e. 2*pi i.e. does not consider it as angle. <br></div>It might be that it's due to the order of coordinates used by visit which is <span><span style="font-style:italic">r,θ,z</span></span> as opposed to <span><span style="font-style:italic">r,z,θ</span></span> in FLASH. <br>yt has also not worked. <br><br></div><div>Any help is highly appreciated.<br></div><div><br></div><div>Thanks,<br></div>-Rahul<br></div>
</div></blockquote></div></div></div></blockquote></div><br></div>