- 积分
- 511
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-10-31
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2017-3-30 19:46:41
|
显示全部楼层
谢谢老师指点,查看学习了Python的语言,修改了语句,再次运行时错误如下
Traceback (most recent call last):
File "<iostream>", line 10, in <module>
File "D:\BaiduNetdiskDownload\MeteoInfo\MeteoInfo_Java_1.4.2_Files\MeteoInfo\pylib\mipylib\dataset\midata.py", line 68, in addfiles
return DimDataFiles(dfs)
File "D:\BaiduNetdiskDownload\MeteoInfo\MeteoInfo_Java_1.4.2_Files\MeteoInfo\pylib\mipylib\dataset\dimdatafile.py", line 352, in __init__
ftimes.append(ds.gettime(0))
File "D:\BaiduNetdiskDownload\MeteoInfo\MeteoInfo_Java_1.4.2_Files\MeteoInfo\pylib\mipylib\dataset\dimdatafile.py", line 171, in gettime
t = self.dataset.getDataInfo().getTimes().get(idx)
at org.meteoinfo.data.meteodata.DataInfo.getTimes(DataInfo.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
请老师指点,应该是我addfiles用的不对 |
|