- 积分
- 499
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-7-29
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
用python脚本下载ERA-interim数据出现和存储路径相关的报错,实在是不知道怎么回事,以前也用python下载过该数据都没有问题,检查脚本自己也没发现错误,求助各位前辈。
这是我的脚本:
from ecmwfapi import ECMWFDataServer
# To run this example, you need an API key
# available from https://api.ecmwf.int/v1/key/
server = ECMWFDataServer()
#data=["1979","1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018"]
data=["2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018"]
#data=["2016","2017"]
for idata in range(len(data)):
server.retrieve({
"class": "ei",
"dataset": "interim",
"date": data[idata]+"0101"+"/to/"+data[idata]+"0203",
"expver": "1",
"grid": "0.25/0.25",
"levelist": "100/200/250/300/400/500/600/700/850/925/1000",
"levtype": "pl",
"param": "129.128/130.128/131.128/132.128/133.128",
"step": "0",
"stream": "oper",
"area": "45/75/15/125",
"time": "00:00:00/06:00:00/12:00:00/18:00:00",
"type": "an",
"format" : "netcdf",
"target": "E:/science/EC-interim-DATA/"+data[idata]+"0101-0203.nc",
})
报错提示:
|
-
错误提示
|