{"id":983,"date":"2016-08-20T18:24:10","date_gmt":"2016-08-20T16:24:10","guid":{"rendered":"http:\/\/meteotemplate.com\/blog\/?p=983"},"modified":"2016-08-20T18:24:10","modified_gmt":"2016-08-20T16:24:10","slug":"new-plugin-weather-metar","status":"publish","type":"post","link":"https:\/\/meteotemplate.com\/blog\/?p=983","title":{"rendered":"New Plugin &#8211; Weather METAR"},"content":{"rendered":"<p>Hi guys,<\/p>\n<p>as I promised yesterday, here is a plugin similar to the block released yesterday. It shows <strong>current conditions loaded from METAR reports<\/strong>.<\/p>\n<p>This is an alternative to the cityConditions plugin, however it is not a duplicate. It uses <strong>METAR reports<\/strong>, not Yahoo weather, this has some advantages as well as disadvantages. The advantage is <strong>much more reliable<\/strong> data and some<strong> extra parameters<\/strong>. The disadvantage is that not all data is available like in the Yahoo weather plugin &#8211; there is for example no information about the actual conditions (cloudy, sunny etc.) and there is for example no info about daily precipitation.<\/p>\n<p>There is one new thing that I have never tried before and this is sort of the first experiment&#8230;. I spent quite some time experimenting with the <strong>Leaflet Map API<\/strong>, so this plugin does not use Google Maps, but uses Leaflet freeware maps. This has some advantages &#8211; for example<strong> you do not need an API key for this, there are some new layers available, I also added some very cool features such as turning globe, measuring distance tool, day\/night visualization etc.<\/strong><\/p>\n<h3>Main features<\/h3>\n<ul>\n<li><strong>current conditions<\/strong> (temperature, humidity, pressure, dew point, apparent temperature, wind speed, wind gust) from METAR reports, grouped by countries<\/li>\n<li><strong>additional info about stations<\/strong> (latitude, longitude, distance to your station, elevation, day\/night time)<\/li>\n<li><strong>data shown on a map, colored by values<\/strong><\/li>\n<li><strong>interactive globe<\/strong> to view current position<\/li>\n<li>map allows viewing <strong>day\/night<\/strong><\/li>\n<li><strong>map measuring distance tool<\/strong><\/li>\n<li><strong>several map layers<\/strong><\/li>\n<li><strong>sortable tables<\/strong><\/li>\n<li><strong>summary table<\/strong><\/li>\n<\/ul>\n<p><strong>Supported areas:<\/strong><br \/>\n&#8211; Europe, Asia, Africa, Australia + Oceania, South America, Central America<\/p>\n<p>As I mentioned, this is the first time I used this map and I will try to add some additional features to this plugin in the future such as extra map layers etc.<\/p>\n<p>No setup required.<\/p>\n<p><a href=\"http:\/\/www.meteotemplate.com\/template\/plugins\/weatherMETAR\/index.php\" target=\"_blank\">DEMO<\/a><\/p>\n<p>Enjoy<\/p>\n<div style=\"min-height: 30px;display: inline-block;\"><input id=\"983\" style=\"float: right;max-width: 50px;\" src=\"https:\/\/meteotemplate.com\/blog\/wp-content\/plugins\/wp-advanced-pdf\/asset\/images\/pdf.png\" alt=\"#TB_inline?height=230&amp;width=400&amp;inlineId=examplePopup1\" title=\"Export pdf to your Email\" class=\"thickbox export-pdf\" type=\"image\" value=\"Export to PDF\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>Hi guys, as I promised yesterday, here is a plugin similar to the block released yesterday. It shows current conditions loaded from METAR reports. This is an alternative to the cityConditions plugin, however it is not a duplicate. It uses METAR reports, not Yahoo weather, this has some advantages as well as disadvantages. The advantage &#8230; <a title=\"New Plugin &#8211; Weather METAR\" class=\"read-more\" href=\"https:\/\/meteotemplate.com\/blog\/?p=983\">Read more<span class=\"screen-reader-text\">New Plugin &#8211; Weather METAR<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":692,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[4],"tags":[253],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/meteotemplate.com\/blog\/wp-content\/uploads\/2016\/06\/weather-e1476276280871.png","_links":{"self":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/983"}],"collection":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=983"}],"version-history":[{"count":3,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/983\/revisions"}],"predecessor-version":[{"id":986,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/983\/revisions\/986"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/692"}],"wp:attachment":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}