Как читать данные netcdf с сервера minio s3 с помощью xarray? ⇐ Python
Как читать данные netcdf с сервера minio s3 с помощью xarray?
This is my code:
storage_option = {'endpoint_url': 'url', 'key'='', 'secret'=''} data_obj: xr.Dataset = xr.open_dataset(obj, chunks='auto', backend_kwargs={'remote_protocol':'s3', 'remote_options':storage_option}) And it crashed with: TypeError: NetCDF4BackendEntrypoint.open_dataset() got an unexpected keyword argument 'remote_protocol'
My version of xarray is 2024.2.0.
So what's the correct method to read data from minio server?
Источник: https://stackoverflow.com/questions/780 ... -by-xarray
This is my code:
storage_option = {'endpoint_url': 'url', 'key'='', 'secret'=''} data_obj: xr.Dataset = xr.open_dataset(obj, chunks='auto', backend_kwargs={'remote_protocol':'s3', 'remote_options':storage_option}) And it crashed with: TypeError: NetCDF4BackendEntrypoint.open_dataset() got an unexpected keyword argument 'remote_protocol'
My version of xarray is 2024.2.0.
So what's the correct method to read data from minio server?
Источник: https://stackoverflow.com/questions/780 ... -by-xarray
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Python извлекает несколько широт и долгот из файлов NETCDF с помощью xarray
Anonymous » » в форуме Python - 0 Ответы
- 25 Просмотры
-
Последнее сообщение Anonymous
-