title: How to create a grid of pixel coordinates from the corners of a MODIS tile?
body: <p>I have an HDF4 file whose StructMetadata.0 contains the following attributes:</p>
  
  <pre><code>UpperLeftPointMtrs = (-20015109.354000,1111950.519667)
  LowerRightMtrs     = (-18903158.834333,0.000000)
  </code></pre>
  
  <p>These are X and Y distances in meters of the MODIS Tile for L3 Gridded product (Sinusoidal Projection). I want to extract/create the coordinates of all the pixels (240 x 240) in this tile given the pixel resolution is 5km. How can I achieve this in Python?</p>