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

    Current time from progress bar

    Developers
    2
    5
    1.7k
    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
      jakubvrana | Premium
      last edited by

      Is it possible to get the current time displayed on the progress bar? store.get('path') gives me the time used by the model and e.g. ECMWF has a 3 hours precision. I have some data with an hourly precision which I want to display in Windy and I want them to match the time on the progress bar.

      siimS 1 Reply Last reply Reply Quote 0
      • siimS
        siim @jakubvrana
        last edited by

        @jakubvrana
        maybe this one works: store.get('timestamp')

        jakubvranaJ 1 Reply Last reply Reply Quote 1
        • jakubvranaJ
          jakubvrana | Premium
          last edited by

          Thanks, that's it.

          1 Reply Last reply Reply Quote 0
          • jakubvranaJ
            jakubvrana | Premium
            last edited by

            It's documented at https://api.windy.com/map-forecast/examples/parameters

            1 Reply Last reply Reply Quote 0
            • jakubvranaJ
              jakubvrana @siim | Premium
              last edited by

              The timestamp change can be observed with store.on('timestamp', fn) as documented at https://api.windy.com/map-forecast/docs.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
              NodeBB & contributors, OSM & contributors, HERE maps
              Terms of Use     Privacy Policy