<div dir="auto">Thank you so much everyone!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 25 Jun 2021, 18:22 Ryan Farber, <<a href="mailto:rjfarber@umich.edu">rjfarber@umich.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>You can also use the python package "yt" to open hdf5 files in general:</div><div><a href="https://yt-project.org/" target="_blank" rel="noreferrer">https://yt-project.org/</a></div><div><br></div><div>Best,<br></div><div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">--------<div>Ryan</div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 25, 2021 at 4:47 AM Jiří Löffelmann <<a href="mailto:loffejir@fjfi.cvut.cz" target="_blank" rel="noreferrer">loffejir@fjfi.cvut.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>I found out, that the script extract_rays.py is just outdated. The table lib changed the naming convention of its functions.</div><div>I attach corrected extract_rays.py, which work for me. </div><div><br></div><div>Regards</div><div>Jiří Löffelmann</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">út 22. 6. 2021 v 8:06 odesílatel Ong Jian Fuh <<a href="mailto:jianfuh.ong@eli-np.ro" target="_blank" rel="noreferrer">jianfuh.ong@eli-np.ro</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi,</p>
<p>You can open this file for quick inspection by using visIt. You
can download it here:
<a href="https://visit-dav.github.io/visit-website/releases-as-tables/#latest" target="_blank" rel="noreferrer">https://visit-dav.github.io/visit-website/releases-as-tables/#latest</a>
<br>
</p>
<p>The script extract_rays.py is to extract the laser ray only. You
still need visit to find other output like density. You can also
use python to extract the data. Other possibility is to use yt:
<a href="https://yt-project.org/doc/visualizing/plots.html" target="_blank" rel="noreferrer">https://yt-project.org/doc/visualizing/plots.html</a><br>
</p>
<pre cols="72">Regards,
Dr. Ong Jian Fuh
Extreme Light Infrastructure - Nuclear Physics
"Horia Hulubei" National Institute for Physics and Nuclear Engineering
30 Reactorului Street, 077125 Magurele (Ilfov), Romania
<a href="http://www.eli-np.ro" target="_blank" rel="noreferrer">www.eli-np.ro</a></pre>
<div>On 22/06/2021 8:39 am, Sonali Khanna
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Dear all,</div>
<div><br>
</div>
<div>I am able to run the example problem of the Laser slab. </div>
<div><br>
</div>
./setup -auto LaserSlab -2d +cylindrical -nxb=16 -nyb=16
+hdf5typeio \species=cham,targ +mtmmmt +laser +uhd3t +mgd
mgd_meshgroups=6 \-parfile=example.par <br>
<div><br>
</div>
<div>After that, I am trying to open the output
"lasslab_hdf5_plt_cnt_0000" using the code extract_rays.py,
but this showing error. </div>
<div><br>
</div>
<div>Traceback (most recent call last):<br>
File "extract_rays.py", line 156, in <module><br>
write_vtk(fn)<br>
File "extract_rays.py", line 20, in write_vtk<br>
h5file = tables.openFile(filename, "r")<br>
AttributeError: module 'tables' has no attribute 'openFile'. <br>
</div>
<div><br>
</div>
<div><b>Is there any way of extracting data from the hdf5
(output) file in general? Any help in this is much
appreciated. </b></div>
<div><b><br>
</b></div>
<div>Thanks and regards</div>
<div>Sonali</div>
</div>
</blockquote>
</div>
</blockquote></div>
</blockquote></div>
</blockquote></div>