weather-model-run-discovery
Skill này làm gì
Công cụ này tìm dự báo thời tiết mới nhất và đầy đủ nhất hiện có. Nó kiểm tra dữ liệu dự báo nào đã có trước khi tải xuống, đảm bảo bạn nhận được thông tin mới nhất và đáng tin cậy nhất.
Khi nào nên dùng
- ✓Khi bạn cần dự báo mới nhất từ các mô hình như GFS hoặc HRRR.
- ✓Khi dự báo mới nhất chưa hoàn chỉnh hoặc vẫn đang được cập nhật.
- ✓Khi so sánh dữ liệu từ các nguồn khác nhau (AWS, Google, Azure) để đảm bảo chúng thuộc cùng một lần chạy dự báo.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/weather-model-run-discovery/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm dự báo mới nhất của mô hình HRRR cho 24 giờ tới, bao gồm dữ liệu bề mặt.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ kiểm tra các nguồn dữ liệu dự báo thời tiết khác nhau. Nó tìm dự báo gần nhất có đầy đủ thông tin cần thiết (như các thời điểm khác nhau và các loại dữ liệu) trước khi xác nhận dùng dự báo nào.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Weather Model Run Discovery
Overview
Resolve a numerical weather prediction run before downloading model fields. Probe exact objects or narrow prefixes, verify a request-specific completion contract, and return the newest qualifying initialization with its source metadata.
This skill decides which run and objects exist. Use
weather-model-data-fetching afterward to transfer or subset the data.
When to Use This Skill
- An application needs the newest usable GFS, GEFS, HRRR, RAP, NAM, or similar model cycle.
- The nominal latest cycle returns
404, has only early forecast hours, or is still changing. - Equivalent AWS, NOMADS, Google, Azure, or other mirrors must be compared without silently mixing runs.
- A scheduled job needs a bounded fallback to an older complete cycle.
- The resolved run and provider must be recorded for later reproduction.
Do not activate this skill when the initialization is already fixed or when the task is to download, decode, or interpret model variables.
Define Complete Before Probing
Collect the following request contract:
- model, domain, product, and ensemble member;
- legal UTC cycle hours and cycle interval;
- required forecast hours;
- required companion objects, such as pressure and surface products;
- required inventory or index sidecars;
- provider priority and whether cross-provider fallback is allowed;
- maximum lookback, maximum probes, and freshness requirement.
A run is complete only when every sentinel required by the consumer exists. Examples include:
- one product at one forecast hour for a single-image job;
- both pressure-level and surface files for a sounding;
- the terminal forecast hour needed by a time series;
- every required member for an ensemble statistic.
The presence of forecast hour zero does not prove that a run is complete.
Discovery Workflow
- Normalize the current time and all candidate initialization times to UTC.
- Enumerate only legal cycles, newest first, within the lookback bound.
- Build documented object keys for the exact model, product, member, and forecast hour. Never recursively scan an entire bucket.
- Probe exact objects with
HeadObject, HTTPHEAD, or a narrow paginated prefix listing. A probe should retrieve metadata, not the model payload. - Require every sentinel and sidecar in the completion contract. Reject zero- length or obviously placeholder objects.
- For a live mirror that may expose objects before publication finishes, repeat the metadata probe after a short bounded interval and require stable size and object identity.
- Select the first complete candidate. A fallback provider must refer to the same initialization, product, member, and forecast hour.
- Emit a resolution record before starting the download.
Use a provider's documented cycle status page as supporting evidence, not as a substitute for probing the exact objects the consumer requires.
Minimal Resolver Example
Keep provider-specific key construction separate from the selection rule. This
example accepts a metadata-only probe callback so it can be used with S3,
HTTP, or a test fixture.
from datetime import datetime, timedelta, timezone
def candidate_cycles(now, cycle_hours, lookback):
now = now.astimezone(timezone.utc).replace(minute=0, second=0, microsecond=0)
allowed = sorted(set(cycle_hours), reverse=True)
candidates = []
for days_back in range((lookback // 24) + 2):
day = (now - timedelta(days=days_back)).date()
for hour in allowed:
cycle = datetime(day.year, day.month, day.day, hour, tzinfo=timezone.utc)
if cycle <= now and now - cycle <= timedelta(hours=lookback):
candidates.append(cycle)
return sorted(set(candidates), reverse=True)
def resolve_latest(now, cycle_hours, lookback, required_objects, probe):
"""Return one complete run; probe(uri) returns metadata or None."""
attempts = []
for cycle in candidate_cycles(now, cycle_hours, lookback):
requested = required_objects(cycle)
found = {name: probe(uri) for name, uri in requested.items()}
missing = [name for name, metadata in found.items() if not metadata]
attempts.append({"cycle": cycle.isoformat(), "missing": missing})
if not missing:
return {
"initialization": cycle.isoformat(),
"objects": [
…
Câu hỏi thường gặp
‘Chu kỳ dự báo thời tiết bằng số’ là gì?
Đó là một bộ dữ liệu dự báo hoàn chỉnh do một mô hình máy tính tạo ra tại một thời điểm cụ thể.
Vì sao không tải dữ liệu trực tiếp?
Tải toàn bộ có thể tốn thời gian và không cần thiết. Công cụ này trước tiên tìm dự báo hoàn chỉnh tốt nhất hiện có, giúp tiết kiệm thời gian và tài nguyên.
‘Không tải toàn bộ payload’ nghĩa là gì?
Nghĩa là công cụ kiểm tra sự tồn tại và siêu dữ liệu của tệp dự báo (như kích thước và ngày tháng) mà không cần truyền toàn bộ dữ liệu, vốn có thể rất lớn.
Chi tiết
Mô tả gốc của tác giả
Resolve the newest complete numerical weather prediction cycle and forecast objects across provider mirrors without downloading full payloads.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #6147
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
tavily
394kGiúp agent của bạn tìm kiếm web bằng Tavily và lấy văn bản từ các trang cụ thể, với tùy chọn về độ sâu, tên miền và ngày tháng.
blogwatcher
394kCho phép agent của bạn theo dõi blog và nguồn cấp RSS hoặc Atom, kiểm tra bài viết mới và đánh dấu những bài bạn đã đọc.
data-scraper-agent
280kGiúp agent tự động thu thập dữ liệu từ mọi nguồn công khai. Có thể lên lịch, bổ sung thông tin và lưu kết quả. Hữu ích để theo dõi dữ liệu trực tuyến.