<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Help running a new plugin - error on the Windy plugin page]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I've written a new plugin, called windy-plugin-skewt:</p>
<p dir="auto"><a href="https://github.com/johnckealy/windy-plugins-skewt" rel="nofollow ugc">https://github.com/johnckealy/windy-plugins-skewt</a></p>
<p dir="auto">I've successfully published it with npm, but when I try it out at <a href="https://www.windy.com/plugins" rel="nofollow ugc">https://www.windy.com/plugins</a>, I get the following error:</p>
<p dir="auto">TypeError: Plugin.instance is not a function</p>
<p dir="auto">The package.json info displays, it just won't run. I realise that's not much to go on, but is there any chance someone at windy could have a quick look? It runs just fine locally using <a href="https://www.windy.com/dev" rel="nofollow ugc">https://www.windy.com/dev</a>. I'm hoping it will be a really useful plugin if I can get it going.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.windy.com/topic/7436/help-running-a-new-plugin-error-on-the-windy-plugin-page</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 01:18:43 GMT</lastBuildDate><atom:link href="https://community.windy.com/topic/7436.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 29 Dec 2018 13:21:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Tue, 02 Nov 2021 21:11:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnckealy" aria-label="Profile: johnckealy">@<bdi>johnckealy</bdi></a> many thanks for the explanation- much appreciated.</p>
]]></description><link>https://community.windy.com/post/91215</link><guid isPermaLink="true">https://community.windy.com/post/91215</guid><dc:creator><![CDATA[shashighedia]]></dc:creator><pubDate>Tue, 02 Nov 2021 21:11:34 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Tue, 02 Nov 2021 20:51:57 GMT]]></title><description><![CDATA[<p dir="auto">thanks for the explanation</p>
<ul>
<li>much appreciated</li>
</ul>
]]></description><link>https://community.windy.com/post/91214</link><guid isPermaLink="true">https://community.windy.com/post/91214</guid><dc:creator><![CDATA[shashighedia]]></dc:creator><pubDate>Tue, 02 Nov 2021 20:51:57 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Mon, 01 Nov 2021 17:33:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shashighedia" aria-label="Profile: shashighedia">@<bdi>shashighedia</bdi></a></p>
<p dir="auto">The red line is a parcel ascent. Drag the purple slider to the right, and this will change. The concept is that as the surface temperature increases, the energy of a rising parcel of also increases (known as CAPE). By comparing the red curve with the existing temperature profile, you can diagnose the instability (likelihood of showers, thunderstorms etc) of the atmosphere. In theory, you can even use this to predict the exact onset times of convective clouds,  or even afternoon thunderstorms. Just google "radiosonde parcel ascent", "convective available potential energy", or "lifted index" to get started.</p>
]]></description><link>https://community.windy.com/post/91145</link><guid isPermaLink="true">https://community.windy.com/post/91145</guid><dc:creator><![CDATA[johnckealy]]></dc:creator><pubDate>Mon, 01 Nov 2021 17:33:37 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Wed, 27 Oct 2021 05:39:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shashighedia" aria-label="Profile: shashighedia">@<bdi>shashighedia</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/johnckealy" aria-label="Profile: johnckealy">@<bdi>johnckealy</bdi></a></p>
]]></description><link>https://community.windy.com/post/90788</link><guid isPermaLink="true">https://community.windy.com/post/90788</guid><dc:creator><![CDATA[Korina]]></dc:creator><pubDate>Wed, 27 Oct 2021 05:39:21 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Tue, 26 Oct 2021 19:00:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ivo" aria-label="Profile: ivo">@<bdi>ivo</bdi></a> hi can some one explain what the red line on the temperature is?- thanks<br />
<img src="/assets/uploads/files/1635274813895-f9850477-ca82-49b2-a6ee-f9c6aa4e31a8-image.png" alt="f9850477-ca82-49b2-a6ee-f9c6aa4e31a8-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.windy.com/post/90752</link><guid isPermaLink="true">https://community.windy.com/post/90752</guid><dc:creator><![CDATA[shashighedia]]></dc:creator><pubDate>Tue, 26 Oct 2021 19:00:51 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Wed, 16 Jan 2019 10:55:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnckealy" aria-label="Profile: johnckealy">@<bdi>johnckealy</bdi></a> It was bug on our side</p>
]]></description><link>https://community.windy.com/post/18011</link><guid isPermaLink="true">https://community.windy.com/post/18011</guid><dc:creator><![CDATA[ivo]]></dc:creator><pubDate>Wed, 16 Jan 2019 10:55:33 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Wed, 16 Jan 2019 04:36:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ivo" aria-label="Profile: ivo">@<bdi>ivo</bdi></a> great to see the plugin loader is ready for model data. I'll look into updating the skewt plugin when I get a chance (bit busy at the moment though).</p>
<p dir="auto">There was a bug in my plugin that showed the error "TypeError: Plugin.instance is not a function" and you fixed this. Can you remember what the bug was? I'll need to patch in the fix to my original version.</p>
]]></description><link>https://community.windy.com/post/18007</link><guid isPermaLink="true">https://community.windy.com/post/18007</guid><dc:creator><![CDATA[johnckealy]]></dc:creator><pubDate>Wed, 16 Jan 2019 04:36:25 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Sat, 12 Jan 2019 17:18:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ivo" aria-label="Profile: ivo">@<bdi>ivo</bdi></a>  Thx!!</p>
]]></description><link>https://community.windy.com/post/17951</link><guid isPermaLink="true">https://community.windy.com/post/17951</guid><dc:creator><![CDATA[rittels]]></dc:creator><pubDate>Sat, 12 Jan 2019 17:18:54 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Fri, 11 Jan 2019 11:51:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rittels" aria-label="Profile: rittels">@<bdi>rittels</bdi></a> said in <a href="/post/17922">Help running a new plugin - error on the Windy plugin page</a>:</p>
<blockquote>
<p dir="auto">windy-plugin-readlevels</p>
</blockquote>
<h3>Do not worry I will make dataLoader, so far I am finishing one big thing on Windy</h3>
]]></description><link>https://community.windy.com/post/17929</link><guid isPermaLink="true">https://community.windy.com/post/17929</guid><dc:creator><![CDATA[ivo]]></dc:creator><pubDate>Fri, 11 Jan 2019 11:51:47 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Fri, 11 Jan 2019 08:28:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi John<br />
Nearest neighbor is indeed plenty!!<br />
However,  you can use the W.interpolator  to read data at the different levels.  It is slow and cumbersome,  but somewhat cute.<br />
I gave it a go myself:  windy-plugin-readlevels.</p>
]]></description><link>https://community.windy.com/post/17922</link><guid isPermaLink="true">https://community.windy.com/post/17922</guid><dc:creator><![CDATA[rittels]]></dc:creator><pubDate>Fri, 11 Jan 2019 08:28:16 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Thu, 10 Jan 2019 04:34:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rittels" aria-label="Profile: rittels">@<bdi>rittels</bdi></a> Sure, though I'd say nearest neighbour is plenty for now! Vertically there is some interpolation going on in the js, and horizontally, ECMWF's 9km is loads of detail :) Would definitely be a nice addition for later.</p>
]]></description><link>https://community.windy.com/post/17901</link><guid isPermaLink="true">https://community.windy.com/post/17901</guid><dc:creator><![CDATA[johnckealy]]></dc:creator><pubDate>Thu, 10 Jan 2019 04:34:41 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Wed, 09 Jan 2019 14:41:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnckealy" aria-label="Profile: johnckealy">@<bdi>johnckealy</bdi></a><br />
cool plugin,   you could use the interpolator in the meantime?</p>
]]></description><link>https://community.windy.com/post/17883</link><guid isPermaLink="true">https://community.windy.com/post/17883</guid><dc:creator><![CDATA[rittels]]></dc:creator><pubDate>Wed, 09 Jan 2019 14:41:36 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Wed, 09 Jan 2019 05:55:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ivo" aria-label="Profile: ivo">@<bdi>ivo</bdi></a> Windy appears to use pressure levels from ECMWF, with temperature, humidity, and wind at each of these levels already available on the site. So what needs to be done on your backend is to have a function that takes a lat/lon picker point as input, finds the nearest grid point on the model, and then finds the data at each of these pressure levels. You might be able to adapt this from my closest_latlon() function in plugin.html. The variable Pascent (the ascent data for P) will always be:</p>
<p dir="auto">Pascent = [  1000, 950, 925, 900, 850, 800, 700, 600, 500, 400, 300, 250, 200, 150 ]</p>
<p dir="auto">Though I see you also use "surface" and "100m" instead of 1000hPa, so by all means use that if you also have temperature and relative humidity at those levels.</p>
<p dir="auto">Then Tascent is the temperature (shortname is "T" in the ECMWF docs), U is the U-velocity (shortname "U"), V is the V-velocity (shortname "V").</p>
<p dir="auto">One thing I'm now realising is that I used an equation to convert the humidity into the dewpoint while generating the sample data, so you'll need to add this into plugin.html. To get Tdascent (the dewpoint temperature ascent), relative humidity (shortname is "R" at ECMWF, and the Windy is named "Humidity") must be converted to dew point using this formula:</p>
<p dir="auto">for (var p = 0; p &lt; Pascent.length; p++) {<br />
Tdascent[p] =  243.04*(Math.log(R[p]/100)+((17.625<em>Tascent[p])/(243.04+Tascent[p])))/(17.625-Math.log(R[p]/100)-((17.625</em>T)/(243.04+T)))<br />
}</p>
]]></description><link>https://community.windy.com/post/17866</link><guid isPermaLink="true">https://community.windy.com/post/17866</guid><dc:creator><![CDATA[johnckealy]]></dc:creator><pubDate>Wed, 09 Jan 2019 05:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Tue, 08 Jan 2019 12:29:26 GMT]]></title><description><![CDATA[<p dir="auto">Basically we can deliver the data we have. We download only part of ECMWF data to save the money. Can you check official ECMWF's domunetation and find their official name of these layers.</p>
]]></description><link>https://community.windy.com/post/17855</link><guid isPermaLink="true">https://community.windy.com/post/17855</guid><dc:creator><![CDATA[ivo]]></dc:creator><pubDate>Tue, 08 Jan 2019 12:29:26 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Tue, 08 Jan 2019 10:18:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ivo" aria-label="Profile: ivo">@<bdi>ivo</bdi></a>  - Brilliant! I'm chuffed to see it working on the site :) Let me know if you need any help understanding the code. You just need to load the variables Tascent, Pascent, Tdascent, U, and V with spot data at each level. The comments should hopefully explain this.</p>
]]></description><link>https://community.windy.com/post/17853</link><guid isPermaLink="true">https://community.windy.com/post/17853</guid><dc:creator><![CDATA[johnckealy]]></dc:creator><pubDate>Tue, 08 Jan 2019 10:18:05 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Tue, 08 Jan 2019 08:19:28 GMT]]></title><description><![CDATA[<h2>Now is fixed and your plugin is working. As I suggest now I should have make soma data loader</h2>
]]></description><link>https://community.windy.com/post/17851</link><guid isPermaLink="true">https://community.windy.com/post/17851</guid><dc:creator><![CDATA[ivo]]></dc:creator><pubDate>Tue, 08 Jan 2019 08:19:28 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Fri, 04 Jan 2019 16:22:04 GMT]]></title><description><![CDATA[<p dir="auto">Great to hear, thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/ivo" aria-label="Profile: ivo">@<bdi>ivo</bdi></a>! Sorry if the code is a little rough -- I'm a meteorologist learning programming, rather than the other way around...  But would relish seeing it deployed with current data!  :)</p>
]]></description><link>https://community.windy.com/post/17776</link><guid isPermaLink="true">https://community.windy.com/post/17776</guid><dc:creator><![CDATA[johnckealy]]></dc:creator><pubDate>Fri, 04 Jan 2019 16:22:04 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Fri, 04 Jan 2019 15:40:13 GMT]]></title><description><![CDATA[<h3>Wow <a class="plugin-mentions-user plugin-mentions-a" href="/user/johnckealy" aria-label="Profile: johnckealy">@<bdi>johnckealy</bdi></a> your plugin is monster. Found the bug and fixed. Will be deployed next week. Will create some data loader so plugins will have access to our backend API</h3>
]]></description><link>https://community.windy.com/post/17775</link><guid isPermaLink="true">https://community.windy.com/post/17775</guid><dc:creator><![CDATA[ivo]]></dc:creator><pubDate>Fri, 04 Jan 2019 15:40:13 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Fri, 04 Jan 2019 09:45:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ivo" aria-label="Profile: ivo">@<bdi>ivo</bdi></a><br />
... any progress ?</p>
]]></description><link>https://community.windy.com/post/17770</link><guid isPermaLink="true">https://community.windy.com/post/17770</guid><dc:creator><![CDATA[Gkikas LGPZ]]></dc:creator><pubDate>Fri, 04 Jan 2019 09:45:31 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Sun, 30 Dec 2018 06:10:20 GMT]]></title><description><![CDATA[<h2><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnckealy" aria-label="Profile: johnckealy">@<bdi>johnckealy</bdi></a> Happy to see another plugin dev. Will check the codes</h2>
]]></description><link>https://community.windy.com/post/17679</link><guid isPermaLink="true">https://community.windy.com/post/17679</guid><dc:creator><![CDATA[ivo]]></dc:creator><pubDate>Sun, 30 Dec 2018 06:10:20 GMT</pubDate></item><item><title><![CDATA[Reply to Help running a new plugin - error on the Windy plugin page on Sat, 29 Dec 2018 16:00:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnckealy" aria-label="Profile: johnckealy">@<bdi>johnckealy</bdi></a><br />
Well done John!<br />
Hope someone of the Windy team will help you<br />
and soon your SkewT plugin will be available to all of us.</p>
]]></description><link>https://community.windy.com/post/17672</link><guid isPermaLink="true">https://community.windy.com/post/17672</guid><dc:creator><![CDATA[Gkikas LGPZ]]></dc:creator><pubDate>Sat, 29 Dec 2018 16:00:31 GMT</pubDate></item></channel></rss>