Well done!!
Will enjoy playing with it.
rittels
@rittels
Best posts made by rittels
-
windy-plugin-radiosonde
Good afternoon Windy community
This plugin is a team effort, by @mhaberler and myself. Thank you for @vicb for the use of your code and @johnckealy for the initial inspiration.
Our plugin displays radiosonde (weather balloon) data on Windy. You can then compare it to recent historical forecasts.
Please read the comprehensive description on Michaels blog: https://blog.mah.priv.at/release-announcement-windy-plugin-radiosonde/
We hope you enjoy it!!
PS: It is interesting to use it with the new thermal layer.
-
windy-plugin-fp
Hi Windy fans and Aviators
I have been (very slowly) working on this for a while. It might be somewhat superfluous, since @marekd is creating something similar.
There are still kinks to be ironed out, but usable:
- Go to windy.com/plugins and enter windy-plugin-fp. Once loaded, right click/long press on the map for context menu. Then click Flight planner.
- The plugin is meant for recreational VFR flight planning.
- Use the weather picker to plot a route.
- You can also upload a route. (Upload formats: .gpx, .ep1, .efp. Download: .gpx.)
- Airports (found in the Windy Airports layer) can be used to add a waypoint.
- Sliding the aircraft icon along the route will set the Windy map to the appropriate time and altitude.
- Altitude, speed, time and date can be set for selected legs.
- Long press on a row in the flight plan to select single leg.
- Click the "Read Wx" button to fly along the flight plan and read the weather data. Do not move the map during this period, may take a minute or more.
- Ground speed and corrected ETE are then calculated.
- "Allow Drag" button allows dragging the waypoints. "Lock Drag" again to prevent dragging accidentally.
- In the Settings menu: Alert values for different overlays can be set. The alert sections will then be marked with red along the route after "Read Wx" has run.
- Airspace data from openAIP.net has been translated to geojson and can be loaded in the Airspace menu. Do not load too many countries.
hope it is of value....
Latest version: windy-plugin-fp@0.1.8 : Added @marekd 's route planner .
-
windy-plugin-polars
For sailors:
- Go to windy.com/plugins.
- Load plugin directly from npm: Enter
windy-plugin-polars
. - Select a boat to load the polar plot.
- Place the picker.
- Drag the arrow head for direction.
- The plugin will show your speed.
First step towards a sailing planner.
-
Day-night terminator plugin
A day-night terminator plugin, using Vladimir Agafonkin's SunCalc library. (This is also used for the sun-position plugin, by @jacobsjo) .
Changes: v 0.0.36 (21-12-2020):
- It is possible to either close the left pane and keep the lines active, or uninstall the plugin complete. (Few plugins uninstall cleanly.)
- Windy style time progress bar added for Full year (desktop and mobile).
- Different terminator times, for the picker position, displayed in left pane as the picker is moved.
- Click on a time-pair to display this in the picker if you want.
- Time zone name, daylight saving time rules and offset displayed.
- Terminator lines are responsive to the satellite of radar overlay timestamps.
- Use the URL to open at a location or time like this:
https://www.windy.com/plugins/windy-plugin-day-night?lat=-42.5&lng=146.3&date=2020-11-18T06:00Z
7-Jan-21: Optimized plotting the lines, now smoother and a bit faster.
-
windy-plugins-saws-warnings
Hi
This plugin reads the warnings geojson data from http://www.weathersa.co.za/warnings and displays it on Windy.
Hope the SA weather services don't have objections.
For those not familiar with plugins:
- URL: www.windy.com/plugins.
- Type in: windy-plugin-saws-warnings and click Load plugin.
- Hopefully Borat will appear.
- Close plugin pane and right click on screen for context menu. Then click SAWS warnings.
- Load may take several seconds.
- Use the weather picker to view different regions and warnings.
- So far only today shown, not tomorrow and D3-5.
Probably still buggy.
enjoy -
Time zone plugin
windy-plugin-timezones
- Plugin displays the different timezones.
- Regions, offsets and DST rules are obtained from the timezone database: www.iana.org/time-zones. This database is maintained by Paul Eggert.
- Only the current DST rules are included in the plugin.
- The shapefiles were created by Evan Siroky: github.com/evansiroky/timezone-boundary-builder/releases.
- I have simplified the polygons considerably with Agafonkin's simplify program, ported to python (https://github.com/omarestrella/simplify.py). It is loaded into windy as a binary file, of approximately 1MB.
-
Updated Plugins System
Updated Plugins gallery
Thank you @ivo and @marekd for the opportunity to refactor the plugin gallery.
This is a description of the new features, and specifically on how to provide data via the URL query string.
Load and Open buttons
- Load will load the plugin, but not execute the code. Once loaded, clicking this button will open the message box, with the opportunity to view the debug log.
- Open will load and open the plugin.
- Loaded plugin cards get a red border.
- Once a plugin (or more) has been loaded, the option appears to show only loaded plugins.
Plugin order
- The plugins can be rearranged by dragging them up or down. The new order is stored in localStorage.
Autoloading
- Approved plugins can be prepared to be loaded from the query string:
www.windy.com/plugins/windy-plugin-pluginName?QUERY
. QUERY
is structured like this:param1=x& param2=y
(no spaces).- Once
pluginName
is confirmed as an approved plugin, theQUERY
part is sent to the loaded plugin as a property:W.plugins["windy-plugin-pluginName"].query
. You can reach it withthis.query
. - The user is shown a warning message, with the option to return to windy.com, or open the plugin. The purpose of the warning message is to ensure that the user understands that the plugin was created by an external developer, not by Windy.
- The query data is displayed below the card.
- The plugin requested to be autoloaded gets a blue border.
- There is also an option the show all plugins, the requested plugins will remain at the top.
- Since the order has now changed, rearranging the cards now will not be stored.
Setting the query string
- If you wish to set the URL query string from within your plugin, do this:
import location from '@windy/location'; import broadcast from '@windy/broadcast'; this.hasURL = true; const setQs = qs => { location.url(`plugins/${this.ident}?${qs}`); } setQs("param1=123&whatever=xyz");
- However, the query string will be overwritten by other processes. You can then reset it with, for instance:
broadcast.on("pluginOpened",e => { if (e==this.ident) setQs("param1=x&whatever=y") })
Listeners added
- If a plugin is opened:
- the property
lastOpened
is set to true. - The function
onOtherPluginOpened
is called (if it has been defined) in the other plugins, with the opened plugin id as parameter. This will allow the author of the other plugin to deactivate listeners and remove elements when their plugin loses focus. - The
W.plugins.plugins.lastPluginOpened
is set to the id of the last opened plugin.
- the property
Other changes
- The form for the plugins loaded directly from npm, can now be closed.
- If an unapproved plugin is opened, from the form, a card is created and added to the top of the list. This can also be dragged around, but the position is not stored.
- It is impossible to pass a query string to the unapproved plugin.
- The cards can be collapsed, to be viewed as a list.
Mobile
- Unfortunately the plugin gallery is not available in the mobile app, due to security reasons.
- There is also no link in the mobile version of Windy.com to the plugins.
- It is possible to open a plugin by pasting the plugin URL in the address bar. (thus www.windy.com/plugins)
- The problem is that clicking on the plugin link ( www.windy.com/plugins ), triggers the installed app on mobile devices.
- Hopefully, it will be possible in the future to redirect plugins to the default mobile browser.
Todo
- Uninstalling / unloading a plugin is complex. Since it is up to the plugin author to remove all the map elements and listeners and CSS changes. The easiest is still to uninstall all plugins.
- There are still a few small bugs.
Latest posts made by rittels
-
RE: We will give windy-plugins one more try
Thank you @ivo !
Thanks everyone for all the posts supporting the trajectory plugin. It is a huge honour. I did not realize that so many are using it! It is quite intimidating.
Thank you @ivo for continuing the plugins. The plugins add value to Windy. It makes Windy more interesting. It provides a way for users and developers to present new ideas. If a plugin proves popular, the functionality can be incorporated in the core windy, as has happened with the radiosonde plugin.
I agree that the plugins have some inherent problems:
- Plugins developers write plugins as a hobby, and may publish-and-forget. There have been several Windy client updates lately, which breaks the plugins. We cannot always keep up. This has frustrated some devs. It also proved impossible to maintain backward compatibility.
- When a plugin becomes very popular, as has happened with Traj, and many users and even events become dependent on it, the responsibility increases for the developer to maintain it. Windy is not able to assist, and have no control over the code. I agree that the traj should be included as an internal plugin and that the trajectory calculations should ideally be done in the backend. Hopefully this can happen someday.
- Security. I am guilty of not placing my plugins on Github. This is partly due to the fact that I use some functions that may be confidential. I agree that Windy must have the opportunity to see the code before allowing the plugin to be released to the users.
All the problems are insignificant as long as everyone understands that the plugins are fun, experimental and potentially unstable.
-
RE: Day and Night Plugin - Error - Does Not Load
Sorry, got stuck in CSS. It should now be working, but not yet fully functional.
-
RE: Delta T
Interesting.
Delta-T description: https://sprayers101.com/delta-t/
Using the Stull formula, the wetbulb temp can be calculated.
https://journals.ametsoc.org/view/journals/apme/50/11/jamc-d-11-0143.1.xml
I added it in the Density Altitude Plugin:
-
RE: Trajectory Plug In error
It is due to the recent version update. Try now
-
RE: Trajectory Plugin errors
@Ondřej-Šutera
Thx. Will try to fix this evening. I see InterTimestamps in products calendar has been removed. This is needed to determine path from ts.
This will affect most of my plugins.
-
RE: Day and Night Plugin - Error - Does Not Load
Will try to finalize it this weekend.
-
RE: Day/Night Overlay
@krrobertsen day night plugin should be fixed soon
-
RE: Flight Planner Cloud Base inconsistency
Hi, thanks!
There was indeed a bug. The routeplanner did not display the values calculated from the corrected ground speed.
It is fixed now, the values should correlate with the ones in the black box.
In windy the cloudbase is defined as the lowest layer where the cover is >50%. See this post by TZ: https://community.windy.com/topic/5116/cloud-tops-are-lower-that-cloud-base
The shaded clouds in the routeplanner indicates humidity. Thus the potential for cloud formation.
-
RE: Plugins not working
@go4windy day night should be working after the weekend