||
从http://apps.ecmwf.int/datasets/
下载欧洲中心public数据
主要参考网址:
https://software.ecmwf.int/wiki/display/WEBAPI/Access+ECMWF+Public+Datasets
注意的是
可以修改
area
可以修改
netcdf
以下是一个例子
#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
period = "2014-07-01/to/2014-07-31"
area = "43/113/38/119"
#area: N/W/S/E
fmt = "netcdf"
server = ECMWFDataServer()
server.retrieve({
"class": "ti",
"dataset": "tigge",
"date": period,
"expver": "prod",
"grid": "0.5/0.5",
"area": area,
"levtype": "sfc",
"origin": "babj/ecmf",
"param": "167",
"step": "0/6/12/18/24/30/36/42/48/54/60/66/72/78/84/90/96/102/108/114/120/126/132/138/144/150/156/162/168/174/180/186/192/198/204/210/216/222/228/234/240/246/252/258/264/270/276/282/288/294/300/306/312/318/324/330/336/342/348/354/360",
"time": "00:00:00",
"type": "cf",
"format": fmt,
"target": period[0:7],
})
server.retrieve({
"class": "ti",
"dataset": "tigge",
"date": period,
"expver": "prod",
"grid": "0.5/0.5",
"area": area,
"levtype": "sfc",
"origin": "kwbc",
"param": "167",
"step": "0/6/12/18/24/30/36/42/48/54/60/66/72/78/84/90/96/102/108/114/120/126/132/138/144/150/156/162/168/174/180/186/192/198/204/210/216/222/228/234/240/246/252/258/264/270/276/282/288/294/300/306/312/318/324/330/336/342/348/354/360/366/372/378/384",
"time": "00:00:00",
"type": "cf",
"format": fmt,
"target": period[0:7],
})
server.retrieve({
"class": "ti",
"dataset": "tigge",
"date": period,
"expver": "prod",
"grid": "0.5/0.5",
"area": area,
"levtype": "sfc",
"origin": "rjtd",
"param": "167",
"step": "0/6/12/18/24/30/36/42/48/54/60/66/72/78/84/90/96/102/108/114/120/126/132/138/144/150/156/162/168/174/180/186/192/198/204/210/216/222/228/234/240/246/252/258/264",
"time": "00:00:00",
"type": "cf",
"format": fmt,
"target": period[0:7],
})
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-1 19:27
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社