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

    Same request but different image

    General Discussion
    3
    5
    293
    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.
    • D
      dmbakker
      last edited by

      I have been accessing Windy.com capturing the current atmospheric conditions in the form of screenshots.
      In a Python program I call:
      "https://www.windy.com/-PM2-5-pm2p5?cams,pm2p5,31.199,73.652,7,i:pressure,m:exLaieX" and I always get the image including the What's New in Versions 47 advertisement, see image. However when I type the call in my browser is gives me the "clean" image without the Advertisement. see 2nd image. The advertisement is not the problem (I understand the need to advertise) if it would be superimposed on the image, but it moves the image across. Why would this be? The same call/request but a different result.
      CLEAN.jpg screenshot_PM25-2025-10-08_08-44-20.png

      1 Reply Last reply Reply Quote 0
      • selverobS
        selverob Administrator
        last edited by

        Hello there :) Accessing Windy.com programmatically is not exactly a use case we are focusing on. However, we do have some options for developers that could make it easier for you. Could you please tell me more about your use case? I might be able to suggest some ways that would be better for you.

        D 1 Reply Last reply Reply Quote 0
        • D
          dmbakker @selverob
          last edited by

          Thanks for replying. I access the respective images of SO2, NO2 and PM2.5 every hour using the address mentioned before (for PM2.5) and then for a particular location (x,y) grid point on the image I get the RGB value, and then convert the RGB values to a concentration. In this way I can track the concentrations over time for a given location for research purposes. It's only when the PM2.5 image comes up the image is shifted to make way for the advertisement. I don't know why it only pops up when I access the PM2.5 image, but also why it happens when I access the website via Google Chrome via Python code, and it doesn't happen when I use the address by itself via Google Chrome
          .

          rittelsR selverobS 2 Replies Last reply Reply Quote 0
          • rittelsR
            rittels Code contributor @dmbakker | Premium
            last edited by

            @dmbakker The fact that the promo was displayed is stored in the browser's indexedDB, as seenPromos.

            If you load the page programmatically, you have to ensure that indexedDB is stored, similar to the browser.

            1 Reply Last reply Reply Quote 0
            • selverobS
              selverob Administrator @dmbakker
              last edited by

              @dmbakker If you want to get air quality data for a specific location, I would recommend using our Point Forecast API and just fetching the data directly.

              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