मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट48k · #6149

weather-pipeline-performance-diagnosis

यह क्या करती है

यह टूल पता लगाता है कि मौसम डेटा लाने और प्रोसेस करने के वर्कफ़्लो का कौन-सा हिस्सा बहुत समय ले रहा है। यह हर स्टेप का समय अलग-अलग नापता है, ताकि कोई बदलाव करने से पहले ही पता चले कि दिक्कत कहाँ है।

कब इस्तेमाल करें

  • ✓जब मौसम डेटा का वर्कफ़्लो सामान्य से धीमा लगे।
  • ✓जब किसी खास प्रोग्राम पर शक हो कि वह धीमा है, लेकिन इसका सबूत न हो।
  • ✓जब किसी बदलाव से पहले और बाद के परफ़ॉर्मेंस की तुलना करनी हो।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/weather-pipeline-performance-diagnosis/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/weather-pipeline-performance-diagnosis/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी मौसम डेटा pipeline में कौन-सा stage धीमा है, यह पता करो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

टूल वर्कफ़्लो को हिस्सों में बाँटता है (जैसे डेटा लाना, पढ़ना, प्रोसेसिंग और डिस्प्ले की तैयारी) और हर हिस्से में लगने वाला समय नापता है। इससे कोड बदले बिना ही सबसे धीमा हिस्सा सामने आ जाता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Weather Pipeline Performance Diagnosis

Overview

Find the stage that actually makes a weather workflow slow before optimizing it. Measure the real runtime path from source discovery through the final artifact, including optional companion data and fallback work.

This skill diagnoses latency and throughput. It does not prescribe a particular data provider, file format, decoder, or optimization.

When to Use This Skill

  • A fetch, sounding, map, animation, or batch job feels slower than before.
  • A parser or native backend is blamed without stage-level timing evidence.
  • Local runs and packaged or hosted runs have different performance.
  • A cache, provider fallback, optional enrichment, or rendering step may hide the real cost.
  • A proposed performance fix needs a repeatable before-and-after comparison.

Do not activate this skill for a correctness bug unless performance is also part of the observed failure.

Reproduce the Real Path

Record one fixed workload before editing code:

  • requested source, time, location, variables, and output;
  • application commit and runtime version;
  • active implementation or backend, including fallback reason;
  • cold-cache or warm-cache state;
  • machine, operating system, worker count, and relevant resource limits;
  • bytes transferred and final artifact size;
  • whether optional guidance, overlays, or secondary sources were enabled.

Use the same workload for the baseline and candidate measurement. A faster run with fewer inputs or a warm cache is not evidence that the original path improved.

Divide the Pipeline into Stages

At minimum, time these boundaries independently:

  1. request validation and source discovery;
  2. availability checks and fallback selection;
  3. network transfer or cache read;
  4. parsing or decoding;
  5. supplemental-data retrieval;
  6. profile, grid, or derived-value construction;
  7. visualization or export;
  8. cleanup and final publication.

Add sub-stages only where the first pass shows meaningful time. Preserve the existing behavior while instrumenting; diagnostics must not silently disable expensive work.

Lightweight Timing Example

Use a monotonic clock and emit structured records that can be compared across runs:

import json
import time
from contextlib import contextmanager


@contextmanager
def timed_stage(name, report):
    started = time.perf_counter()
    outcome = "ok"
    try:
        yield
    except BaseException:
        outcome = "error"
        raise
    finally:
        report.append({
            "stage": name,
            "outcome": outcome,
            "seconds": round(time.perf_counter() - started, 6),
        })


timings = []
with timed_stage("source_discovery", timings):
    source = discover_source()
with timed_stage("transfer", timings):
    local_path = fetch_source(source)
with timed_stage("processing", timings):
    result = build_result(local_path)

print(json.dumps(timings, sort_keys=True))

Instrument production boundaries or the same public APIs used by production. Avoid a benchmark helper that bypasses the path users report as slow.

Interpret the Evidence

  • Long discovery with little transfer suggests broad listings, excessive retries, provider timeouts, or repeated availability probes.
  • Long transfer with expected parsing time suggests bandwidth, object size, throttling, or failure to reuse a valid cache.
  • Long parsing requires proof that the intended backend is active and that the input volume is comparable.
  • Long processing after parsing points to interpolation, secondary retrieval, profile construction, or repeated computation.
  • Long rendering can come from layout, rasterization, font loading, excessive redraws, or large output dimensions.
  • High variance across identical runs suggests external services, contention, cold starts, garbage collection, or uncontrolled parallelism.

Measure wall time, CPU time, bytes, item counts, cache state, and worker count where they explain the result. A single total duration cannot locate a bottleneck.

Validate a Fix

  1. Preserve the baseline report and environment description.
  2. Change the smallest shared cause supported by the measurements.
  3. Rerun the identical workload several times in the same cache state.
  4. Compare the affected stage, total duration, output identity, and resource use.
  5. Run correctness tests for the changed path.
  6. Report both improvement and measurement variability.

…

अक्सर पूछे जाने वाले सवाल

मैं सिर्फ़ कुल समय क्यों न नापूँ?

कुल समय से यह पता नहीं चलता कि कौन-सा हिस्सा धीमा है। यह ऐसा है जैसे पता हो कि सफ़र में देर लगी, लेकिन यह न पता हो कि ट्रैफ़िक, रुकावट या मंज़िल पर लगे समय में से किसकी वजह से।

'stages' क्या हैं?

ये प्रक्रिया के अलग-अलग हिस्से हैं, जैसे डेटा डाउनलोड करना, डेटा पढ़ना, गणनाएँ करना और डिस्प्ले के लिए तैयारी करना।

क्या इसके लिए मुझे अपना कोड बदलना होगा?

थोड़ा बदलना होगा। नापने के लिए आपको अपनी प्रक्रिया के हर स्टेप में छोटे टाइमिंग मापक जोड़ने होंगे, ताकि टूल रिकॉर्ड कर सके कि हर एक में कितना समय लगता है।

जानकारी

लेखक का मूल विवरण

Diagnose slow weather-data workflows by measuring discovery, transfer, parsing, scientific processing, and rendering separately before changing code.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#6149
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills