Skip to content

@windy/rootScope

Global constants and variables used in Windy.

Table of contents

Variables

Variables

acTimes

Const acTimes: readonly ["next12h", "next24h", "next36h", "next2d", "next48h", "next60h", "next3d", "next5d", "next10d"]

List of valid accumulation times


airQualityProducts

Const airQualityProducts: readonly ["cams", "camsEu"]

identifiers of air quality product


globalPointProducts

Const globalPointProducts: readonly ["gfs", "ecmwf", "ecmwfAifs", "icon", "mblue"]

Identifiers of global products, that have point forecast


globalProducts

Const globalProducts: readonly ["gfs", "ecmwf", "ecmwfAnalysis", "ecmwfAifs", "radar", "ecmwfWaves", "gfsWaves", "icon", "iconWaves", "capAlerts", "cams", "efi", "satellite", "cmems", "drought", "fireDanger", "activeFires"]

Identifiers of global products


isMobile

Const isMobile: boolean

IndicatesIndicates that that browsing device is mobile


isMobileOrTablet

Const isMobileOrTablet: boolean

Indicates that browsing device is mobile or tablet


isTablet

Const isTablet: boolean

Indicates that browsing device is tablet


levels

Const levels: readonly ["surface", "100m", "975h", "950h", "925h", "900h", "850h", "800h", "700h", "600h", "500h", "400h", "300h", "250h", "200h", "150h", "10h"]

Supported list of weather levels


localPointProducts

Const localPointProducts: readonly ["namConus", "namHawaii", "namAlaska", "iconD2", "iconEu", "iconEuWaves", "arome", "aromeAntilles", "aromeReunion", "canHrdps", "canRdwpsWaves", "hrrrAlaska", "hrrrConus", "bomAccess", "ukv", "jmaMsm", "jmaCwmWaves"]

identifiers of local products, that have point forecast


localProducts

Const localProducts: readonly ["nems", "namConus", "namHawaii", "namAlaska", "iconEu", "iconD2", "arome", "aromeAntilles", "aromeReunion", "canHrdps", "canRdwpsWaves", "camsEu", "iconEuWaves", "hrrrAlaska", "hrrrConus", "bomAccess", "ukv", "jmaMsm", "jmaCwmWaves"]

Identifier of products that cover only certain area


maxFavPoisDesktop

Const maxFavPoisDesktop: 7

Maximum number of fav POIs displayed in the GUI


overlays

Const overlays: readonly ["radar", "satellite", "wind", "gust", "gustAccu", "turbulence", "icing", "rain", "rainAccu", "snowAccu", "snowcover", "ptype", "thunder", "temp", "dewpoint", "rh", "deg0", "wetbulbtemp", "solarpower", "uvindex", "clouds", "hclouds", "mclouds", "lclouds", "fog", "cloudtop", "cbase", "visibility", "cape", "ccl", "waves", "swell1", "swell2", "swell3", "wwaves", "sst", "currents", "currentsTide", "no2", "pm2p5", "aod550", "gtco3", "tcso2", "go3", "cosc", "dustsm", "pressure", "efiTemp", "efiWind", "efiRain", "capAlerts", "soilMoisture40", "soilMoisture100", "moistureAnom40", "moistureAnom100", "drought40", "drought100", "fwi", "dfm10h"]

List of valid overlay identifiers


pluginsLocation

Const pluginsLocation: string

Location of internal Windy plugins TODO: Mobile apps have probably different location


pointProducts

Const pointProducts: readonly ["gfs", "ecmwf", "ecmwfAifs", "icon", "mblue", "namConus", "namHawaii", "namAlaska", "iconD2", "iconEu", "iconEuWaves", "arome", "aromeAntilles", "aromeReunion", "canHrdps", "canRdwpsWaves", "hrrrAlaska", "hrrrConus", "bomAccess", "ukv", "jmaMsm", "jmaCwmWaves"]

Identifiers of all point products combines


prefLang

Const prefLang: string

Preferred browsers' language (not the used one). Can contain language that is not supported by Windy


products

Const products: readonly ["gfs", "ecmwf", "ecmwfAnalysis", "ecmwfAifs", "radar", "ecmwfWaves", "gfsWaves", "icon", "iconWaves", "capAlerts", "cams", "efi", "satellite", "cmems", "drought", "fireDanger", "activeFires", "nems", "namConus", "namHawaii", "namAlaska", "iconEu", "iconD2", "arome", "aromeAntilles", "aromeReunion", "canHrdps", "canRdwpsWaves", "camsEu", "iconEuWaves", "hrrrAlaska", "hrrrConus", "bomAccess", "ukv", "jmaMsm", "jmaCwmWaves", "cams", "camsEu", "mblue"]

Identifiers of all land products combined


seaProducts

Const seaProducts: readonly ["ecmwfWaves", "gfsWaves", "iconWaves", "iconEuWaves", "canRdwpsWaves", "cmems", "jmaCwmWaves"]

Identifiers of sea products


supportedLanguages

Const supportedLanguages: readonly ["en", "zh-TW", "zh", "ja", "fr", "ko", "it", "ru", "nl", "cs", "tr", "pl", "sv", "fi", "ro", "el", "hu", "hr", "ca", "da", "ar", "fa", "hi", "ta", "sk", "uk", "bg", "he", "is", "lt", "et", "vi", "sl", "sr", "id", "th", "sq", "pt", "nb", "es", "de", "bn"]

List of Windy's supported languages


waveProducts

Const waveProducts: readonly ["ecmwfWaves", "gfsWaves", "iconWaves", "iconEuWaves", "jmaCwmWaves", "canRdwpsWaves"]

Identifiers of wave products, if product is not here, it will be considered as air product