You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "<stdin>", line 1, in <module>
File "/venv/lib/python3.8/site-packages/rioxarray/_io.py", line 751, in open_rasterio
riods = manager.acquire()
File "/venv/lib/python3.8/site-packages/xarray/backends/file_manager.py", line 181, in acquire
file, _ = self._acquire_with_cache_info(needs_lock)
File "/venv/lib/python3.8/site-packages/xarray/backends/file_manager.py", line 197, in _acquire_with_cache_info
with self._optional_lock(needs_lock):
File "/opt/conda/lib/python3.8/contextlib.py", line 113, in __enter__
return next(self.gen)
File "/venv/lib/python3.8/site-packages/xarray/backends/file_manager.py", line 161, in _optional_lock
with self._lock:
AttributeError: __enter__
Using
ubuntu 20.04
rioxarray==0.3.1
xarray==0.17.0
The text was updated successfully, but these errors were encountered:
https://corteva.github.io/rioxarray/stable/rioxarray.html#rioxarray-open-rasterio says using
open_rasterio
withlock=True
is valid, but doing so gives an error. This option is also described in https://corteva.github.io/rioxarray/stable/examples/read-locks.html.Output:
Using
ubuntu 20.04
rioxarray==0.3.1
xarray==0.17.0
The text was updated successfully, but these errors were encountered: