Replies: 1 comment
-
from rasterio.io import MemoryFile
with MemoryFile() as memfile:
dataarray.rio.to_raster(memfile.name)
with memfile.open() as src_ds:
.... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a method or convenient way for extracting (or creating) a
gdal.Dataset
or rasterio dataset? For example, something to accomplish the following:Beta Was this translation helpful? Give feedback.
All reactions