get_dim_img_path#
- get_dim_img_path(dim_path: str | CloudPath | Path, img_name: str = '*') list[source]#
Get the image path from a
BEAM-DIMAPdata.A
BEAM-DIMAPfile cannot be opened by rasterio, although its.imgfile can.>>> dim_path = "path/to/dimap.dim" # BEAM-DIMAP image >>> img_path = get_dim_img_path(dim_path) >>> # Read raster >>> raster, meta = read(img_path)