UNPKG

ws-dottie

Version:

Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration

2 lines 5.31 kB
import {b}from'./chunk-ADNUROX2.mjs';import {a}from'./chunk-6REGGRVO.mjs';var t=a.object({}).describe("Input parameters for listing subsurface measurements from all stations.");var s=a.object({SensorId:a.number().optional().describe("Numeric ID of the subsurface sensor."),SubSurfaceTemperature:a.number().optional().describe("Temperature from sensor embedded 12-18 inches below road pavement in degrees Celsius.")}).describe("Subsurface sensor measurements including ground temperature from sensors embedded below road pavement.");var m=a.object({}).describe("Input parameters for listing surface measurements from all stations.");var l=a.object({SensorId:a.number().optional().describe("Numeric ID of the surface sensor."),SurfaceTemperature:a.number().optional().describe("Current pavement surface temperature in degrees Celsius."),RoadFreezingTemperature:a.number().optional().describe("Freezing point of moisture on pavement based on chemical treatment in degrees Celsius."),RoadSurfaceCondition:a.number().optional().describe("Code indicating road surface condition: 101 = Dry, 102 = Wet, 103 = Moist, 104 = Ice, 105 = Snow, 108 = Unknown/Other.")}).describe("Surface sensor measurements including pavement temperature, road freezing temperature, and surface condition code from sensors embedded in or mounted on road surfaces.");var f=a.object({}).describe("Input parameters for listing comprehensive weather readings from all stations.");var v=a.object({StationId:a.string().describe("National Weather Service assigned station identifier code."),StationName:a.string().describe("Display name of the weather station."),Latitude:a.number().describe("Latitude of the weather station in decimal degrees."),Longitude:a.number().describe("Longitude of the weather station in decimal degrees."),Elevation:a.int().describe("Elevation of the weather station above sea level in meters."),ReadingTime:b().nullable().describe("UTC datetime when the comprehensive weather reading was taken (ISO-8601 format)."),AirTemperature:a.number().nullable().describe("Current air temperature in degrees Celsius."),RelativeHumidty:a.int().nullable().describe("Relative humidity as a percentage (0-100)."),AverageWindSpeed:a.int().nullable().describe("Average wind speed during evaluation cycle in kilometers per hour."),AverageWindDirection:a.int().nullable().describe("Average wind direction in degrees clockwise from north (0-359)."),WindGust:a.int().nullable().describe("Maximum wind gust speed during evaluation cycle in kilometers per hour."),Visibility:a.int().nullable().describe("Average visibility distance in meters (computed every 3 minutes)."),PrecipitationIntensity:a.int().nullable().describe("Precipitation intensity derived from precipitation rate (intensity units)."),PrecipitationType:a.int().nullable().describe("Code indicating precipitation type: 0 = none, 1 = rain, 2 = snow."),PrecipitationPast1Hour:a.number().nullable().describe("Precipitation amount (liquid equivalent) for previous 1 hour in millimeters."),PrecipitationPast3Hours:a.number().nullable().describe("Precipitation amount (liquid equivalent) for previous 3 hours in millimeters."),PrecipitationPast6Hours:a.number().nullable().describe("Precipitation amount (liquid equivalent) for previous 6 hours in millimeters."),PrecipitationPast12Hours:a.number().nullable().describe("Precipitation amount (liquid equivalent) for previous 12 hours in millimeters."),PrecipitationPast24Hours:a.number().nullable().describe("Precipitation amount (liquid equivalent) for previous 24 hours in millimeters."),PrecipitationAccumulation:a.number().nullable().describe("Precipitation amount (liquid equivalent) from midnight GMT to current time in millimeters."),BarometricPressure:a.int().nullable().describe("Atmospheric pressure in millibars (not adjusted for elevation)."),SnowDepth:a.int().nullable().describe("Snow depth on representative areas excluding highway pavement in centimeters."),SurfaceMeasurements:a.array(a.object({SensorId:a.int().describe("Numeric ID of the surface sensor."),SurfaceTemperature:a.number().nullable().describe("Current pavement surface temperature in degrees Celsius."),RoadFreezingTemperature:a.number().nullable().describe("Freezing point of moisture on pavement based on chemical treatment in degrees Celsius."),RoadSurfaceCondition:a.number().nullable().describe("Code indicating road surface condition: 101 = Dry, 102 = Wet, 103 = Moist, 104 = Ice, 105 = Snow.")})).nullable().describe("Array of surface sensor measurements including pavement temperature, freezing temperature, and condition codes."),SubSurfaceMeasurements:a.array(a.object({SensorId:a.int().describe("Numeric ID of the subsurface sensor."),SubSurfaceTemperature:a.number().nullable().describe("Temperature from sensor embedded 12-18 inches below road pavement in degrees Celsius.")})).nullable().describe("Array of subsurface sensor measurements including ground temperature from sensors embedded below pavement.")}).describe("Comprehensive weather reading from a WSDOT weather station, including atmospheric conditions, precipitation across multiple time periods, and surface/subsurface sensor measurements.");export{t as a,s as b,m as c,l as d,f as e,v as f};//# sourceMappingURL=chunk-VLWOUNWV.mjs.map //# sourceMappingURL=chunk-VLWOUNWV.mjs.map