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

    Point forecast timestamp timezone query

    Scheduled Pinned Locked Moved Windy API v4
    3 Posts 3 Posters 1.1k Views 2 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.
    • R Offline
      rob.burgess
      last edited by

      I have a query regarding the point forecasting docs, specifically the timezone of the returned timestamps.

      It concerns this section specifically: For example at the surface altitude the value of temp-surface[5] in the units defined as units["temp-surface"] contains the temperature for a timestamp ts[5] of the local time for given spatial coordinates.

      Does this mean the coordinates are used to determine the timezone of the data returned?

      Or are the times returned in local timezone for me the user?

      For example, I'm based in the UK. If I queried the GFS wave model for somewhere in the Indian Ocean, what timezone is that data returned in? "Indian/Maldives" (UTC+5) or "Europe/London" (UTC+01, ie BST)

      Wouldn't it be simpler to return everything in UTC+00?

      KorinaK 1 Reply Last reply Reply Quote 0
      • KorinaK Offline
        Korina @rob.burgess
        last edited by

        @rob-burgess Hello, as the documentation says, the values are returned in local time:
        "The sizes of all returned arrays are identical and the indexes mutually correspond. For example at the surface altitude the value of temp-surface[5] in the units defined as units["temp-surface"] contains the temperature for a timestamp ts[5] of the local time for given spatial coordinates."

        Korina

        John Weather 2J 1 Reply Last reply Reply Quote 0
        • John Weather 2J Offline
          John Weather 2 @Korina
          last edited by

          @Korina Hi, if there is no historic data in point forecast why i have in response ts[0] = '2023-08-13 21:00:00' if local time for point now is '2023-08-14 13:00'? (lat: 42.75, lon: 132.60)

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