Add a function that reads data from the image given lat / lon extents
Open
- Dominant language
- Jupyter Notebook
- Stars
- 12
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Add a function to helpers.py that:
- takes minimum latitude, maximum latitude, minimum longitude, maximum longitude as arguments
- converts these values to image pixel values
- returns the specified section of the image as a NumPy array
Hint: the GDAL.Dataset.GetGeoTransform and GDAL.Dataset.ReadAsArray() functions may be useful.
Contributor guide
Assessment
This issue has not been assessed yet.