- 积分
- 2791
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-5-10
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 Jepeng 于 2016-2-21 18:26 编辑
每次运行它的时候都会出现这种错误,哪位大神知道怎么解决
WARNING: httplib2.URLError received None <urlopen error [Errno 10060] >
下面是我的脚本
#!/usr/bin/env python
#
# (C) Copyright 2012-2013 ECMWF.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
# In applying this licence, ECMWF does not waive the privileges and immunities
# granted to it by virtue of its status as an intergovernmental organisation nor
# does it submit to any jurisdiction.
#
from ecmwfapi import ECMWFDataServer
# To run this example, you need an API key
# available from https://api.ecmwf.int/v1/key/
server = ECMWFDataServer()
server.retrieve({
'dataset' : "interim",
'step' : "0",
'stream' : "oper",
'class' : "ei",
'number' : "all",
'levtype' : "sfc",
'date' : "20120816/to/20120831",
'time' : "00/06/12/18",
'type' : "AN",
'param' : "134.128/151.128/235.128/167.128/165.128/166.128/168.128/34.128/31.128/141.128/139.128/170.128/183.128/236.128/39.128/40.128/41.128/42.128/33.128",
'grid' : "0.25/0.25",
'target' : "ERA-Int_sfc_20120816_20120831.grib"
})
多试几次就可以了
|
|