WF - weather forecast

WF: weather forecast (max/min temperature, chance of rain, conditions…)

Syntax

wf(type, day, [hours])

Arguments

  • type: Info type, see examples
  • day: Forecast day index (0 is today)
  • hours: Forecast hours offset (for hourly weather, 3 means 3 hours from now plus days * 24)

Examples

FormulaDescription
$wf(min, 0)$°$wi(tempu)$Today's min temperature in local unit
$wf(max, 0)$°$wi(tempu)$Today's max temperature in local unit
$wf(cond, 0)$Today's forecast condition
$wf(icon, 0)$Today's forecast icon, one of: UNKNOWN, TORNADO, TSTORM, TSHOWER, SHOWER, RAIN, SLEET, LSNOW, SNOW, HAIL, FOG, WINDY, PCLOUDY, MCLOUDY, CLEAR
$wf(code, 0)$Today's forecast code, one of: TORNADO, TROPICAL_STORM, HURRICANE, SEVERE_THUNDERSTORMS, THUNDERSTORMS, MIXED_RAIN_SNOW, MIXED_RAIN_SLEET, MIXED_SNOW_SLEET, FREEZING_DRIZZLE, DRIZZLE, FREEZING_RAIN, SHOWERS, HEAVY_SHOWERS, SNOW_FLURRIES, LIGHT_SNOW_SHOWERS, BLOWING_SNOW, SNOW, HAIL, SLEET, DUST, FOGGY, HAZE, SMOKY, BLUSTERY, WINDY, CLOUDY, MOSTLY_CLOUDY, PARTLY_CLOUDY, CLEAR, FAIR, MIXED_RAIN_AND_HAIL, ISOLATED_THUNDERSTORMS, SCATTERED_SHOWERS, HEAVY_SNOW, SCATTERED_SNOW_SHOWERS, THUNDERSHOWERS, SNOW_SHOWERS, ISOLATED_THUNDERSHOWERS, NOT_AVAILABLE
$wf(rainc, 0)$%Today's chance of rain in percentage (if available)
$wf(rain, 0)$mmToday's precipitations in mm (if available)
$wf(temp, 0, 0)$°$wi(tempu)$Next hour temperature in local unit (if available)
$wf(cond, 0, 3)$Weather condition 3 hours from now (if available)
$df("hh:mma", wf(start, 0, 4))$ - $df("hh:mma", wf(end, 0, 4))$Start - End of validity of hourly forecast 4 hours from now (if available)
$wf(rainc, 0, 12)$%Chance 12 hours from now in percentage (if available)
$wf(wchill, 0)$$tc(utf, b0)$$wi(tempu)$Wind Chill in local unit
$wf(wspeed, 0)$$li(spdu)$Wind Speed in local unit (kmh/mph)
$wf(wspeedm, 0)$mpsWind Speed in meters per second
$wf(wdir, 0)$Wind Direction in degrees
$wf(hum, 0)$%Current humidity in percent
$wf(clouds, 0)$%Current cloud coverage in percent (if available)
$wf(press, 0)$mbarCurrent pressure in Millibars
$wf(minc, 0)$°CToday's min temperature in local unit
$wf(maxc, 0)$°CToday's max temperature in local unit



Privacy Policy