cjtu / cjtu/plutopy

Add a function that reads data from the image given lat / lon extents

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.