Read the array of (y, x) elevation data from the given named file-handle.


fh – A named file-like as passed through to The filename is used to determine the extent of the resulting array.


  • elevation – The elevation values from the SRTM file. Data is flipped vertically such that the higher the y-index, the further north the data. Data shape is automatically determined by the size of data read from file, and is either (1201, 1201) for 3 arc-second data or (3601, 3601) for 1 arc-second data.

  • crs ( – The coordinate reference system of the extents.

  • extents (4-tuple (x0, x1, y0, y1)) – The boundaries of the returned elevation array.