title: Download and Read HDF5 file from Amazon S3 and Boto3
body: <p>I am quite new here. I will try to be clear.</p>
  
  <p>I have created a hdf5 file with pytables and i have filled it with data.
  Then, i have uploaded my file from the /tmp/ directory of my aws cluster to a S3 bucket using this code:</p>
  
  <ul>
  <li><code>s3_client.upload_file(local_file_key, aws_bucket_name, aws_file_key)</code>   </li>
  </ul>
  
  <p>I have downloaded the same hdf5 file from S3 and store it again in the /tmp/ directory of my aws cluster using this code:</p>
  
  <ul>
  <li><code>s3_client.download_file(aws_bucket_name, aws_file_key, another_local_file_key)</code></li>
  </ul>
  
  <p>Until there, there no issue. The problem appears when i want to read the uploaded file.</p>
  
  <ul>
  <li><code>tables.open_file(another_local_file_key)</code></li>
  </ul>
  
  <p></p>
  
  <pre><code> File "H5F.c", line 604, in H5Fopen
          unable to open file
        File "H5Fint.c", line 1087, in H5F_open
          unable to read superblock
        File "H5Fsuper.c", line 277, in H5F_super_read
          file signature not found
  
      End of HDF5 error back trace
  
      Unable to open/create file '/tmp/from_aws_dataset.hdf5'
  </code></pre>
  
  <p>Then, i have made some verifications in the shell of my cluster.</p>
  
  <pre><code>[user@cluster_ip_address tmp$] file my_dataset.hdf5
  </code></pre>
  
  <p>returns </p>
  
  <pre><code> my_dataset.hdf5: Hierarchical Data Format (version 5) data
  </code></pre>
  
  <p>But <code>[user@cluster_ip_address tmp$] file from_aws_dataset.hdf5</code>  returns </p>
  
  <pre><code> from_aws_dataset.hdf5: data
  </code></pre>
  
  <p>And in my python code, </p>
  
  <p><code>tables.is_pytables_file('/tmp/from_aws_dataset.hdf5')</code>  returns <code>None</code></p>
  
  <pre><code>boto3 version: '1.4.7', python version: 2.7, tables version: '3.4.2', h5py version: '2.7.1'
  </code></pre>
  
  <p>Could someone help me, please?</p>