{"id":1759,"date":"2021-10-07T17:37:33","date_gmt":"2021-10-07T17:37:33","guid":{"rendered":"https:\/\/www.wcsu.edu\/weather\/?page_id=1759"},"modified":"2024-10-14T13:51:07","modified_gmt":"2024-10-14T13:51:07","slug":"weather-center-2-0-new-api","status":"publish","type":"page","link":"https:\/\/www.wcsu.edu\/weather\/","title":{"rendered":"Weather Center Home"},"content":{"rendered":"<div id=\"pl-1759\"  class=\"panel-layout\" ><div id=\"pg-1759-0\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-1759-0-0\"  class=\"panel-grid-cell\" ><div id=\"panel-1759-0-0-0\" class=\"so-panel widget widget_sow-headline panel-first-child panel-last-child\" data-index=\"0\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-headline so-widget-sow-headline-default-703f5a0d50e0-1759\"\n\t\t\t\n\t\t><div class=\"sow-headline-container \">\n\t\t\t\t\t\t\t<h3 class=\"sow-headline\">\n\t\t\t\t\t\tWelcome to The WCSU Weather Center\t\t\t\t\t\t<\/h3>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"decoration\">\n\t\t\t\t\t\t<div class=\"decoration-inside\"><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-1759-1\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-1759-1-0\"  class=\"panel-grid-cell\" ><div id=\"panel-1759-1-0-0\" class=\"widget_text so-panel widget widget_custom_html panel-first-child panel-last-child\" data-index=\"1\" ><div class=\"textwidget custom-html-widget\"><div id=\"forecastDataNew\">\n<div v-if=\"forecastErrored\">\n    <p>We're sorry, we're not able to retrieve this information at the moment, please try back later<\/p>\n<\/div>\n<div v-else>\n<div v-if=\"forecastLoading\" style=\"text-align:center;\"><img decoding=\"async\" src=\"\/weather\/wp-content\/uploads\/sites\/136\/2018\/10\/Spinner-1s-150px.gif\" alt=\"Loading ... \"><\/div>\n<div v-else \n     class=\"row panel-primary\" style=\"text-align:center\">\n<div class=\"panel-heading w-panel-heading col-lg-10 col-md-10 col-sm-12 col-lg-offset-1 col-md-offset-1\" style=\"float:none;\"><h3 class=\"panel-title\" style=\"text-align: center;\">5 Day Greater Danbury Forecast<\/h3><\/div>\n<div id=\"one\" class=\"col-lg-2 col-md-2 col-sm-6 col-lg-offset-1 col-md-offset-1 forecastPeriod\">\n<h3 style=\"min-height:30px;\">{{ getDate(forecast.periods[0].startTime) }}<\/h3>\n<img :src=\"forecast.periods[0].icon\" style=\"border-radius: 5px; margin-bottom: 5px;\" \/>\n<p class=\"forecastDesc\">{{ forecast.periods[0].shortForecast }}<\/p>\n<strong>{{ forecast.periods[0].temperature }} \u00b0F<\/strong> \n<\/div>\n<div id=\"two\" class=\"col-lg-2 col-md-2 col-sm-6 forecastPeriod\">\n<h3 style=\"min-height:30px;\">{{ getDate(forecast.periods[1].startTime) }}<\/h3>\n<img :src=\"forecast.periods[1].icon\" style=\"border-radius: 5px;margin-bottom: 5px;\" \/>\n<p class=\"forecastDesc\">{{ forecast.periods[1].shortForecast }}<\/p>\n\t<strong>{{ forecast.periods[1].temperature }} \u00b0F<\/strong> \n<\/div>\n<div id=\"three\" class=\"col-lg-2 col-md-2 col-sm-6 forecastPeriod\">\n<h3 style=\"min-height:30px;\">{{ getDate(forecast.periods[2].startTime) }}<\/h3>\n<img :src=\"forecast.periods[2].icon\" style=\"border-radius: 5px;margin-bottom: 5px;\" \/>\n<p class=\"forecastDesc\">{{ forecast.periods[2].shortForecast }}<\/p>\n<strong>{{ forecast.periods[2].temperature }} \u00b0F<\/strong> \n<\/div>\n<div id=\"four\" class=\"col-lg-2 col-md-2 col-sm-6 forecastPeriod\">\n<h3 style=\"min-height:30px;\">{{ getDate(forecast.periods[3].startTime) }}<\/h3>\n<img :src=\"forecast.periods[3].icon\" style=\"border-radius: 5px;margin-bottom: 5px;\" \/>\n<p class=\"forecastDesc\">{{ forecast.periods[3].shortForecast }}<\/p>\n<strong>{{ forecast.periods[3].temperature }} \u00b0F<\/strong> \n<\/div>\n<div id=\"five\" class=\"col-lg-2 col-md-2 col-sm-6 forecastPeriod\">\n<h3 style=\"min-height:30px;\">{{ getDate(forecast.periods[4].startTime) }}<\/h3>\n<img :src=\"forecast.periods[4].icon\" style=\"border-radius: 5px;margin-bottom: 5px;\" \/>\n<p class=\"forecastDesc\">{{ forecast.periods[4].shortForecast }}<\/p>\n<strong>{{ forecast.periods[4].temperature }} \u00b0F<\/strong> \n<\/div>\n<div id=\"six\" class=\"col-lg-2 col-md-2 col-sm-6 col-lg-offset-1 col-md-offset-1 forecastPeriod\">\n<h3 style=\"min-height:30px;\">{{ getDate(forecast.periods[5].startTime) }}<\/h3>\n<img :src=\"forecast.periods[5].icon\" style=\"border-radius: 5px;margin-bottom: 5px;\" \/>\n<p class=\"forecastDesc\">{{ forecast.periods[5].shortForecast }}<\/p>\n<strong>{{ forecast.periods[5].temperature }} \u00b0F<\/strong> \n<\/div>\n<div id=\"seven\" class=\"col-lg-2 col-md-2 col-sm-6 forecastPeriod\">\n<h3 style=\"min-height:30px;\">{{ getDate(forecast.periods[6].startTime) }}<\/h3>\n<img :src=\"forecast.periods[6].icon\" style=\"border-radius: 5px;margin-bottom: 5px;\" \/>\n<p class=\"forecastDesc\">{{ forecast.periods[6].shortForecast }}<\/p>\n<strong>{{ forecast.periods[6].temperature }} \u00b0F<\/strong> \n<\/div>\n<div id=\"eight\" class=\"col-lg-2 col-md-2 col-sm-6 forecastPeriod\">\n<h3 style=\"min-height:30px;\">{{ getDate(forecast.periods[7].startTime) }}<\/h3>\n<img :src=\"forecast.periods[7].icon\" style=\"border-radius: 5px;margin-bottom: 5px;\" \/>\n<p class=\"forecastDesc\">{{ forecast.periods[7].shortForecast }}<\/p>\n<strong>{{ forecast.periods[7].temperature }} \u00b0F<\/strong> \n<\/div>\n<div id=\"nine\" class=\"col-lg-2 col-md-2 col-sm-6 forecastPeriod\">\n<h3 style=\"min-height:30px;\">{{ getDate(forecast.periods[8].startTime) }}<\/h3>\n<img :src=\"forecast.periods[8].icon\" style=\"border-radius: 5px;margin-bottom: 5px;\" \/>\n<p class=\"forecastDesc\">{{ forecast.periods[8].shortForecast }}<\/p>\n<strong>{{ forecast.periods[8].temperature }} \u00b0F<\/strong> \n<\/div>\n<div id=\"ten\" class=\"col-lg-2 col-md-2 col-sm-6 forecastPeriod\">\n<h3 style=\"min-height:30px;\">{{ getDate(forecast.periods[9].startTime) }}<\/h3>\n<img :src=\"forecast.periods[9].icon\" style=\"border-radius: 5px;margin-bottom: 5px;\" \/>\n<p class=\"forecastDesc\">{{ forecast.periods[9].shortForecast }}<\/p>\n<strong>{{ forecast.periods[9].temperature }} \u00b0F<\/strong> \n<\/div>\n<\/div>\n<\/div>\n<\/div><\/div><\/div><\/div><\/div><div id=\"pg-1759-2\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-1759-2-0\"  class=\"panel-grid-cell\" ><div id=\"panel-1759-2-0-0\" class=\"widget_text so-panel widget widget_custom_html panel-first-child panel-last-child\" data-index=\"2\" ><div class=\"widget_text panel-widget-style panel-widget-style-for-1759-2-0-0\" ><div class=\"textwidget custom-html-widget\"><div id=\"currentweatherData\" class=\"row\" style=\"margin: 0 auto;max-width:300px;\">\n<div class=\"panel panel-primary w-panel\" style=\"min-height:150px;\">\n<div class=\"panel-heading w-panel-heading\" style=\"text-align:center;\">\n<h3 class=\"panel-title\">Latest Observations<\/h3>\n<\/div>\n<div v-if=\"forecastErrored\" style=\"margin-left:10px;margin-top:10px;\">\n<\/div>\n<div v-else>\n<div v-if=\"forecastLoading\"><\/div>\n<div v-else style=\"margin-left:10px;margin-top:10px;\">{{ forecast.periods[0].detailedForecast }}<\/div>\n<\/div>\n<div v-if=\"latestErrored\">\n    <p>We're sorry, we're not able to retrieve this information at the moment, please try back later<\/p>\n<\/div>\n<div v-else style=\"padding:10px 0 15px 0;\">\n<div v-if=\"latestLoading\" style=\"text-align:center;\"><img decoding=\"async\" src=\"\/weather\/wp-content\/uploads\/sites\/136\/2018\/10\/Spinner-1s-150px.gif\" alt=\"Loading ... \"><\/div>\n<div v-else style=\"margin-left:10px;margin-bottom:10px;\">\n<img :src=\"current.icon\" style=\"float: left;margin-right: 20px;\">{{ current.textDescription }}<br>\n<strong>Temperature:<\/strong> {{ Math.round(current.temperature.value * (9\/5) + 32) }} \u00b0F<br>\n<div style=\"visibility:hidden;display:none\"><strong>Humidity:<\/strong> {{ Math.round(current.relativeHumidity.value) }}%<br><\/div>\n<strong>Wind:<\/strong> {{ Math.round(current.windSpeed.value \/ 1.609344)  }} MPH<br>\n<div style=\"visibility:hidden;display:none\"><strong>Visibility:<\/strong> {{ current.visibility.value }} mi<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div><\/div><\/div><\/div><\/div><\/div><div id=\"pg-1759-3\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-1759-3-0\"  class=\"panel-grid-cell\" ><div id=\"panel-1759-3-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"3\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<div class=\"panel panel-primary w-panel\" style=\"margin: 0 auto; max-width: 366px;\">\n<div class=\"panel-heading w-panel-heading\">\n<h3 class=\"panel-title\">Regional Satellite<\/h3>\n<\/div>\n<p style=\"margin-bottom: 0;\"><a href=\"https:\/\/www.accuweather.com\/en\/us\/northeast-region\/satellite\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"max-height: 273px;\" src=\"https:\/\/sirocco.accuweather.com\/sat_mosaic_640x480_public\/ei\/isene.jpg\" height=\"273\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div><\/div><\/div><div id=\"pgc-1759-3-1\"  class=\"panel-grid-cell\" ><div id=\"panel-1759-3-1-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"4\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<div class=\"panel panel-primary w-panel\" style=\"max-width: 300px !important; margin: 0 auto;\">\n<div class=\"panel-heading w-panel-heading\">\n<h3 class=\"panel-title\">Regional Radar<\/h3>\n<\/div>\n<p style=\"margin-bottom: 0;\"><a href=\"https:\/\/radar.weather.gov\/?settings=v1_eyJhZ2VuZGEiOnsiaWQiOiJsb2NhbCIsImNlbnRlciI6Wy03Mi44NjM5LDQwLjg2NTZdLCJ6b29tIjo3LCJmaWx0ZXIiOiJXU1ItODhEIiwibGF5ZXIiOiJzcl9icmVmIiwic3RhdGlvbiI6IktPS1giLCJ0cmFuc3BhcmVudCI6dHJ1ZSwiYWxlcnRzT3ZlcmxheSI6dHJ1ZSwic3RhdGlvbkljb25zT3ZlcmxheSI6dHJ1ZX0sImFuaW1hdGluZyI6ZmFsc2UsImJhc2UiOiJzdGFuZGFyZCIsImNvdW50eSI6ZmFsc2UsImN3YSI6ZmFsc2UsInN0YXRlIjpmYWxzZSwibWVudSI6dHJ1ZSwic2hvcnRGdXNlZE9ubHkiOnRydWUsIm9wYWNpdHkiOnsiYWxlcnRzIjowLjgsImxvY2FsIjowLjYsImxvY2FsU3RhdGlvbnMiOjAuOCwibmF0aW9uYWwiOjAuNn19\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/radar.weather.gov\/ridge\/standard\/NORTHEAST_loop.gif\" width=\"300\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Welcome to The WCSU Weather Center We&#8217;re sorry, we&#8217;re not able to retrieve this information at the moment, please try back later 5 Day Greater Danbury Forecast {{ getDate(forecast.periods[0].startTime) }} {{ forecast.periods[0].shortForecast }} {{ forecast.periods[0].temperature }} \u00b0F {{ getDate(forecast.periods[1].startTime) }} &hellip;<\/p>\n","protected":false},"author":198,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1759","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.wcsu.edu\/weather\/wp-json\/wp\/v2\/pages\/1759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wcsu.edu\/weather\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.wcsu.edu\/weather\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.wcsu.edu\/weather\/wp-json\/wp\/v2\/users\/198"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wcsu.edu\/weather\/wp-json\/wp\/v2\/comments?post=1759"}],"version-history":[{"count":0,"href":"https:\/\/www.wcsu.edu\/weather\/wp-json\/wp\/v2\/pages\/1759\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wcsu.edu\/weather\/wp-json\/wp\/v2\/media?parent=1759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}