{"ok":true,"site":"weather","host":"weather.gov","about":"National Weather Service (weather.gov / api.weather.gov): look up US forecasts by lat/lon or NWS grid point, active alerts, weather stations and their latest observations, forecast-office text products (e.g. Area Forecast Discussions), zone boundary KML, DWML forecast export, and weather glossary terms.","commands":[{"command":"get-point","summary":"Resolve a lat/lon to its NWS forecast office, grid x/y, forecast URLs, forecast zone, county and nearby city. Run this first to get the wfo/x/y that the forecast commands take.","params":[{"name":"lat","type":"number","required":true,"description":"Latitude in decimal degrees, at most 4 decimals, e.g. 39.7456"},{"name":"lon","type":"number","required":true,"description":"Longitude in decimal degrees, at most 4 decimals. Negative for the western hemisphere, e.g. -97.0892"}],"exampleUrl":"https://clify-dev.netlify.app/weather/get-point"},{"command":"get-forecast","summary":"Get the 7-day forecast (day/night periods) for an NWS grid point (office + x,y from get-point).","params":[{"name":"wfo","type":"string","required":true,"description":"Forecast office ID (gridId from get-point), e.g. TOP, BOU, MFL"},{"name":"x","type":"number","required":true,"description":"Grid X (gridX from get-point)"},{"name":"y","type":"number","required":true,"description":"Grid Y (gridY from get-point)"},{"name":"units","type":"string","description":"Unit system: us (imperial) or si (metric)","oneOf":["us","si"]}],"exampleUrl":"https://clify-dev.netlify.app/weather/get-forecast"},{"command":"get-hourly-forecast","summary":"Get the hour-by-hour forecast (about 7 days) for an NWS grid point.","params":[{"name":"wfo","type":"string","required":true,"description":"Forecast office ID (gridId from get-point), e.g. TOP"},{"name":"x","type":"number","required":true,"description":"Grid X (gridX from get-point)"},{"name":"y","type":"number","required":true,"description":"Grid Y (gridY from get-point)"},{"name":"units","type":"string","description":"Unit system: us (imperial) or si (metric)","oneOf":["us","si"]}],"exampleUrl":"https://clify-dev.netlify.app/weather/get-hourly-forecast"},{"command":"list-active-alerts","summary":"List currently active NWS watches, warnings and advisories. Filter by state/marine area, zone, event type, severity or urgency.","params":[{"name":"area","type":"string","description":"State or marine area code, e.g. CO, FL, TX"},{"name":"zone","type":"string","description":"Forecast or county zone ID, e.g. COZ040 or COC031"},{"name":"event","type":"string","description":"Event name, e.g. 'Winter Storm Warning', 'Red Flag Warning'"},{"name":"severity","type":"string","description":"Alert severity","oneOf":["Extreme","Severe","Moderate","Minor","Unknown"]},{"name":"urgency","type":"string","description":"Alert urgency","oneOf":["Immediate","Expected","Future","Past","Unknown"]}],"exampleUrl":"https://clify-dev.netlify.app/weather/list-active-alerts?area=CO"},{"command":"list-stations","summary":"List NWS observation stations, optionally filtered by state. Returns station IDs for get-latest-observation.","params":[{"name":"state","type":"string","description":"Two-letter state code, e.g. CO"},{"name":"api_limit","type":"number","description":"Maximum number of stations to return (max 500) (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":50}],"exampleUrl":"https://clify-dev.netlify.app/weather/list-stations?state=CO"},{"command":"get-latest-observation","summary":"Get the latest current-conditions observation from a station: temperature, dewpoint, wind, pressure, humidity and sky text.","params":[{"name":"station","type":"string","required":true,"description":"Station ID (ICAO), e.g. KDEN, KMIA"}],"exampleUrl":"https://clify-dev.netlify.app/weather/get-latest-observation"},{"command":"list-office-products","summary":"List issued text products of one type from a forecast office, newest first (e.g. Area Forecast Discussions from BOU).","params":[{"name":"type","type":"string","required":true,"description":"Product type code, e.g. AFD (Area Forecast Discussion), HWO (Hazardous Weather Outlook), ZFP (Zone Forecast Product)"},{"name":"office","type":"string","required":true,"description":"Issuing office / location ID, e.g. BOU, MFL, TOP"}],"exampleUrl":"https://clify-dev.netlify.app/weather/list-office-products"},{"command":"get-latest-product","summary":"Get the full text of the most recent product of a type from an office, e.g. the latest Area Forecast Discussion.","params":[{"name":"type","type":"string","required":true,"description":"Product type code, e.g. AFD, HWO, ZFP"},{"name":"office","type":"string","required":true,"description":"Issuing office / location ID, e.g. BOU"}],"exampleUrl":"https://clify-dev.netlify.app/weather/get-latest-product"},{"command":"export-forecast-dwml","summary":"Export the point forecast as DWML (NWS Digital Weather Markup Language, converted to JSON): time layouts, temperatures, precipitation probabilities, weather and current observations for a lat/lon.","params":[{"name":"lat","type":"number","required":true,"description":"Latitude in decimal degrees, e.g. 39.7456"},{"name":"lon","type":"number","required":true,"description":"Longitude in decimal degrees, e.g. -97.0892"}],"exampleUrl":"https://clify-dev.netlify.app/weather/export-forecast-dwml?lat=39.7456&lon=-97.0892"},{"command":"get-zone-boundary","summary":"Get the KML boundary polygon and description (area name) of an NWS public forecast zone.","params":[{"name":"zone","type":"string","required":true,"description":"Forecast zone ID: state + Z + 3 digits, e.g. COZ040"}],"exampleUrl":"https://clify-dev.netlify.app/weather/get-zone-boundary"},{"command":"lookup-glossary-term","summary":"Look up the definition of a weather term in the NWS glossary.","params":[{"name":"word","type":"string","required":true,"description":"Term to look up, e.g. trough, dewpoint, derecho"}],"exampleUrl":"https://clify-dev.netlify.app/weather/lookup-glossary-term?word=trough"}]}