<div dir="ltr">Thanks for the response everyone and thanks for the detailed response Ken. It made things a bit more clearer. <div><br></div><div style>But still I dont understand that once I create a Hdf5 data, and even I create a XDMF file, how can I be sure which reader to use for the data? So every time I switch to a new data, chances are I might have to try out all the readers one by one, till one of them plots it fine?</div>

<div style>Is there something I am missing?</div><div style><br></div><div style>Thanks,</div><div style>Pradeep</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/21 Moreland, Kenneth <span dir="ltr">&lt;<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Perhaps I&#39;ll elaborate on John&#39;s response a little bit.<br>
<br>
As John alluded to, Hdf5 is not really a file format in that it does not<br>
specify any semantic meaning to the data.  Hdf5 is just a storage<br>
mechanism for arrays of data.  It is self describing in that it provides<br>
enough metadata to determine the basic data type, dimensions, name,<br>
attributes, and hierarchical namespace, but this is not enough for any<br>
reader to reliably build mesh structures from.  For example, say there is<br>
an array stored in an Hdf5 file called &quot;pts&quot;.  Is this a list of point<br>
indices?  Is this a collection of point coordinates that form a<br>
curvilinear grid?  A list of point coordinates around triangles?  A bag of<br>
point coordinates that will be indexed by some other array?  Maybe pts<br>
doesn&#39;t mean points at all.<br>
<br>
The relevance of this discussion is that simply providing the Hdf5 is not<br>
sufficient to present data.  The data has to follow some convention (or<br>
have that convention otherwise specified).<br>
<br>
But not to worry.  This question of reading Hdf5 files comes up a lot on<br>
the ParaView mailing list and there exists a general solution: XDMF.  XDMF<br>
is a simple XML descriptor file that you place next to your h5 file.  The<br>
XDMF file describes what is called the schema for the data in the Hdf5<br>
file: That is, it defines the structure of the data.<br>
<br>
XDMF files can be created through the XDMF library or you can create the<br>
XML file to describe an existing h5 file by hand.  Based on the fact that<br>
the generic NetCDF reader works (a coincidence whose technical details I<br>
won&#39;t go into), I expect the describing XDMF file to be small and easy to<br>
write.  See the XDMF documentation at <a href="http://www.xdmf.org" target="_blank">www.xdmf.org</a> for more details.<br>
<br>
-Ken<br>
<div><div class="h5"><br>
<br>
<br>
On 12/20/12 2:30 AM, &quot;Biddiscombe, John A.&quot; &lt;<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>&gt; wrote:<br>
<br>
&gt;Hdf5 is very flexible so one reader cannot cope with all possibilities.<br>
&gt;You need to know which hdf5 reader you need and target that format<br>
&gt;<br>
&gt;Sent from my Phone<br>
&gt;________________________________<br>
&gt;From: Pradeep Jha<br>
&gt;Sent: 20/12/2012 08:33<br>
&gt;To: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
&gt;Subject: [Paraview] HDF5 and Paraview<br>
&gt;<br>
&gt;Hello,<br>
&gt;<br>
&gt;I dont understand something. In all of Paraview manuals it says that it<br>
&gt;is compatible with HDF5 file format. I am using Paraview 3.98.<br>
&gt;I wrote a data file using HDF for fortran and generated a file<br>
&gt;(filename.h5). But when I am tried to open it, &quot;*.h5&quot; was not in the list<br>
&gt;of supported<br>
&gt;file formats.<br>
&gt;<br>
&gt;Paraview gives me the message &quot;A reader for filename.h5 could not be<br>
&gt;found. Please choose one: &lt;followed by a long list of readers&gt;&quot;.<br>
&gt;Even in that long list there are no HDF5 readers, so I just started<br>
&gt;trying everything and finally succeeded with &quot;NetCDF files generic and<br>
&gt;CF conventions&quot; (I don&#39;t even know what it is).<br>
&gt;<br>
&gt;But it is not reassuring. I don&#39;t know if this will work for any other<br>
&gt;data set. Am I missing something here?<br>
&gt;<br>
&gt;Thanks<br>
&gt;Pradeep<br>
&gt;_______________________________________________<br>
&gt;Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>&lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<br>
&gt;<br>
&gt;Visit other Kitware open-source projects at<br>
&gt;<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt;Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;<a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt;Follow this link to subscribe/unsubscribe:<br>
&gt;<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div>&gt;_______________________________________________<br>
&gt;Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;Visit other Kitware open-source projects at<br>
&gt;<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt;Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;<a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt;Follow this link to subscribe/unsubscribe:<br>
&gt;<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br></div>