天气 API - 提供“关于……"信息? [英] Weather API - Provides "About to..." Information?

查看:33
本文介绍了天气 API - 提供“关于……"信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种天气 API,其中包含有关天气即将做..."的信息(在尽可能短的时间内).

I'm looking for a weather API which has information on what the weather is "About to do..." (within as short a time as possible).

例如,我可以输入加利福尼亚州山景城并检索:大约 10 分钟后开始下雨......"

For instance, I could put in Mountain View, CA and retrieve: "About to starting raining in 10 minutes..."

(到目前为止,我只找到了每天的天气情况.)

(So far, I've only found the daily weather condition.)

这在任何地方都可用吗?

Is this available anywhere?

推荐答案

机场(和其他实例)定期发布天气信息作为 METAR 报告(描述当前天气)和 TAF 报告(用概率描述即将发生的事情).

Airports (and other instances) publish weather information regularly as a METAR report (which describes the current weather) and a TAF report (which describes what's coming, with probabilities).

如果您要查看斯德哥尔摩(瑞典)的天气,您首先会在那里找到一个机场(在此示例中我选择了 Arlanda).阿兰达的 ICAO 代码是 ESSA(欧洲瑞典斯德哥尔摩阿兰达).Luftfartsverket,瑞典空域控制机构,将所有发布到一页 和 taf 在 另一个让您更容易获得概览.

If you were to check the weather for Stockholm (Sweden) you first find an airport there (I choose Arlanda for this example). The ICAO code for Arlanda is ESSA (Europe Sweden Stockholm Arlanda). Luftfartsverket, the Swedish authority for air space control, consolidates all metar published into one page, and taf at another making it easier to get an overview.

此信息在撰写本文时为最新信息:

This info was current at the writing of this post:

METAR: ESSA 020850Z 28005KT 9999 FEW014 BKN015 M07/M08 Q1006 RWY 19 ICE 
            0-10 PCT 1 MM FC 0.50 RWY 26 ICE 0-10 PCT 1 MM FC 0.47 NOSIG=

TAF: ESSA 020530Z 0206/0306 29007KT 9999 SCT014 BKN035 PROB30
          0206/0306 4000 -SN BKN008=

您需要阅读链接的维基百科文章以获取有关解析的信息.以下只是他们告诉您的部分内容.该metar拍摄于祖鲁时间08:50(gmt+0),大约10分钟前,风速5节,能见度好,-7摄氏度.taf 较旧,(祖鲁时间 05:30)并表示有雪 (-SN).

You need to read the linked Wikipedia articles for information on the parsing. This following is just a part of what they tell you. The metar is taken 08:50 zulu time (gmt+0), about 10 minutes ago, wind speed at 5 knots, good visibility, -7 degrees celsius. The taf is older, (05:30 zulu time) and indicates some snow (-SN).

这篇关于天气 API - 提供“关于……"信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆