rawDownload
获取气象原始数据。
调用方式:
typescript
const data = await client.weather.rawDownload(params);typescript
import { Weather } from 'loongship-data';
const data = await Weather.rawDownload({ key: 'YOUR_KEY', ...params });请求参数 (WeatherRawDownloadParams)
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| time | string | 是 | 获取数据的时间,yyyyMMddHHmm 格式。 |
| type | number | 是 | 气象类型:1 洋流,2 降水,3 气压,4 相对湿度,5 海冰,6 涌高,7 浪高,8 气温,9 雷暴,10 能见度,11 风浪方向,12 风浪浪高,13 风。 |
| key | string | 否 | User authorization key. Optional when an instance key or global key is registered. |
返回类型: WeatherRawDownloadData