农田气象管家,精准农事决策
简介
为印第安纳州中部69块农田提供实时天气、7天预报、积温计算及喷洒条件评估,助力精准农事决策。
原始描述
Query weather data and forecasts for farm fields via the Agronomy module.
通过你的 Agent 添加
安装目录:farmos-weather/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心功能
farmos-weather 是 FarmOS 农业管理平台的天气数据服务技能,通过 Agronomy 模块为农场运营提供全面的气象支持。该技能覆盖69块集中分布于印第安纳州中部的农田,主要能力包括:
实时与预报数据:获取指定农田的当前温度、降水、风速等实况,以及最长14天的逐日/逐小时天气预报。
农艺专用计算:支持自定义基温的积温(GDD)累积计算,覆盖任意日期区间;自动关联玉米关键生育期阈值(V6450 GDD、VT1,100 GDD、R1~1,400 GDD),为施肥、喷药等操作提供窗口指导。
喷洒条件评估:专项检测风速(<10mph为适宜)、24小时内降雨概率及温度范围,直接回答"能否喷药"类决策问题。
坐标查询与历史回溯:支持经纬度直接查询(约40.25°N, -85.67°W),无需字段ID;可追溯最长30天的历史气象记录。
显著优点
- 决策闭环设计:技能主动关联 farmos-tasks(农事任务)与 farmos-observations(田间观察),在预报降雨、大风或积温达标时自动提醒任务冲突或触发农事窗口,如"Field 12 已达1,100 GDD,进入V6期,建议立即追肥"。
- 农艺场景深度优化:区别于通用天气服务,内置喷洒安全阈值、病害气象风险预警(连续阴雨+高温提示灰斑病/黑穗病风险)及霜冻后损伤排查建议。
- 高可用兜底策略:字段级数据异常时自动退化为区域天气,确保69块农田所在的中印第安纳地区始终有气象参考。
局限性与风险
- 区域局限性:所有字段集中于单一气候区(印第安纳州中部),跨州或大规模分散农场需依赖坐标查询,精度可能下降。
- 数据源依赖:底层 Agronomy 模块的稳定性直接影响服务可用性;报告明确要求"服务无响应时不猜测天气",存在短时数据中断风险。
- 非观测性边界:明确区分"天气是什么"与"天气造成了什么",冰雹、洪涝、霜冻损伤等灾后记录需转 farmos-observations 模块,用户需理解两套系统的分工。
适用人群
- 区域局限性:所有字段集中于单一气候区(印第安纳州中部),跨州或大规模分散农场需依赖坐标查询,精度可能下降。
- 数据源依赖:底层 Agronomy 模块的稳定性直接影响服务可用性;报告明确要求"服务无响应时不猜测天气",存在短时数据中断风险。
- 非观测性边界:明确区分"天气是什么"与"天气造成了什么",冰雹、洪涝、霜冻损伤等灾后记录需转 farmos-observations 模块,用户需理解两套系统的分工。
适用人群
农场主、农艺师、田间作业队长及农业数据管理员,尤其适合需要基于积温模型管理玉米生育期、依赖喷洒窗口决策的规模化种植主体。
常规风险
- 喷洒窗口误判:尽管提供风速/降雨/温度综合评估,但田间微环境(避风区、地形雨)可能与预报存在偏差,建议结合实地观察。
- 积温模型局限:GDD计算依赖用户设定的基温,不同作物/品种阈值差异大,需农艺知识校准。
- 数据延迟:历史数据最长30天,极端天气事件后的保险定损等场景可能需更长追溯期。
技能正文
name: farmos-weather
description: Query weather data and forecasts for farm fields via the Agronomy module.
tags: [farming, weather, forecast]
FarmOS Weather
Current conditions and forecasts for farm fields, sourced from the Agronomy module.
When to Use This
What this skill handles: Current weather conditions, forecasts, growing degree days (GDD), spray condition evaluation, and historical weather data for farm fields.
Trigger phrases: "what's the weather", "can we spray", "GDD for field X", "forecast", "will it rain this week?", "temperature and wind right now", "field conditions?"
What this does NOT handle: Field observations about weather damage like hail, flooding, or frost injury (use farmos-observations with weather_damage type -- that logs the damage for tracking). This skill tells you what the weather IS; observations logs what the weather DID.
Minimum viable input: "Weather" or a field reference. If no field is specified, any nearby field ID works since all 69 fields are in central Indiana.
API Base
http://100.102.77.110:8012
Endpoints
Health Check
GET /api/weather/health
Returns: Weather service health status.
Current Weather
GET /api/weather/field/{field_id}/current
Returns: Current conditions for a specific field (temperature, precipitation, wind).
Forecast
GET /api/weather/field/{field_id}/forecast?days=7
Returns: Daily and hourly forecast data (up to 14 days).
Historical
GET /api/weather/field/{field_id}/historical?days=30
Returns: Historical weather records for a field.
Growing Degree Days
GET /api/weather/field/{field_id}/gdd?startDate=YYYY-MM-DD&endDate=YYYY-MM-DD&baseTemp=10
Returns: GDD accumulation for a field over a date range.
Spray Conditions
GET /api/weather/field/{field_id}/spray-conditions
Returns: Spray condition evaluation (wind, rain probability, temperature checks).
Weather by Coordinates
GET /api/weather/coordinates?latitude={lat}&longitude={lon}&type=current
Returns: Weather by coordinates (no field ID required). Use type=forecast for forecast data.
Integration Dashboard
GET /api/integration/dashboard
Returns: Agronomy summary including weather data if available.
Data Completeness
- The
/api/integration/dashboard returns agronomy summary data — use it for a quick overview only, not as the primary weather source.
- If a weather endpoint fails or returns empty, say so: "The weather service isn't responding right now." Don't guess the weather.
- For GDD queries, always include the date range in your response so the user knows the scope: "GDD from April 1 to today: 1,142."
Cross-Module Context
/api/integration/dashboard returns agronomy summary data — use it for a quick overview only, not as the primary weather source.When answering weather questions, think about what else on the farm is affected:
Weather → Tasks:
- Before answering "can we spray?" or "should we get in the field?", check farmos-tasks for what's on the board. Connect the forecast to specific scheduled work: "Rain Thursday through Saturday — if you're planning to spray field 14, today's your window."
- When reporting the forecast, flag weather-sensitive tasks that conflict: "You've got 3 spray tasks this week but wind picks up Wednesday. Today and tomorrow are your best shot."
- GDD milestones trigger agronomic actions. When GDD data crosses key thresholds (V6 ~450 GDD, VT ~1,100 GDD, R1 ~1,400 GDD for corn), connect to tasks: "Field 12 just hit 1,100 GDD — that's your V6 marker. Side-dress window is now. Want me to create a task?"
Weather → Observations:
- After extended rain + warm temps, flag disease pressure: "We've had 3 days of rain and highs in the 80s — conditions are ripe for gray leaf spot and tar spot. Worth scouting the corn this week."
- After frost or severe weather, suggest damage checks: "First frost was last night. Might be worth checking the late-planted fields for damage."
- Connect recent weather to existing observation patterns: if there are recent disease observations, note the weather connection.
Weather → Equipment:
- If rain is coming and there are field operations scheduled, note the equipment implication: "Rain starts Thursday — anything that needs to be in the field should get there before then."
Query farmos-tasks and farmos-observations alongside weather for any field operation question. You don't need to cross-reference on every simple "what's the temperature?" question — use judgment. Cross-reference when the weather materially affects the plan.
Usage Notes
- Farm is located in central Indiana. If specific field weather isn't available, general local weather is fine.
- Spray conditions matter: wind speed under 10mph, no rain in forecast for 24hrs, temperature ranges.
- "Can we spray?" is a common question -- check wind, rain probability, and temperature via the spray-conditions endpoint.
- Field IDs are integers -- 69 fields across the operation. Most weather queries can use any nearby field ID since they are all in the same area.
- For coordinates-based queries without a field ID, use the /coordinates endpoint with the farm's approximate location (latitude ~40.25, longitude ~-85.67).
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。