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

    Mapping between API response and weather icons

    Scheduled Pinned Locked Moved Developers
    4 Posts 2 Posters 1.4k 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.
    • S Offline
      sdolotom
      last edited by

      Hello,
      I am using windy API for a custom weather forecast widget. How can I map the response data to the weather summary icon (cloudy, sunny, rainy, etc)? I can't find anything related in the API docs.

      Filip_KF 1 Reply Last reply Reply Quote 0
      • Filip_KF Offline
        Filip_K Windy Staff @sdolotom
        last edited by

        Hello @sdolotom. Are you referring to ptype parameter? If so, check Parameters section of docs https://api.windy.com/point-forecast/docs#parameters

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdolotom @Filip_K
          last edited by

          @filip_k Hello! ptype gives the precipitation info, yes. But how do I e.g. derive the cloud cover summary from the three values lclouds, mclouds and hclouds? I mean, how to convert them to "cloudy", "partly cloudy" etc?

          Filip_KF 1 Reply Last reply Reply Quote 0
          • Filip_KF Offline
            Filip_K Windy Staff @sdolotom
            last edited by

            @sdolotom There is no only right way to do so. You could perhaps have a look at what meteoblue has to say about this topic (section Quantification of cloud cover) https://content.meteoblue.com/en/specifications/weather-variables/clouds

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