gdal - How can I extract contours from a raster with Python