Closed basaks closed 4 years ago
Best place to do this is probably where the output rasters are initialised in the ImageWriter
class.
Actually rasterio has a functionality update_tag, which can do the job quite well it seems.
https://rasterio.readthedocs.io/en/stable/topics/tags.html#writing-tags
Fei has written code that writes metadata to a text file. If it's desired to be embedded in the geotiffs this can be done later.
Attach the following meta data to the model prediction -