Google Weather

バージョン 1.6.0.0 (2.45 KB) 作成者: Sagar Aiya
Get location specific weather data using Google's Weather API
ダウンロード: 1.3K
更新 2012/3/21

ライセンスの表示

編集メモ: This file was selected as MATLAB Central Pick of the Week

Google Weather
Get location specific weather data using Google's Weather API

Usage:
1. gweather()
2. gweather('place') Ex. gweather('Goa')
3. gweather(lat,long) Ex. gweather(15.563,73.818)
(lat,long in decimal degrees)

Besides printing the current conditions and the forecast, the function
returns the forecast information in a structure. (Output)

Sample Output:

Location:Natick,MA
Current Conditions:
3°C, 86% Humidity, Light rain

Forecast:
Thu: -7°C to 3°C, Icy
Fri: 0°C to 2°C, Mostly Sunny
Sat: 0°C to 10°C, Rain
Sun: -6°C to 6°C, Cloudy

Note
Apparently, the Google Weather XML Feed is not officially supported.
Use of lat,long often provides unreliable results.

引用

Sagar Aiya (2024). Google Weather (https://www.mathworks.com/matlabcentral/fileexchange/35370-google-weather), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加
謝辞

ヒントを与えたファイル: Get Geometric Location and Other Information

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.6.0.0

- clc has been removed.
- Fixed the issue of negative temperatures as suggested by Andrew Bliss.

1.4.0.0

Uploaded the updated gweather.m file which I forgot to upload during the previous update.

1.3.0.0

provision to supply geographical coordinates as arguments instead of a location name.

1.0.0.0