title: How to use HDF5 dimension scales in h5py
body: <p>HDF5 has the concept of dimension scales, as explained <a href="https://support.hdfgroup.org/HDF5/Tutor/h5dimscale.html" rel="nofollow noreferrer">on the HDF5</a> and <a href="http://docs.h5py.org/en/latest/high/dims.html" rel="nofollow noreferrer">h5py</a> websites. However, the explanations both use terse or generic examples and so I don't really understand how to use dimension scales. Namely, given a dataset <code>f['coordinates']</code> in some HDF5 file <code>f = h5py.File('data.h5')</code>:</p>
  
  <pre><code>&gt;&gt;&gt; f['coordinates'].value
  array([[ 52.60636111,   4.38963889],
     [ 52.57877778,   4.43422222],
     [ 52.58319444,   4.42811111],
     ..., 
     [ 52.62269444,   4.43130556],
     [ 52.62711111,   4.42519444],
     [ 52.63152778,   4.41905556]])
  </code></pre>
  
  <p>I'd like to make it clear that the first column is the latitude and the second is the longitude. Are dimension scales used for this? Or are they used to indicate that the unit is degrees. Or both?</p>
  
  <p>Perhaps another concrete example can illustrate the use of dimension scales better? If you have one, please share it, even if you are not using h5py.</p>