- 积分
- 9323
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2019-7-3
- 最后登录
- 1970-1-1
|
发表于 2021-7-22 09:24:23
|
显示全部楼层
我在数据转换时,出现如下报错信息,怎么解决大神。
Traceback (most recent call last):
File "grd2nc.py", line 3, in <module>
open_CtlDataset('E:/Study/Data_assimilation/paper/model2data/DATA_back45/nature/t30.ctl').to_netcdf('output.nc')
File "/mnt/e/study/Data_assimilation/paper/model2data/DATA_back45/result/xgrads/io.py", line 103, in open_CtlDataset
ctl = CtlDescriptor(encoding=encoding, file=desfile)
File "/mnt/e/study/Data_assimilation/paper/model2data/DATA_back45/result/xgrads/core.py", line 107, in __init__
if os.path.getsize(abspath) / (1024.0*1024.0) > 2:
File "/home/changmh/anaconda3/lib/python3.8/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: 'E:/Study/Data_assimilation/paper/model2data/DATA_back45/nature/t30.ctl'
(base) changmh@changmh:/mnt/e/study/Data_assimilation/paper/model2data/DATA_back45/result$
|
|