Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Explanation of forecast data

    Scheduled Pinned Locked Moved Windy Plugins
    2 Posts 2 Posters 1.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jakubvranaJ Offline
      jakubvrana | Premium
      last edited by

      The forecast from pluginDataLoader has these fields:

      cbase: 4552
      convPrecip: 0.1
      day: "2019-11-05"
      dewPoint: 278.5
      gust: 8.0132
      hour: 12
      icon: 20
      icon2: 20
      isDay: 1
      mm: 0.2
      moonPhase: 7
      origDate: "2019-11-05T13:00:00+01:00"
      origTs: 1572955200000
      pressure: 99904.47
      rain: 1
      rh: 76
      snow: 0
      snowPrecip: 0
      temp: 282.5
      ts: 1572951600000
      weathercode: "OVC,CU,CS,,-,RA,,"
      wind: 3.7
      windDir: 234
      

      Most of them are pretty self explanatory but can you please explain the meaning of icon, icon2, moonPhase and weathercode? Ideally at https://github.com/windycom/windy-plugins/blob/master/docs/WINDY_API.md#module-plugindataloader.

      I'm interested mainly in displaying a simple weather icon - sunny, cloudy, rainy.

      1 Reply Last reply Reply Quote 0
      • marekdM Offline
        marekd Windy Staff
        last edited by marekd

        @jakubvrana These parameters are basically for inner systems. It was not intended for public use. icon is a number used for printing weather icon, icon2 is a new version of the same. These values are basically got from the weathercode and also from other parameters. And for the night icon we are using moonPhase to partly/fully fill the moon.

        Feel free to write me using chat for more information.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Windy Community  |  Powered by excellent NodeBB
        Terms of Use     Privacy Policy     Windy.com