Documentation Index
Fetch the complete documentation index at: https://mintlify.com/OdintheDoggo/GodotNWS/llms.txt
Use this file to discover all available pages before exploring further.
ObservationPacket is a typed Resource containing the latest surface observations from the NWS station nearest to the configured location. It is emitted as a single object (not an array) by the observations_fetched signal after calling Nws.fetch_current_observations(). Unlike forecast data, observations reflect what the station actually recorded at the time of the most recent report.
Not all stations report every measurement. Fields for which the station did not report a value will be
0.0 (the GDScript default for float). Always check whether a value is meaningful before displaying it — for example, a windChill of 0.0 could mean no wind chill data was available, not that the wind chill is actually 0°C. The raw dictionary can be used to distinguish a genuine zero from a missing value.Fields
The complete, unmodified JSON properties object from the NWS observations API. Use this to access any measurement not explicitly mapped by
ObservationPacket.The URL of the observation station that provided this data (e.g.
"https://api.weather.gov/stations/KAUS").The ISO 8601 timestamp of the observation (e.g.
"2024-06-15T18:53:00+00:00"). This is the time the measurement was recorded, not when it was fetched.The raw METAR string for this observation, if available (e.g.
"KAUS 151853Z 18012KT 10SM FEW050 32/18 A2990"). Empty if the station does not issue METARs.A short human-readable description of current conditions, such as
"Mostly Cloudy" or "Rain". Suitable for direct display.A loaded
ImageTexture of the NWS conditions icon. null unless fetch_icon: true was passed to fetch_current_observations().The direct URL to the NWS conditions icon PNG. Always populated when the station provides one, regardless of the
fetch_icon flag.The first present weather phenomenon descriptor reported by the station (e.g.
"rain", "fog", "thunderstorm"). Empty if no present weather was reported.The current air temperature in Celsius.
The current dewpoint temperature in Celsius.
0.0 if not reported.The wind direction in degrees (0° = North, 90° = East).
0.0 if winds are calm or not reported.The sustained wind speed in m/s.
0.0 if calm or not reported.The peak wind gust speed in m/s.
0.0 if no gusts were reported.The station-level barometric pressure in Pascals.
0.0 if not reported. Divide by 100 to convert to hPa/mbar.The sea-level adjusted pressure in Pascals.
0.0 if not reported. More comparable across stations at different elevations than barometricPressure.Horizontal visibility in meters.
0.0 if not reported. Divide by 1000 for kilometers, or multiply by 0.000621371 for miles.The maximum temperature recorded in the past 24 hours in Celsius.
0.0 if not reported.The minimum temperature recorded in the past 24 hours in Celsius.
0.0 if not reported.Precipitation accumulation in the past hour in millimeters.
0.0 if not reported or no precipitation occurred.Precipitation accumulation over the past 3 hours in millimeters.
0.0 if not reported.Precipitation accumulation over the past 6 hours in millimeters.
0.0 if not reported.The relative humidity as a percentage (
0–100). 0.0 if not reported.The wind chill temperature in Celsius. Only meaningful when temperatures are below 10°C and winds are above 4.8 km/h.
0.0 if not reported or conditions don’t produce wind chill.The heat index (“feels like”) temperature in Celsius. Only meaningful at high temperatures and humidity.
0.0 if not reported or conditions don’t produce a heat index.The amount descriptor for the lowest reported cloud layer, such as
"FEW", "SCT" (scattered), "BKN" (broken), or "OVC" (overcast). Empty if no cloud data was reported.The height of the base of the lowest cloud layer in meters.
0.0 if not reported.