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

    Swell data not showing

    Windy API v4
    2
    2
    325
    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
      dhummeling
      last edited by dhummeling

      Hi! We're working on an intranet website, that shows maps with different options (swell, wind, temp, etc.). When we use the "swell1" overlay, the data won't show on the map, but if we use the "currents" overlay, the data shows perfectly fine.

      The code we're using which doesn't work:

       const options = {
                  // Required: API key
                  key: 'redacted for security reasons',
                  //2nd api key: FTV89NCJKfXabcciSAdoozXQgXHr3XIQ
                  // Put additional console output
                  verbose: true,
                  // Optional: Initial state of the map
                  lat: 50,
                  lon: 8,
                  zoom: 4,	
                  //product: 'ecmwfWaves',	
                  overlay: "swell1" ,
            hourFormat: '24h',
      particlesAnim: 'off',
      

      *Note: We've tried with the "product" option, and without. Neither works.

      The code that does work:

        const options = {
                  // Required: API key
                  key: 'redacted for security reasons',
                  //2nd api key: FTV89NCJKfXabcciSAdoozXQgXHr3XIQ
                  // Put additional console output
                  verbose: true,
                  // Optional: Initial state of the map
                  lat: 50,
                  lon: 8,
                  zoom: 4,	
                  overlay: 'currents',	
            hourFormat: '24h',
      particlesAnim: 'off',
      

      This is the page we see when with the swell overlay:
      swell.PNG

      This is the page we see with the currents overlay:
      currents.PNG

      Is there anything we're missing, or doing wrong?
      If there is any other information needed, please let us know :)

      Edit: I just saw that the option "swell" is not available in the options that are on the right side of the screen. Could that be the cause?
      legenda.PNG

      KorinaK 1 Reply Last reply Reply Quote 0
      • KorinaK
        Korina @dhummeling
        last edited by

        @dhummeling Hello, our team will look into this next week. Thank you for report.

        Korina

        1 Reply Last reply Reply Quote 1
        • 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