Skip to content

NotImplementedError: Dataset is not picklable #290

@jc-suen

Description

@jc-suen

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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions