title: Error in reading hdf file using h5py package for python
body: <p>I want to extract data from hdf files that I downloaded from <a href="http://modis-atmos.gsfc.nasa.gov/MOD08_M3/acquiring.html" rel="nofollow"> MODIS </a> website. A sample file is provided in the link. I am reading the hdf file by using the following lines of code:</p>
  
  <pre><code>&gt;&gt;&gt; import h5py
  &gt;&gt;&gt; f = h5py.File( 'MYD08_M3.A2002182.051.2008334061251.psgscs_000500751197.hdf', 'r' )
  </code></pre>
  
  <p>The error I am getting:</p>
  
  <pre><code>Traceback (most recent call last):
      File "&lt;pyshell#3&gt;", line 1, in &lt;module&gt;
  f = h5py.File( 'MYD08_M3.A2002182.051.2008334061251.psgscs_000500751197.hdf', 'r' )
      File "C:\Python27\lib\site-packages\h5py\_hl\files.py", line 165, in __init__
  fid = make_fid(name, mode, userblock_size, fapl)
      File "C:\Python27\lib\site-packages\h5py\_hl\files.py", line 57, in make_fid
  fid = h5f.open(name, h5f.ACC_RDONLY, fapl=fapl)
      File "h5f.pyx", line 70, in h5py.h5f.open (h5py\h5f.c:1640)
  IOError: unable to open file (File accessability: Unable to open file)
  </code></pre>
  
  <p>I have tried several other hdf files from different sources but I am getting the same error. What seems to be the fault here? </p>