Как читать данные netcdf с сервера minio s3 с помощью xarray?Python

Программы на Python
Anonymous
Как читать данные netcdf с сервера minio s3 с помощью xarray?

Сообщение Anonymous »


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»