I see quite often in Python GDAL code that people close datasets at the end of their script. Why does it makes sense to close a dataset in Python GDAL? Are there any consequences if I don't do it?
import gdal # open dataset ds = gdal.Open('test.tif') # close dataset ds = None