Skip to content

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)

参数名类型必填描述
timestring获取数据的时间,yyyyMMddHHmm 格式。
typenumber气象类型:1 洋流,2 降水,3 气压,4 相对湿度,5 海冰,6 涌高,7 浪高,8 气温,9 雷暴,10 能见度,11 风浪方向,12 风浪浪高,13 风。
keystringUser authorization key. Optional when an instance key or global key is registered.

返回类型: WeatherRawDownloadData