数据中台


地面站点小时数据检索,根据要素返回最新时间所有站点的观测数据(国家站,区域站)

<h5>简要描述</h5> <ul> <li>地面站点小时数据检索,根据要素返回最新时间所有站点的观测数据(国家站,区域站)</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://business-serve.ecoweather.cn/surfHor/queryElement</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">field</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>要素</td> </tr> </tbody> </table> <h5>参数示例</h5> <pre><code>{ "field":"temperature" }</code></pre> <h5>返回示例</h5> <pre><code> { "success": true, "code": 20000, "message": "成功", "data": { "dataList": [ { "stationName": "漠河", "lon": 122.51083, "value": -1.3500, "lat": 52.97444, "stationId": "50136" }, { "stationName": "北极村", "lon": 122.37833, "value": -0.5500, "lat": 53.46916, "stationId": "50137" }, { "stationName": "塔河", "lon": 124.71833, "value": -0.8500, "lat": 52.34805, "stationId": "50246" }, { "stationName": "呼中", "lon": 123.57222, "value": 0.7500, "lat": 52.03611, "stationId": "50247" }, { "stationName": "新林", "lon": 124.39166, "value": 0.8500, "lat": 51.665, "stationId": "50349" }, { "stationName": "呼玛", "lon": 126.63888, "value": 3.0500, "lat": 51.72611, "stationId": "50353" }, { "stationName": "额尔古纳市", "lon": 120.18333, "value": 0.8500, "lat": 50.25, "stationId": "50425" }, { "stationName": "根河市", "lon": 121.51666, "value": -1.3500, "lat": 50.78333, "stationId": "50431" }, { "stationName": "图里河", "lon": 121.68333, "value": -1.9500, "lat": 50.48333, "stationId": "50434" }, { "stationName": "加格达奇", "lon": 124.11944, "value": 4.0500, "lat": 50.40638, "stationId": "50442" }, { "stationName": "鄂伦春自治旗", "lon": 123.73333, "value": 3.7500, "lat": 50.58333, "stationId": "50445" }, …… ] } }``` ##### 返回参数说明 |参数名|类型|说明| |:----- |:-----|----- | |stationId|string|站号| |stationName|string|站名| |lat |double | 纬度 | |lon |double | 经度 | |value |double | 要素值 | ##### 备注 - ##### 参数要素说明 |参数名|数据库字段|说明| |:----- |:-----|----- | |temperature | temperature | 气温,单位(1℃) | |relative_humidity |relative_humidity | 相对湿度,单位(1%) | | wind|wind_direct_2m,wind_speed_2m | 风向风速,风向单位(1°),风速单位(1m/s) | |precipitation_1m |precipitation_1m |降水量,单位(1mm)| |cloud_total |cloud_total | 总云量,单位(1 成) | |visibility|visibility|能见度,单位(1km)| |pressure|pressure|气压,单位(1hPa)| |wind_direct_2m|wind_direct_2m|2分钟风向,单位(1°)| |wind_speed_2m|wind_speed_2m|2分钟平均风速,单位(1m/s)| 同时需要查询风向和风速两个要素时,要素为wind。</code></pre>

页面列表

ITEM_HTML