@squawk
    Preparing search index...
    • Fetches all currently active domestic (CONUS) SIGMETs from the Aviation Weather Center and parses each bulletin.

      The AWC airsigmet endpoint is not station-filtered; it returns the full current set. Multiple SIGMETs come back concatenated in one response body, wrapped in AWC-specific Type: X Hazard: Y preamble lines and separated by a line of dashes. These wrappers are stripped before each bulletin is parsed, so the bodies reaching parseSigmet are standard WMO-format SIGMET bulletins.

      import { fetchSigmets } from '@squawk/weather/fetch';

      const { sigmets } = await fetchSigmets({ hazard: 'turb' });
      for (const sigmet of sigmets) {
      console.log(sigmet.format);
      }

      Parameters

      Returns Promise<FetchSigmetsResult>

      The parsed SIGMETs, any per-bulletin parse errors, and the raw body.