ValueError: unrecognized engine radolan must be one of: ['netcdf4', 'h5netcdf', 'scipy', 'rasterio', 'store']

Hi, I am trying to open radolan data using wradlib using xarray backend.
I’ve tried as follows:
ds = xr.open_mfdataset(rw_filename, engine=“radolan”) and
ds = wrl.io.open_radolan_dataset(rw_filename)
But both didn’t work and I kept getting the following errors:


→ 120 raise ValueError(
121 f"unrecognized engine {engine} must be one of: {list(engines)}"
122 )

ValueError: unrecognized engine radolan must be one of: [‘netcdf4’, ‘h5netcdf’, ‘scipy’, ‘rasterio’, ‘store’]

Any suggestion will be appreciated. Many thanks!

@mnovitasari Please check, if wradlib is installed. If so, which version of wradlib is installed. The error message indicates, that wradlib might not be installed at all, or a very ancient version.

Best,
Kai

Many thanks for your reply. Finally, I’ve managed to fix this by changing the compatibility version of every wradlib-related library (e.g. xarray, gdal, etc.) and updating all the conda packages.

@mnovitasari You’re welcome. Glad you found a way to fix your environment.

1 Like