Navigation

    Windy Community

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

    Owlet

    @Owlet

    2
    Reputation
    17
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Owlet Unfollow Follow

    Best posts made by Owlet

    • Embedding Windy with plugins

      I'm new to javascript so sorry if this is a stupid question, but is there a way to embed Windy into a website along with a plugin written with windy-plugin (using unpkg too pull from npm)?

      I tried but it returns Uncaught TypeError: W.loadPlugin is not a function.

      posted in Windy Plugins
      O
      Owlet

    Latest posts made by Owlet

    • Embedding Windy with plugins

      I'm new to javascript so sorry if this is a stupid question, but is there a way to embed Windy into a website along with a plugin written with windy-plugin (using unpkg too pull from npm)?

      I tried but it returns Uncaught TypeError: W.loadPlugin is not a function.

      posted in Windy Plugins
      O
      Owlet
    • RE: Interpolate at higher elevations

      @rittels thanks - works perfectly!

      posted in Windy Plugins
      O
      Owlet
    • RE: Interpolate at higher elevations

      Is it possible to do this programmatically - I set.store('layer', '100m') and then run interpolate({lat,lon}), but when I check the result it returns ground level. Code is below...

      store.set('level', '100m');
      
      interpolator(interpolatorFun => {
      	for (const site of json_file.features) {
      		let wind;
      		let lat = site.geometry.coordinates[1];
      		let lon = site.geometry.coordinates[0];
      		const data = interpolatorFun({lat,lon}, 1);
      		wind = data && utils.wind2obj(data);
      		const marker = L.circleMarker([lat, lon], wellStyle()).addTo(map);
      		let tooltip = '<div>' + wind.wind.toFixed(1) + ' m/s <br />' + '</div>';
      		marker.bindPopup(tooltip);
      	}
      })
      

      ![output](e48edc4f-df38-4d52-9b03-382d3b67b9b8-image.png

      posted in Windy Plugins
      O
      Owlet
    • Interpolate at higher elevations

      Is it possible to return the windspeed at higher elevations? Interpolate seems to only return wind speed at ground level.

      posted in Windy Plugins
      O
      Owlet