Is there a way to update metadata of an existing geotiff file? I'm particularly interested in setting the nodata
value. The following does not appear to work
import rasterio
from pprint import pprint
path = '/path/to/file.tif'
with rasterio.open(path, 'r+') as src:
src.meta['nodata'] = -32767
pprint(src.meta)