Navigation

    Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    1. Home
    2. dhummeling
    D
    • Profile
    • Following 0
    • Followers 1
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    dhummeling

    @dhummeling

    0
    Reputation
    1
    Profile views
    1
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    dhummeling Unfollow Follow

    Latest posts made by dhummeling

    • Swell data not showing

      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

      posted in Windy API v4
      D
      dhummeling