- 积分
- 4784
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2022-2-27
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
请问一下各位大佬,在用python处理wrfout文件的时候出现了错误,这种要怎么处理呀?代码:
from __future__ import print_function
from netCDF4 import Dataset
from wrf import getvar
ncfile = Dataset("wrfout_d01_2016-10-06_03.nc")
# Get the Sea Level Pressure
slp = getvar(ncfile, "slp")
print(slp)错误:Traceback (most recent call last): File "C:\user\anaconda3\lib\site-packages\wrf\__init__.py", line 6, in <module> from . import api File "C:\user\anaconda3\lib\site-packages\wrf\api.py", line 1, in <module> from .config import (xarray_enabled, disable_xarray, enable_xarray, File "C:\user\anaconda3\lib\site-packages\wrf\config.py", line 6, in <module> from ._wrffortran import (fomp_enabled, fomp_set_num_threads,ImportError: DLL load failed while importing _wrffortran: 找不到指定的模块。During handling of the above exception, another exception occurred:Traceback (most recent call last): File "C:\Users\86188\PycharmProjects\untitled7\.idea\slp.py", line 4, in <module> from wrf import getvar File "C:\user\anaconda3\lib\site-packages\wrf\__init__.py", line 18, in <module> from . import api File "C:\user\anaconda3\lib\site-packages\wrf\api.py", line 1, in <module> from .config import (xarray_enabled, disable_xarray, enable_xarray, File "C:\user\anaconda3\lib\site-packages\wrf\config.py", line 6, in <module> from ._wrffortran import (fomp_enabled, fomp_set_num_threads,ImportError: DLL load failed while importing _wrffortran: 找不到指定的模块。
|
|