Is it possible to open a binary file with rasterio.open?
I've been using rasterio for few days, and now experiencing a situation where I can't find any help.
I read in the doc that when using `rasterio.open(fp,...)` it is possible to pass a binary content as `fp` (doc in the source file -> https://github.com/mapbox/rasterio/blob/c2df12979a5e07f96f108b0be8329e79fe950532/rasterio/__init__.py#L74
So instead of passing a file path or URL, I wanted to pass the content of the jp2 file to rasterio. Here is the full code for reproductability:
But I'm getting an
Any help on how to do so?