Я хочу открыть файл .e00 под названием Bathymetry (глубина в метрах) (можно загрузить здесь) в геопандах. Согласно этому сообщению использование rasterio должно работать. Я пробовал, но получаю следующее:
---------------------------------------------------------------------------
CPLE_OpenFailedError Traceback (most recent call last)
rasterio/_base.pyx in rasterio._base.DatasetBase.__init__()
rasterio/_shim.pyx in rasterio._shim.open_dataset()
rasterio/_err.pyx in rasterio._err.exc_wrap_pointer()
CPLE_OpenFailedError: 'drive/My Drive/bathygridm.e00' not recognized as a supported file format.
During handling of the above exception, another exception occurred:
RasterioIOError Traceback (most recent call last)
<ipython-input-39-fedf177f66d2> in <module>()
----> 1 raster = rasterio.open("drive/My Drive/bathygridm.e00")
1 frames
/usr/local/lib/python3.7/dist-packages/rasterio/__init__.py in open(fp, mode, driver, width, height, count, crs, transform, dtype, nodata, sharing, **kwargs)
218 # None.
219 if mode == 'r':
--> 220 s = DatasetReader(path, driver=driver, sharing=sharing, **kwargs)
221 elif mode == "r+":
222 s = get_writer_for_path(path, driver=driver)(
rasterio/_base.pyx in rasterio._base.DatasetBase.__init__()
RasterioIOError: 'drive/My Drive/bathygridm.e00' not recognized as a supported file format.
Еще одна моя проблема заключается в том, что когда я пытался открыть файл в QGIS, он оказался без ссылки. Я хотел бы установить размер изображения следующим образом и построить его в matplotlib:
Bounding_Coordinates:
West_Bounding_Coordinate: -71,9002
East_Bounding_Coordinate: -71.0950
North_Bounding_Coordinate: 41,8738
Юг_Граница_Координата: 41.1154
Любая помощь будет приветствоваться!