본문으로 건너뛰기
Skillpedia
웹 스크레이핑48k · #6147

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/weather-model-run-discovery/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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

  1. Normalize the current time and all candidate initialization times to UTC.
  2. Enumerate only legal cycles, newest first, within the lookback bound.
  3. Build documented object keys for the exact model, product, member, and forecast hour. Never recursively scan an entire bucket.
  4. Probe exact objects with HeadObject, HTTP HEAD, or a narrow paginated prefix listing. A probe should retrieve metadata, not the model payload.
  5. Require every sentinel and sidecar in the completion contract. Reject zero- length or obviously placeholder objects.
  6. 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.
  7. Select the first complete candidate. A fallback provider must refer to the same initialization, product, member, and forecast hour.
  8. 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.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#6147
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬