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

    Isolines, raster layer and particle speed in a paid API

    Scheduled Pinned Locked Moved Windy API v4
    16 Posts 3 Posters 5.8k 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.
    • marekdM Offline
      marekd Windy Staff
      last edited by

      @saaneuvos Sorry about the delay.

      1. Isobars are generated server-side. If there are no isobars you are looking for, there is no any other option. Sorry.
      2. Take a look at https://api4.windy.com/examples/parameters/, you can run W.store.getAllowed('isolines') from, for example, debug console on the page you run Windy Map. And you will see off in the list :-)
      3. You have to create your own and change them on click.
      4. You can use undocummented settings for particles, for example: W.store.set('particles', {"multiplier":0.5,"velocity":1.4,"width":0.5,"blending":1.05,"opacity":1.5}) and rerender your map. Feel free to investigate what all these attributes do. You must handle specific particle settings for layers/maps on your own.
      5. No, it i not possible.
      6. Same as number 1., sorry.
      7. No, every layer is rendered as canvas objects.
      C 1 Reply Last reply Reply Quote 0
      • saaneuvosS Offline
        saaneuvos | Premium
        last edited by

        @marekd thanks for your time! I've never coded before and everything is very new for me... I know your job is not to teach coding, but could tell me what is wrong in my JS:
        W.store.set('isolines', 'off')

        I have made everything straight to my public folder knowing nothing about debug console ;)

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

          I am affraid I am not able to help you with that. Go through all examples at https://api4.windy.com/, especially focus on https://api4.windy.com/examples/parameters/ and google, google and google :-) Hope you will make it work!

          saaneuvosS 2 Replies Last reply Reply Quote 0
          • saaneuvosS Offline
            saaneuvos @marekd | Premium
            last edited by

            @marekd I meant. Is this wrong way to avoid showing any isolines?

            W.store.set('isolines', 'off')

            1 Reply Last reply Reply Quote 0
            • saaneuvosS Offline
              saaneuvos @marekd | Premium
              last edited by

              @marekd I would say that there is bug in the API4 code! When using 'gh', 'pressure', 'temp', 'deg0' in W.store.set('isolines', 'x'), every isolines are changing and working nicely. But using W.store.set('isolines', 'off') after the above options, always getting some random isoline in the map!!! It's seem to be the most used isoline...

              In higher level maps it would be ok to use gh-isolines, but then isolines had to be from same model than other data. Now gh comes always from ecmwf and it seems very confusing after couple of days ( when models start to differ). That's why it so important to get rid of "wrong" gh. Without any gh is better than wrong gh...

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

                @saaneuvos It works for me as expected, please, make your site with Windy Map public and send me URL as a private message into chat.

                1 Reply Last reply Reply Quote 0
                • saaneuvosS Offline
                  saaneuvos | Premium
                  last edited by

                  @marekd & co: This seem to be bigger problem I first realized. Do you have any estimation when this (probably CORS) will be fixed? The bug is causing problems to my parent sites. Even when I'm making changes to my test folder, which is not published anywhere in my sites, might broke my parent sites !?! API seem to use latest changes made (at least in isolines, particles)in my test folders also for the already published API pages...

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

                    If it brokes your page, you are doing something wrong. You must handle on your own to keep js errors in its scopes.
                    We will fix isolines, but now we are finishing some huge things with much higher priority. It will probably take us some time. If you need to publish your site, do not use isolines for now.

                    1 Reply Last reply Reply Quote 0
                    • saaneuvosS Offline
                      saaneuvos | Premium
                      last edited by

                      Hi, I have already published my sites, but can't make any updates to my site. If I don't determine any isolines, API try to use the last one used.. And it seem that there is the same problem with particles? So, it's better that I don't make any update to my sites before you fix the problem... Do you have any estimation, when that fix possible will happen. I know it's not big deal for you, but it is important for me as a paid customer.

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

                        I am really sorry, but I cannot promise you any date. If you do not want to use paid API anymore, send email to simona.polackova@windy.com. Simona will refund you.

                        saaneuvosS 1 Reply Last reply Reply Quote 0
                        • saaneuvosS Offline
                          saaneuvos @marekd | Premium
                          last edited by

                          @marekd weeks, months...?

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

                            @saaneuvos I hope weeks, but I really do not know it for sure.

                            saaneuvosS 1 Reply Last reply Reply Quote 0
                            • saaneuvosS Offline
                              saaneuvos @marekd | Premium
                              last edited by

                              @marekd Thanks

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

                                @saaneuvos check PM :-)

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  congjie.dai @marekd
                                  last edited by

                                  @marekd can i have a look at isolines source code

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