@windy/rootScope
Global constants and variables used in Windy.
Table of contents
Variables
- airPointProducts
- airQualityProducts
- globalPointProducts
- globalProducts
- isDesktop
- isDesktopOrTablet
- isMobile
- isMobileOrTablet
- isTablet
- levels
- localPointProducts
- localProducts
- maxFavPoisDesktop
- overlays
- pluginsLocation
- pointProducts
- pollenProducts
- products
- seaProducts
- supportedLanguages
- waveProducts
Variables
airPointProducts
• Const airPointProducts: ("gfs" | "ecmwf" | "icon" | "cams" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeFrance" | "aromeReunion" | "canHrdps" | "canRdwpsWaves" | "camsEu" | "czeAladin" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "bomAccessAd" | "bomAccessBn" | "bomAccessDn" | "bomAccessNq" | "bomAccessPh" | "bomAccessSy" | "bomAccessVt" | "ukv" | "jmaMsm" | "jmaCwmWaves" | "mblue")[]
Point products that have air point forecast
airQualityProducts
• Const airQualityProducts: readonly ["cams", "camsEu"]
identifiers of air quality product
globalPointProducts
• Const globalPointProducts: readonly ["gfs", "ecmwf", "icon", "mblue", "cams"]
Identifiers of global products, that have point forecast
globalProducts
• Const globalProducts: readonly ["gfs", "ecmwf", "ecmwfAnalysis", "radar", "ecmwfWaves", "gfsWaves", "icon", "capAlerts", "cams", "efi", "satellite", "radarPlus", "cmems", "drought", "fireDanger", "activeFires", "topoMap"]
Identifiers of global products
isDesktop
• Const isDesktop: boolean
Indicates that that browsing device is desktop
isDesktopOrTablet
• Const isDesktopOrTablet: boolean
Indicates that browsing device is tablet or desktop
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", "aromeFrance", "aromeReunion", "canHrdps", "canRdwpsWaves", "czeAladin", "hrrrAlaska", "hrrrConus", "bomAccess", "bomAccessAd", "bomAccessBn", "bomAccessDn", "bomAccessNq", "bomAccessPh", "bomAccessSy", "bomAccessVt", "ukv", "jmaMsm", "jmaCwmWaves", "camsEu"]
identifiers of local products, that have point forecast
localProducts
• Const localProducts: readonly ["nems", "namConus", "namHawaii", "namAlaska", "iconEu", "iconD2", "arome", "aromeAntilles", "aromeFrance", "aromeReunion", "canHrdps", "canRdwpsWaves", "camsEu", "czeAladin", "iconEuWaves", "hrrrAlaska", "hrrrConus", "bomAccess", "bomAccessAd", "bomAccessBn", "bomAccessDn", "bomAccessNq", "bomAccessPh", "bomAccessSy", "bomAccessVt", "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", "radarPlus", "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", "aqi", "no2", "pm2p5", "aod550", "gtco3", "tcso2", "go3", "cosc", "dustsm", "pressure", "efiTemp", "efiWind", "efiRain", "capAlerts", "soilMoisture40", "soilMoisture100", "moistureAnom40", "moistureAnom100", "drought40", "drought100", "fwi", "dfm10h", "heatmaps", "topoMap", "hurricanes"]
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", "icon", "mblue", "cams", "namConus", "namHawaii", "namAlaska", "iconD2", "iconEu", "iconEuWaves", "arome", "aromeAntilles", "aromeFrance", "aromeReunion", "canHrdps", "canRdwpsWaves", "czeAladin", "hrrrAlaska", "hrrrConus", "bomAccess", "bomAccessAd", "bomAccessBn", "bomAccessDn", "bomAccessNq", "bomAccessPh", "bomAccessSy", "bomAccessVt", "ukv", "jmaMsm", "jmaCwmWaves", "camsEu"]
Identifiers of all point products combines
pollenProducts
• Const pollenProducts: Record<string, [longTranslation: keyof LoadedTranslations, shortTranslation: keyof LoadedTranslations]>
products
• Const products: readonly ["gfs", "ecmwf", "ecmwfAnalysis", "radar", "ecmwfWaves", "gfsWaves", "icon", "capAlerts", "cams", "efi", "satellite", "radarPlus", "cmems", "drought", "fireDanger", "activeFires", "topoMap", "nems", "namConus", "namHawaii", "namAlaska", "iconEu", "iconD2", "arome", "aromeAntilles", "aromeFrance", "aromeReunion", "canHrdps", "canRdwpsWaves", "camsEu", "czeAladin", "iconEuWaves", "hrrrAlaska", "hrrrConus", "bomAccess", "bomAccessAd", "bomAccessBn", "bomAccessDn", "bomAccessNq", "bomAccessPh", "bomAccessSy", "bomAccessVt", "ukv", "jmaMsm", "jmaCwmWaves", "cams", "camsEu", "mblue"]
Identifiers of all land products combined
seaProducts
• Const seaProducts: readonly ["ecmwfWaves", "gfsWaves", "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", "iconEuWaves", "jmaCwmWaves", "canRdwpsWaves"]
Identifiers of wave products, if product is not here, it will be considered as air product