{"id":503,"date":"2016-03-23T15:44:31","date_gmt":"2016-03-23T14:44:31","guid":{"rendered":"http:\/\/meteotemplate.com\/blog\/?p=503"},"modified":"2016-03-23T15:44:31","modified_gmt":"2016-03-23T14:44:31","slug":"new-plugin-station-data-comparison","status":"publish","type":"post","link":"https:\/\/meteotemplate.com\/blog\/?p=503","title":{"rendered":"New Plugin &#8211; Station Data Comparison"},"content":{"rendered":"<p>Hi guys,<\/p>\n<p>a new plugin is now available. This plugin allows you to <strong><span style=\"color: #ff0000;\">compare your data with any METAR station or WU station for a specified day<\/span><\/strong>. This can be very useful not just to <strong><span style=\"color: #ff0000;\">see how the data from your station differs to some other<\/span><\/strong>, but also in terms of <span style=\"color: #ff0000;\"><strong>data quality check<\/strong><\/span> if there is for example some professional METAR station nearby.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Main features:<\/strong><\/span><\/p>\n<ul>\n<li><span style=\"color: #ff0000;\">raw data<\/span> from your station and station to be compared with<\/li>\n<li><span style=\"color: #ff0000;\">detailed statistical analysis<\/span> (including correlations, averages, covariance, skewness etc)<\/li>\n<li><span style=\"color: #ff0000;\">interactive graphs<\/span> (including some new types which were never available in the template so far, for example boxplots).<\/li>\n<li><span style=\"color: #ff0000;\">sortable tables<\/span><\/li>\n<li><span style=\"color: #ff0000;\">direct export<\/span> to PNG, JSON, TXT, XLS, SQL etc.<\/li>\n<li>easy METAR station selection based on country and place<\/li>\n<li>all units converted based on Meteotemplate user settings<\/li>\n<\/ul>\n<p>Installation is easy; all you have to do is set the default location in the settings file.<\/p>\n<p>Just a few things to note.<\/p>\n<p>In the calendar you choose the day of interest. The data is taken from Weather Underground, which aggregates data always by days. This means, that if for example you choose March 23, 2016, it will load all the values for that particular station available at WU server. Then, it will find the time difference between your station and the station chosen for comparison and load data from the database which correspond to that interval. In other words, if for example there is a 5 hour difference, it would not take values from midnight till midnight for both stations, but it will take whatever is available for the remote station and then choose the appropriate data from the database, which might also span to the previous or next day. The point of this is that the two data points should always correspond to the same point in time.<\/p>\n<p>Another thing to note is that unfortunately, the more I worked on this plugin, the more I realized how inconsistent WU is. Different stations report different parameters, use different units, different headers etc etc. I have tried to test as many as possible and make the appropriate adjustments in the code (which is many therefore over 6000 lines long for each of the scripts), but it is of course possible that some stations might still cause problems. It will always try to show all the available parameters and hide the ones that are N\/A.<\/p>\n<p>I added the new strings in the Translations section so the plugin can be fully localized.<\/p>\n<p>Enjoy<\/p>\n<p>Jachym<\/p>\n<p><a href=\"http:\/\/www.meteotemplate.com\/template\/plugins\/stationCompare\/index.php\">DEMO<\/a><\/p>\n<p><a href=\"http:\/\/www.meteotemplate.com\/web\/plugins\/stationCompare.php\">Download\/documentation<\/a><\/p>\n<div style=\"min-height: 30px;display: inline-block;\"><input id=\"503\" 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, a new plugin is now available. This plugin allows you to compare your data with any METAR station or WU station for a specified day. This can be very useful not just to see how the data from your station differs to some other, but also in terms of data quality check if &#8230; <a title=\"New Plugin &#8211; Station Data Comparison\" class=\"read-more\" href=\"https:\/\/meteotemplate.com\/blog\/?p=503\">Read more<span class=\"screen-reader-text\">New Plugin &#8211; Station Data Comparison<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"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":[6,129],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/503"}],"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=503"}],"version-history":[{"count":1,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":504,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/503\/revisions\/504"}],"wp:attachment":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}