xarray-contrib/xwrf

package Installed, not loaded as an xarray engine

Closed this issue · 1 comments

What is your issue?

Hi
I face this problem

import xwrf
xwrf
Out[5]: <module 'xwrf' from '/home/asmerc4/anaconda3/envs/iris-grib/lib/python3.8/site-packages/xwrf/init.py'>

The module can be loaded correctly

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

I face this error. what else can i do

lpilz commented

We have decided to move away from the implementation as a backend and have instead moved the code into an xarray accessor. Unfortunately, we have not yet had the time to update the documentation. However, you can use the latest version of this software like:

ds = xr.open_dataset("your_wrf_file", engine="netcdf").xwrf.postprocess()

Hope this helps!