DOC: Access metadata through python API
I've seen in #1514 that the task
Attach metadata to numpy array interface: the numpy array interface to application is useless in many cases because it only allows to pass the pixel buffer, and no metadata. Many OTB filters need additional metadata (such as origin, spacing, size, projection and geom file) to be able to process the data.
has been checked. Yet I haven't found anywhere in the documentation how this can be done.
Note: ultimately my need is
- to be able to read an image and its metadata with some Python functions (I have a scenario where they are both stored in a NetCDF file),
- run a few OTB applications,
- check the metadata
- run a few python transformations
- reinject the result (image+metadata) in other OTB applications.
- and so on