ロングリードタイム降雹予測情報
- 公開日
- 更新日 2026-10-02
利用条件
有償オプションAPI(申込必要)
概要
API名称
ロングリードタイム降雹予測情報
カテゴリー
説明
「ロングリードタイム降雹予測情報」は多様な予測情報を独自の解析ロジックで統合・最適化し、最長39時間先までの降雹リスクを予測する情報です。
最長39時間前から段階的に情報を提供することで降雹の可能性を早期に把握し、防災対応や計画の見直しなど事前の備えに活用できます。
また、3段階の行動トリガーにより予測の時間経過や状況に応じて情報を提供し、必要な対応を段階的に判断することを支援します。
ユースケース
・収穫時期の前倒し判断
・防雹ネット展張の計画
・ハウス・農業設備の保護対策
・作業計画・人員配置の見直し
・出荷スケジュールの調整
ロングリードタイム降雹予測情報に関するお問い合わせは、sales@i-resilience.co.jpまでお気軽にご連絡ください。
添付ファイル
ー
データの更新頻度
随時
リクエスト
URL
https://api.wagri2.net/i-resilience/weather/hail/latest
説明
・ロングリードタイム降雹予測情報の取得
HTTPメソッド
GET
パラメータ
N/A
呼出例
https://api.wagri2.net/i-resilience/weather/hail/latest
レスポンス
レイアウト
| 階層 | 項目名 | データ型 | 内容 | 例・備考 |
|---|---|---|---|---|
| ルート | type | 文字列 | GeoJSONの種別 | FeatureCollection |
| ルート | properties | オブジェクト | GeoJSON全体の付加情報 | |
| properties | announce_time | 文字列 | 発表日時 | 2026/09/03 14:26 |
| ルート | features | 配列 | 地域ごとのFeature一覧 | – |
| features[] | type | 文字列 | Featureの種別 | Feature |
| features[] | properties | オブジェクト | 地域・対象情報 | |
| features[] | .properties pref | 文字列 | 都道府県名 | 北海道 |
| features[] | .properties county | 文字列/null | 郡名 | 広尾郡 ※郡がない場合はnull |
| features[] | .properties city | 文字列 | 市区町村名 | 大樹町 |
| features[] | .properties code | 文字列 | 市区町村コード | 01641 ※先頭0を含むため文字列 |
| features[] | .properties target | 文字列 | 対象となる時間帯 | 9月3日の昼前から9月4日の昼前にかけて |
| features[] | .properties source | 整数 | データソースを表す値 | 1、2、3 |
| features[] | geometry | オブジェクト | 地域の地理形状 | |
| features[] | .geometry type | 文字列 | 地理形状の種別 | Polygon |
| features[] | .geometry coordinates | 配列 | ポリゴンを構成する座標一覧 | 経度・緯度の順 |
| features[] | .geometry.coordinates[][][0] | 経度 数値 | 地点の経度 | 143.000 |
| features[] | .geometry.coordinates[][][1] | 緯度 数値 | 地点の緯度 | 42.371 |
レスポンス例
{
"type": "Feature",
"properties": {
"pref": "北海道",
"county": "広尾郡",
"city": "大樹町",
"code": "01641",
"target": "9月3日の昼前から9月4日の昼前にかけて",
"source": 3
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[143.0, 42.371],
[143.005, 42.376],
...
]
]
}
}
ステータスコード
| コード | 名称 | 値の説明 |
|---|---|---|
| 200 | OK | 正常終了 |
| 204 | No Content | データがシステム上に存在しない |
| 500 | Internal Server Error | サーバー内部でエラーが発生 |
サンプルソースコード
プログラム記述例(WAGRI共通)
import requests
url = "https://api.wagri2.net/API/Public/AgriculturalLand/SearchByCityCode"
payload = {
'CityCode': '432041'
}
headers = {
'X-Authorization': 'アクセストークン',
}
response = requests.get(url, headers=headers, params=payload)
print(response.text)
プログラム記述例(個別API)
import requests
url = "https://api.wagri2.net/i-resilience/weather/hail/latest"
headers = {
"X-Authorization": "アクセストークン"
}
response = requests.get(url, headers=headers)
if response.status_code == 200:
output_file = "longterm.geojson"
with open(output_file, "wb") as f:
f.write(response.content)
print(f"GeoJSON取得成功: {output_file}")
else:
print(f"GeoJSON取得失敗: HTTP {response.status_code}")
print(response.text)

