- 积分
- 6749
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-3-7
- 最后登录
- 1970-1-1
![未绑定新浪微博用户 新浪微博达人勋](source/plugin/sina_login/img/gray.png)
|
发表于 2021-6-10 20:28:45
|
显示全部楼层
为什么我在运行的时候提示:
File "D:\chengxu\Python\EXP\read_wrf.py", line 56, in <module>
maskout_new.shp2clip(rh,ax1,provinces_shp,["广东省","广西省","福建省"],proj=proj)
File "D:\chengxu\Python\EXP\maskout_new.py", line 26, in shp2clip
region_k, region_i, region_str = find_region(shpfile, area_str)
ValueError: not enough values to unpack (expected 3, got 2)
就是在您的这行代码中要输出三个值,可是只输入了2个值
region_k, region_i, region_str = find_region(shpfile, area_str) |
|