<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>You can open this file for quick inspection by using visIt. You
can download it here:
<a class="moz-txt-link-freetext" href="https://visit-dav.github.io/visit-website/releases-as-tables/#latest">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 class="moz-txt-link-freetext" href="https://yt-project.org/doc/visualizing/plots.html">https://yt-project.org/doc/visualizing/plots.html</a><br>
</p>
<pre class="moz-signature" 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 class="moz-txt-link-abbreviated" href="http://www.eli-np.ro">www.eli-np.ro</a></pre>
<div class="moz-cite-prefix">On 22/06/2021 8:39 am, Sonali Khanna
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAK80PNDofF7XOj1xOABN9OhBKLTMzVrUXKSWgz2WPPeoz+8-2Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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>
</body>
</html>