weather-model-run-discovery
하는 일
이 도구는 가장 최근의 완전한 날씨 예보를 찾습니다. 내려받기 전에 어떤 예보 데이터가 있는지 확인해, 가장 최신이고 믿을 만한 정보를 얻도록 합니다.
사용하는 경우
- ✓GFS나 HRRR 모델의 최신 예보가 필요할 때.
- ✓가장 새로운 예보가 아직 완성되지 않았거나 계속 업데이트 중인 경우.
- ✓여러 출처(AWS, Google, Azure)의 데이터를 비교하면서 같은 예보 회차인지 확인할 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/weather-model-run-discovery/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“HRRR 모델의 최신 예보를 지상 데이터까지 포함해 앞으로 24시간 동안 찾아 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구가 여러 날씨 예보 데이터 출처를 확인합니다. 시간대와 데이터 종류 등 필요한 정보를 모두 갖춘 가장 최근 예보를 찾은 뒤, 어떤 것을 사용할지 확정합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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": [
…
자주 묻는 질문
‘수치 기상 예측 회차(cycle)’란 무엇인가요?
특정 시각에 컴퓨터 모델이 만든 완전한 날씨 예보 데이터 묶음입니다.
왜 바로 데이터를 내려받지 않나요?
전부 내려받으면 시간이 많이 들고 불필요할 수 있습니다. 이 도구는 먼저 가장 좋은 완전한 예보가 무엇인지 찾아 시간과 자원을 아껴 줍니다.
‘전체 페이로드 없이 다운로드한다’는 것은 무슨 뜻인가요?
매우 클 수 있는 전체 데이터를 전송하지 않고, 예보 파일의 존재 여부와 메타데이터(크기, 날짜 등)만 확인한다는 뜻입니다.
상세 정보
작성자의 원본 설명
Resolve the newest complete numerical weather prediction cycle and forecast objects across provider mirrors without downloading full payloads.
인기도
- GitHub 스타
- 48k
- 순위
- #6147
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.