入门
在 Duaer 里查空间天气预警
在 Duaer 里:NOAA 空间天气预报中心发布的警报、关注与预警:地磁暴、太阳辐射事件与无线电中断。一次成功查询用 1 额度。
能拿到什么
Duaer 数据市场里的「空间天气预警」:NOAA 空间天气预报中心发布的警报、关注与预警:地磁暴、太阳辐射事件与无线电中断。查到结果时用 1 额度,结果交给数字组织的下一个节点。
从节点创建器选 Duaer 数据 → 空间天气预警,或打开 数据市场。相关:全球地磁 Kp 指数、小行星近地掠过。
适合做什么
- 关注影响卫星、通信与电网的地磁暴预警。
- 查看近几天的太阳耀斑与辐射警报。
在画布里检索
- 打开节点创建器,选 Duaer 数据 → Space weather alerts。
- 填 Last Days(如 3);Words 可选(如 geomagnetic)。
- Limit 默认 10,最大 20。执行。
查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。
用 API 调用
- GET https://api.duaer.com/v1/data/space-weather?days=3
- Authorization: Bearer <Duaer key>
下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。
调用技能(英文)
与数据市场「复制技能」一致。
---
name: duaer-space-weather
description: >-
Duaer Space weather alerts. Alerts, watches, and warnings from the NOAA Space Weather Prediction Center: geomagnetic storms, solar radiation, and radio blackouts.
One successful search uses 1 Duaer credit.
---
# Duaer Space weather alerts
Duaer Space weather alerts lists the messages NOAA SWPC issued recently, newest first, with the headline and full text.
## When to use
- Check for geomagnetic storm warnings before an aurora trip.
- Monitor radiation or radio blackout alerts for operations.
## When not to use
- The Kp index values. Use https://skills.duaer.com/kp-index.md.
- Weather on Earth. Use https://skills.duaer.com/weather.md.
## Call
`GET https://api.duaer.com/v1/data/space-weather?days=3`
Header: `Authorization: Bearer <Duaer key>`
Use an account key or a model API key.
Get a Duaer key: https://skills.duaer.com/keys.md
## Parameters
Provide `days` or `words`.
- `days` — Optional. Alerts issued in the last N days, 1 to 30. Default 3.
- `words` — Optional. Words in the alert, such as geomagnetic or radio blackout.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.
## Examples
- `GET https://api.duaer.com/v1/data/space-weather?days=3` — alerts from the last three days.
- `GET https://api.duaer.com/v1/data/space-weather?days=7&words=geomagnetic` — geomagnetic messages this week.
## Result
The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:
- `messageCode`, `productId` — SWPC message code, such as WARK05.
- `headline`, `message` — first alert line and full text.
- `issuedUtc` — issue time.
Fields without a value are left out.
## Credits
A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.
## Related
- https://skills.duaer.com/kp-index.md — Duaer Planetary Kp index
- https://skills.duaer.com/close-approaches.md — Duaer Asteroid close approaches
常见问题
Duaer 的空间天气预警检索扣多少额度?
查到结果时扣 1 额度;没有结果或出错不扣。
Duaer 空间天气预警的消息来自哪里?
Duaer 空间天气预警读取美国 NOAA 空间天气预报中心(SWPC)最近发布的预警、警告与观测消息。
同组