When I run the following script it raises the error "NotImplementedError: Dataset is not picklable". My netCDF4 version is 1.7.3 and wrf-python version is 1.3.4.1. Is this a version incompatibility issue, and how can I resolve it?
from netCDF4 import Dataset
from wrf import getvar
ncfile = Dataset("F:/wrf_out/soudelor/exp20/wrfout_d02_2003-06-17_00_00_00")
slp = getvar(ncfile, "slp")
print(slp)