You are not logged in.
Hello Teo
script weather_com: delete id="daypart-name-label-[0-9]*" and id="daypart-name-label-undefined"
and delete first 6 lines in 10days: sed -i -e '1,6d' $HOME/Weather_com_conky_script/10days
At night, perhaps deleting 6 lines, you will have to correct or rewrite conkyrc
Offline
Thanks a lot il.harun but I'll pass.
It's all yours if you want to fork it or something.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
I'm not sure if I can, but I'll try.
Offline
ANNOUNCEMENT
Weather.com script abandoned. Sorry for any inconvenience caused, but it couldn't go on like this; that thing needed an update every 3-4 weeks.
Sorry again.
Hello Theo
It doesn't matter, there are still other of your scripts that work.
Thanks again for all the work done .
@+
+1
Teo, I also fully support your decision. Thanks for your good work.
Offline
Thanks for your support unklar, it just wasn't fun anymore.
Stay put for the beginning of the month accuweather bug.
...I might as well witness it myself, as I'll have to get down to make me a nice accuweather custom conky...
Last edited by TeoBigusGeekus (2020-12-02 20:02:42)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
ANNOUNCEMENT
Weather.com script abandoned. Sorry for any inconvenience caused, but it couldn't go on like this; that thing needed an update every 3-4 weeks.
Sorry again.
+1
Thank for all the job @Teo
I am using accuweather
Offline
Thank you ector1935!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
I have been negligent and busy with other things.
TEO - No need to be sorry, you went above and beyond the call of duty to accommodate us with weather.com.
Not your fault they are {cough cough}.
You still rock!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Cheers S11, thanks for your kind words, really appreciated.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Time for me to revisit: Accuweather very soon.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^Hello Teo, this morning is the time again
the curr_cond has only 27 lines instead of 28
1
0
1
Sunny
NE
6 km/h
85%
1004 mb
1 Low
10%
37% (Dry)
-2
16 km
07:59 AM
04:05 PM
8:06
9 km/h
01:19 PM
0N/A:N/A
9100 m
a
07:59
16:05
13:19
N/A:N/A
;
the curr_cond_raw
<!DOCTYPE html>
<html lang="en-us" class="accuweather">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta charset="utf-8" />
<link rel="canonical" href="https://www.accuweather.com/en/de/lichtenstein/09350/current-weather/171261" />
<title>Lichtenstein, Saxony, Germany Current Weather | AccuWeather</title>
<meta name="Description" content="Be prepared for the day. Check the current conditions for Lichtenstein, Saxony, Germany for the day ahead, with radar, hourly, and up to the minute forecasts. ">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="referrer" content="origin">
<meta property="fb:profile_id" content="AccuWeather">
<meta property="fb:app_id" content="132437483467956">
<meta property="fb:pages" content="71781612888">
<meta property="og:type" content="website">
<meta property="og:title" content="Lichtenstein, Saxony, Germany Current Weather | AccuWeather">
<meta property="og:description" content="Be prepared for the day. Check the current conditions for Lichtenstein, Saxony, Germany for the day ahead, with radar, hourly, and up to the minute forecasts. ">
<meta property="site_name" content="AccuWeather">
<meta property="og:url" content="https://www.accuweather.com/en/de/lichtenstein/09350/current-weather/171261">
<meta property="og:image" content="https://www.accuweather.com/images/logos/aw-logo-og-meta.png">
<meta property="og:image:url" content="https://www.accuweather.com/images/logos/aw-logo-og-meta.png">
<meta property="og:image:secure_url" content="https://www.accuweather.com/images/logos/aw-logo-og-meta.png">
<meta name="twitter:site" content="https://twitter.com/accuweather" >
<meta name="twitter:card" content="app">
<meta name="twitter:text:title" content="Lichtenstein, Saxony, Germany Current Weather | AccuWeather">
<meta name="twitter:title" content="Lichtenstein, Saxony, Germany Current Weather | AccuWeather">
<meta name="twitter:description" content="Be prepared for the day. Check the current conditions for Lichtenstein, Saxony, Germany for the day ahead, with radar, hourly, and up to the minute forecasts. ">
<meta name="twitter:site:id" content="https://twitter.com/accuweather">
<meta name="twitter:creator" content="https://twitter.com/accuweather">
<meta name="twitter:creator:id" content="https://twitter.com/accuweather">
<meta name="twitter:image" content="https://www.accuweather.com/images/logos/aw-logo-og-meta.png">
<meta name="twitter:app:name:iphone" content="AccuWeather: Weather Tracker">
<meta name="twitter:app:id:iphone" content="U7D6TVQ9TT.com.yourcompany.TestWithCustomTabs">
<meta name="twitter:app:url:iphone" content="https://apps.apple.com/US/app/id300048137?mt=8">
<meta name="twitter:app:name:ipad" content="AccuWeather: Weather Tracker">
<meta name="twitter:app:id:ipad" content="U7D6TVQ9TT.com.yourcompany.TestWithCustomTabs">
<meta name="twitter:app:url:ipad" content="https://apps.apple.com/US/app/id300048137?mt=8">
<meta name="twitter:app:name:googleplay" content="AccuWeather Winter weather alerts & forecast radar">
<meta name="twitter:app:id:googleplay" content="com.accuweather.android">
<meta name="twitter:app:url:googleplay" content="https://play.google.com/store/apps/details?id=com.accuweather.android">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "AccuWeather",
"url": "https://www.accuweather.com",
"sameAs": [
"https://www.facebook.com/AccuWeather",
"https://twitter.com/BreakingWeather",
"https://www.instagram.com/accuweather",
"https://www.youtube.com/user/accuweather"
]
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Place",
"address": {
"@type": "PostalAddress",
"addressLocality": "Lichtenstein, Germany",
"addressRegion": "Saxony",
"postalCode": "09350"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "50.756",
"longitude": "12.631",
"addressCountry": "DE",
"postalCode": "09350"
},
"name": "Lichtenstein, Saxony, Germany"
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://www.accuweather.com/en/de/lichtenstein/09350/current-weather/171261",
"relatedLink": "https://www.accuweather.com/en/de/lichtenstein/09350/current-weather/171261"
},
"image": {
"@type": "ImageObject",
"url": "https://www.accuweather.com/images/logos/accuweather-dark.png",
"height": 172,
"width": 1200
},
"author": {
"@type": "Person",
"name": "AccuWeather"
},
"publisher": {
"@context": "http://schema.org",
"@type": "Organization",
"name": "AccuWeather",
"url": "https://www.accuweather.com/",
"logo": {
"@type": "ImageObject",
"url": "https://www.accuweather.com/images/logos/accuweather-dark-small.png",
"width": 163,
"height": 23
}
},
"url": "https://www.accuweather.com/en/de/lichtenstein/09350/current-weather/171261",
"headline": "Lichtenstein, Saxony, Germany Current Weather",
"description": "Be prepared for the day. Check the current conditions for Lichtenstein, Saxony, Germany for the day ahead, with radar, hourly, and up to the minute forecasts. "
}
</script>
<link rel="preconnect" href="//securepubads.g.doubleclick.net" crossorigin>
<link rel="preconnect" href="//sb.scorecardresearch.com" crossorigin>
<link rel="preconnect" href="//www.google-analytics.com" crossorigin>
<link rel="preconnect" href="//ff.doubleclick.net" crossorigin>
<link rel="preconnect" href="//adservice.google.com" crossorigin>
<link rel="preload" as="font" href="/fonts/solis-regular.woff" type="font/woff" crossorigin="anonymous">
<script>
window.raineConfig = window.raineConfig || {
pageId: 'c22f6713-eae5-4f7f-b936-8bf22ae9de95',
serverRenderTime: '1607415584518',
partition: Math.ceil(Math.random()*3),
domain: 'accu-web-raine.azurewebsites.net',
bidIntervalSlot: 'top',
bidIntervalMs: 100,
};
</script>
<script>
(function(__wpcc){'use strict';var e=e||{};e.scope={};e.arrayIteratorImpl=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};e.arrayIterator=function(a){return{next:e.arrayIteratorImpl(a)}};e.ASSUME_ES5=!1;e.ASSUME_NO_NATIVE_MAP=!1;e.ASSUME_NO_NATIVE_SET=!1;e.SIMPLE_FROUND_POLYFILL=!1;e.defineProperty=e.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
e.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};e.global=e.getGlobal(this);e.SYMBOL_PREFIX="jscomp_symbol_";e.initSymbol=function(){e.initSymbol=function(){};e.global.Symbol||(e.global.Symbol=e.Symbol)};e.SymbolClass=function(a,b){this.$jscomp$symbol$id_=a;e.defineProperty(this,"description",{configurable:!0,writable:!0,value:b})};e.SymbolClass.prototype.toString=function(){return this.$jscomp$symbol$id_};
e.Symbol=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new e.SymbolClass(e.SYMBOL_PREFIX+(c||"")+"_"+b++,c)}var b=0;return a}();
e.initSymbolIterator=function(){e.initSymbol();var a=e.global.Symbol.iterator;a||(a=e.global.Symbol.iterator=e.global.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&e.defineProperty(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return e.iteratorPrototype(e.arrayIteratorImpl(this))}});e.initSymbolIterator=function(){}};
e.initSymbolAsyncIterator=function(){e.initSymbol();var a=e.global.Symbol.asyncIterator;a||(a=e.global.Symbol.asyncIterator=e.global.Symbol("Symbol.asyncIterator"));e.initSymbolAsyncIterator=function(){}};e.iteratorPrototype=function(a){e.initSymbolIterator();a={next:a};a[e.global.Symbol.iterator]=function(){return this};return a};
e.iteratorFromArray=function(a,b){e.initSymbolIterator();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d};
e.polyfill=function(a,b){if(b){var c=e.global;a=a.split(".");for(var d=0;d<a.length-1;d++){var g=a[d];g in c||(c[g]={});c=c[g]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&e.defineProperty(c,a,{configurable:!0,writable:!0,value:b})}};e.polyfill("Array.prototype.keys",function(a){return a?a:function(){return e.iteratorFromArray(this,function(a){return a})}},"es6","es3");e.polyfill("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}},"es6","es3");
e.polyfill("Array.prototype.includes",function(a){return a?a:function(a,c){var b=this;b instanceof String&&(b=String(b));var g=b.length;c=c||0;for(0>c&&(c=Math.max(c+g,0));c<g;c++){var h=b[c];if(h===a||Object.is(h,a))return!0}return!1}},"es7","es3");
e.checkStringArgs=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};e.polyfill("String.prototype.includes",function(a){return a?a:function(a,c){return-1!==e.checkStringArgs(this,a,"includes").indexOf(a,c||0)}},"es6","es3");
e.polyfill("Number.parseFloat",function(a){return a||parseFloat},"es6","es3");var f;"undefined"===typeof f&&(f=function(){});f.p="";}).call(this || window, (window.__wpcc = window.__wpcc || {}));
(function(__wpcc){'use strict';var p=function(a,b,c){function d(){k=this;l=arguments;n=Date.now();var d=c&&!h;h||(h=setTimeout(g,b));d&&(m=a.apply(k,l),k=l=null);return m}function g(){var d=Date.now()-n;d<b&&0<=d?h=setTimeout(g,b-d):(h=null,c||(m=a.apply(k,l),k=l=null))}var h,l,k,n,m;null==b&&(b=100);d.clear=function(){h&&(clearTimeout(h),h=null)};d.flush=function(){h&&(m=a.apply(k,l),k=l=null,clearTimeout(h),h=null)};return d},r=function(a){var b=this;this._partition=a.partition;this._hasBeaconApi="function"===typeof navigator.sendBeacon;
this._hasPerformance=void 0!==performance;this._domain=a.domain;this._pageId=a.pageId;this._hasPerformanceObserver="PerformanceObserver"in window;this._collectTimeOnPageBuckets=a.collectTimeOnPageBuckets;this.leavePageFired=!1;this._adBlockCheck=a.adBlockCheck||!0;this._requests=2;this._bidIntervalSlot=a.bidIntervalSlot;this._scroll={buckets:[0,0,0,0,0,0,0,0,0,0],scrolled:!1,last_timestamp:0,last_percent:0};this._eventMarks=a.eventMarks&&a.eventMarks.isArray?a.eventMarks:"init prebidLoaded adManagerInit bidsRequested bidsFinished setTarget adsReceived".split(" ");
this.marks={};this.measures={};this._eventMarks.forEach(function(a){b.marks[a]=-1});this._eventMeasures=a.eventMeasures||[["init","prebidLoaded"],["prebidLoaded","bidsRequested"],["bidsRequested","bidsFinished"],["bidsFinished","setTarget"],["setTarget","adsReceived"]];this._eventMarks.forEach(function(a,d){b._eventMarks.length>d&&"adManagerInit"!==a&&(b.measures[a[0]+"-"+a[1]]={startMark:a,endMark:b._eventMarks[d+1],startTime:-1,duration:-1})});this._resourceMonitorOptions=a.resourceMonitorOptions||
{enabled:!0,resourceTypes:a.resourceTypes|0,resourceRegEx:[],calculateTotals:!0,collectOnLeave:!0};this._resourceMonitorData={measures:{},totalBytesSameOrigin:-1,totalDurationSameOrigin:-1,totalDuration:-1,speed:-1};this.adSlotData={slots:{},events:[]};this._bidTiming={};this.cS=this.cS.bind(this);window.addEventListener("scroll",p(this.cS,500),!1);this.createBeaconRequest=this.createBeaconRequest.bind(this);this.pageLoading=this.pageLoading.bind(this);this.beginCollectTimeBuckets=this.beginCollectTimeBuckets.bind(this);
this.collectResourceData=this.collectResourceData.bind(this);this.captureLongRunningTasks=this.captureLongRunningTasks.bind(this);this.leavePage=this.leavePage.bind(this);this.recordEvent=this.recordEvent.bind(this);this.recordBidTiming=this.recordBidTiming.bind(this);this.slotEvent=this.slotEvent.bind(this);this._longtaskData={durationTotal:0,count:0,tasks:[],slots:{}};this.images=[];this.currentBucket=-1;a.collectTimeOnPageBuckets&&!0===a.collectTimeOnPageBuckets.enabled&&this.beginCollectTimeBuckets(a.collectTimeOnPageBuckets);
a.captureLongRunningTasks&&!0===a.captureLongRunningTasks.enabled&&this.captureLongRunningTasks(a.captureLongRunningTasks)};p.debounce=p;r.prototype.recordBidTiming=function(a,b){a in this._bidTiming||(this._bidTiming[a]=[]);this._bidTiming[a].push(b)};
r.prototype.recordEvent=function(a){var b=this;if(this._hasPerformance){performance.mark("raine."+a);var c=performance.getEntriesByName("raine."+a,"mark")[0];this.marks[a]=c.startTime;Object.keys(this.measures).forEach(function(d){if(b.measures[d].endMark===a)try{performance.measure("raine."+b.measures[d].startMark+"-"+b.measures[d].endMark,b.measures[d].startMark,b.measures[d].endMark);var c=performance.getEntriesByName("raine."+b.measures[d].startMark+"-"+b.measures[d].endMark,"measure")[0];b.measures[b.measures[d].startMark+
"_"+b.measures[d].endMark].startTime=c.startTime;b.measures[b.measures[d].startMark+"_"+b.measures[d].endMark].duration=c.duration}catch(h){}})}};
r.prototype.collectResourceData=function(){var a=this;if(this._hasPerformance){var b=this;this._resourceMonitorData.totalBytesSameOrigin=0;this._resourceMonitorData.totalDurationSameOrigin=0;this._resourceMonitorData.totalDuration=0;var c=performance.getEntriesByType("resource");this._resourceMonitorOptions.resourceTypes&&0<this._resourceMonitorOptions.resourceTypes.length&&(c=c.filter(function(a){return b._resourceMonitorOptions.resourceTypes.includes(a.initiatorType)}));this._resourceMonitorOptions.resourceRegEx&&
0<this._resourceMonitorOptions.resourceRegEx.length&&this._resourceMonitorOptions.resourceRegEx.forEach(function(b){a._resourceMonitorData.measures[b.name]={duration:0,count:0}});c.forEach(function(a){b._resourceMonitorOptions.resourceRegEx&&0<b._resourceMonitorOptions.resourceRegEx.length&&b._resourceMonitorOptions.resourceRegEx.forEach(function(c){a.regexs.forEach(function(d){d.test(a.name)&&(b._resourceMonitorData.measures[c.name].count++,b._resourceMonitorData.measures[c.name].duration+=a.duration)})});
b._resourceMonitorOptions.calculateTotals&&(b._resourceMonitorData.totalBytesSameOrigin+=a.transferSize,0!==a.transferSize&&(b._resourceMonitorData.totalDurationSameOrigin=a.duration),b._resourceMonitorData.totalDuration+=a.duration)});this._resourceMonitorData.speed=Math.round(this._resourceMonitorData.totalBytesSameOrigin/1024/(this._resourceMonitorData.totalDurationSameOrigin/1E3))}};
r.prototype.captureLongRunningTasks=function(a){if(this._hasPerformanceObserver){var b=a.duration||2E4,c=(new Date).getTime(),d=this,g=new PerformanceObserver(function(h){for(var l=h.getEntries(),k=0;k<l.length;k++)d._longtaskData.tasks.push(l[k]),d._longtaskData.count++,a.adslots&&a.adslots.forEach(function(){});(new Date).getTime()-c>b&&g.disconnect();"function"===typeof a.callback&&a.callback(h)});g.observe({entryTypes:["longtask"]})}};
r.prototype.cS=function(){if(this._hasPerformance&&window.document.body){var a=performance.now();this._scroll.buckets[Math.floor(this._scroll.last_percent/10)]+=Math.floor((a-this._scroll.last_timestamp)/200);var b=this.getScrollPercent();this._scroll.last_percent=b;this._scroll.last_timestamp=a;this._scroll.scrolled=!0;console.log(this._scroll.buckets)}};
r.prototype.getScrollPercent=function(){var a=document;return Math.min(90,Math.floor((window.pageYOffset||(document.documentElement||document.body.parentNode||document.body).scrollTop)/(Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.body.clientHeight,a.documentElement.clientHeight)-(window.innerHeight||(document.documentElement||document.body).clientHeight))*100))};
r.prototype.beginCollectTimeBuckets=function(a){if(this._hasPerformance)var b=a.bucketSize||2E3,c=!1,d=setInterval(function(){var g=2*Math.floor(performance.now()/b);if(g>this.currentBucket||!c)this.currentBucket=g,"function"===typeof a.callback&&a.callback(this.currentBucket),c=!0;a.bucketMax=a.bucketMax||10;this.current_bucket>=a.bucketMax&&clearInterval(d)},a.collectionInterval||500)};
r.prototype.isHighDensity=function(){return window.matchMedia&&(window.matchMedia("only screen and (min-resolution: 124dpi), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 48.8dpcm)").matches||window.matchMedia("only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 2.6/2), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3)").matches)||window.devicePixelRatio&&1.3<window.devicePixelRatio};
r.prototype.isRetina=function(){return(window.matchMedia&&(window.matchMedia("only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx), only screen and (min-resolution: 75.6dpcm)").matches||window.matchMedia("only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min--moz-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2)").matches)||window.devicePixelRatio&&2<=window.devicePixelRatio)&&/(iPad|iPhone|iPod)/g.test(navigator.userAgent)};
r.prototype.createBeaconRequest=function(a,b,c){var d="https://"+this._domain+"/raine/"+a+"?id="+this._pageId+"&prt="+this._partition;Object.keys(b).forEach(function(a){d+="&"+a+"="+encodeURI(b[a])});a=null;if(void 0!==c&&null!==c&&!0===c)return d;this._hasBeaconApi?(console.log("Sending Beacon:"+d),navigator.sendBeacon(d)||(d+="&b=0",a=new Image,a.src=d,this.images.push(a),console.log("Sending Pixel:"+d))):(d+="&b=0",a=new Image,a.src=d,this.images.push(a),console.log("Sending Pixel:"+d))};
r.prototype.pageLoading=function(a){var b=a.mock;a={pn:a.pageName,pg:a.pageGroup,srt:a.serverRenderTime,dd:this.isRetina()?2:this.isHighDensity()?1:0,w:100*Math.ceil(Math.max(document.documentElement.clientWidth,window.innerWidth||0)/100),h:100*Math.ceil(Math.max(document.documentElement.clientHeight,window.innerHeight||0)/100),po:this._hasPerformanceObserver,p:this._hasPerformance,cc:a.countryCode,pc:a.partnerCode,bd:a.botDetected,tg:a.testGroup,nt:a.networkType,tp:a.throughput};return this.createBeaconRequest("p",
a,b)};
r.prototype.slotEvent=function(a,b,c){a in this.adSlotData.slots||(this.adSlotData.slots[a]={});var d=this.adSlotData.slots[a];"bidvalue"==b&&c.bidder&&c.value&&(!d.highbidder||d.highbidder.value&&d.highbidder.value<c.value)&&(d.highbidder={bidder:c.bidder,value:Number.parseFloat(c.value).toFixed(2)});if("bidinterval"==b&&this._hasPerformance&&this.marks.bidsRequested){var g={time:performance.now()-this.marks.bidsRequested,bidder:c.bidder,value:c.value};d.bidIntervals?d.bidIntervals.push(g):d.bidIntervals=
[g]}"number"==typeof c&&(c=Math.floor(c));this.adSlotData.slots[a][b]=c};
r.prototype.leavePage=function(a){var b=this;if(!1===this.leavePageFired||a){a||(this.leavePageFired=!0);!0===this._resourceMonitorOptions.collectOnLeave&&this.collectResourceData();if(!this._scroll.scrolled&&this._hasPerformance)this._scroll.buckets[0]=Math.floor(performance.now()/200);else if(this._hasPerformance){var c=performance.now();this._scroll.buckets[Math.floor(this._scroll.last_percent/10)]+=Math.floor((c-this._scroll.last_timestamp)/200)}var d=[],g=[];Object.keys(this._bidTiming).forEach(function(a){var c=
b._bidTiming[a];c=c.reduce(function(a,b){return a+b},0)/c.length;d.push(a);g.push(Math.floor(c))});var h=[],l=[],k=[],n=[],m=[],q=[],t=[],u=[],v=[];Object.keys(this.adSlotData.slots).forEach(function(a){h.push(a);"viewable"in b.adSlotData.slots[a]?l.push(b.adSlotData.slots[a].viewable):l.push(-1);"onload"in b.adSlotData.slots[a]?k.push(b.adSlotData.slots[a].onload):k.push(-1);"renderend"in b.adSlotData.slots[a]?n.push(b.adSlotData.slots[a].renderend):n.push(-1);"highbidder"in b.adSlotData.slots[a]?
(m.push(b.adSlotData.slots[a].highbidder.bidder),q.push(b.adSlotData.slots[a].highbidder.value.toString().replace(".",","))):(m.push(-1),q.push(-1));"bidIntervals"in b.adSlotData.slots[a]&&b.adSlotData.slots[a].bidIntervals.forEach(function(a){t.push(Math.round(a.time));u.push(a.bidder);a=Number.parseFloat(a.value).toFixed(2);v.push(a.toString().replace(".",","))})});c={t:this._hasPerformance?performance.now():-1,optb:this.currentBucket,rtbso:Math.round(this._resourceMonitorData.totalBytesSameOrigin),
rtdso:Math.round(this._resourceMonitorData.totalDurationSameOrigin),rtd:Math.round(this._resourceMonitorData.totalDuration),s:Math.round(this._resourceMonitorData.speed),mi:Math.round(this.marks.init),mpbl:Math.round(this.marks.prebidLoaded),mami:Math.round(this.marks.adManagerInit),mbr:Math.round(this.marks.bidsRequested),mbf:Math.round(this.marks.bidsFinished),mst:Math.round(this.marks.setTarget),mar:Math.round(this.marks.adsReceived),bi:d.join("."),bt:g.join("."),sb:this._scroll.buckets.join("."),
sl:h.join("."),siv:l.join("."),sol:k.join("."),sre:n.join("."),shb:m.join("."),shv:q.join("."),bis:this._bidIntervalSlot,bit:t.join("."),bin:u.join("."),biv:v.join("."),aa:this._adBlockCheck?window.noBlocker&&!0===window.noBlocker?1:0:-1,c:this._requests};return this.createBeaconRequest("leavePage",c,a)}};
r&&window.raineConfig&&(window.Raine=new r(window.raineConfig),r.prototype.pageLoading=r.prototype.pageLoading,r.prototype.leavePage=r.prototype.leavePage,r.prototype.recordEvent=r.prototype.recordEvent,r.prototype._pageId=r.prototype._pageId,r.prototype.cS=r.prototype.cS,r.prototype.recordBidTiming=r.prototype.recordBidTiming,r.prototype.slotEvent=r.prototype.slotEvent,void 0!==window.raineq&&Array.isArray(window.raineq)&&(window.raineq.forEach(function(a){a()}),window.raineq={},window.raineq.push=
function(a){a()}));}).call(this || window, (window.__wpcc = window.__wpcc || {}));
window.raineq = window.raineq || [];
window.addEventListener("unload", function (event) {
if (window.Raine) {
window.Raine.leavePage();
event.preventDefault();
event.returnValue = undefined;
}
});
</script>
<script>
var adExclusion = null;
var botDetected = 0;
var adInfo = {"glacier":"1","fdate":"20201208","lang":"en-us","ut":"1","advelvet":"18","bot":"0","pgview":"1","partner":"accuweather","city":"Lichtenstein","country":"DE","state":"SN","dma":null,"key":"171261","zip":"093XX","browser":"firefox","connection":"_vhigh_5000","alertscategory":"NON-PRECIPITATION","alertssource":"DE","alertstypeid":"DE183","cuhd":"85","cuhi":"32","cuuv":"1","cuwd":"4","cuwx":"1","realfeel":"35,a45","fc1hi":"41","fc1lo":"34","fc1wx":"12","lfscategory":"rain","lfsday":"1","lfsseverity":"3","lfs":"3_rain_1"};
var adPageInfo = {category:'weather',template:'current'};
var indexAdInfo = [{"item2":"a1,b1,c1,d1,e1","item1":"ixuvindex"},{"item2":"a1,b1,c1,d1,e1","item1":"ixptree"},{"item2":"a1,b1,c1,d1,e1","item1":"ixpweed"},{"item2":"a1,b1,c1,d1,e1","item1":"ixpmold"},{"item2":"a1,b1,c1,d1,e1","item1":"ixpgrass"},{"item2":"a1,b1,c1,d1,e1","item1":"ixairq"},{"item2":"a4,b4,c5,d5,e5","item1":"ixtravel"},{"item2":"a3,b4,c4,d4,e3","item1":"ixindoor"},{"item2":"a2,b1,c1,d2,e2","item1":"ixrunning"},{"item2":"a2,b1,c1,d1,e2","item1":"ixgolf"},{"item2":"a1,b1,c1,d1,e1","item1":"ixconcert"},{"item2":"a1,b1,c1,d1,e1","item1":"ixbeach"},{"item2":"a1,b1,c1,d1,e1","item1":"ixsailing"},{"item2":"a1,b1,c1,d1,e1","item1":"ixfishing"},{"item2":"a2,b1,c1,d2,e2","item1":"ixconstruction"},{"item2":"a2,b1,c2,d3,e4","item1":"ixskiing"},{"item2":"a1,b1,c1,d1,e1","item1":"ixmosq"},{"item2":"a3,b3,c2,d3,e3","item1":"ixdust"},{"item2":"a1,b1,c1,d1,e1","item1":"ixschoolclosing"},{"item2":"a2,b1,c1,d1,e2","item1":"ixhunting"},{"item2":"a3,b2,c3,d3,e3","item1":"ixarthritis"},{"item2":"a1,b1,c1,d1,e1","item1":"ixasthma"},{"item2":"a1,b1,c1,d1,e1","item1":"ixbbq"},{"item2":"a2,b2,c2,d2,e2","item1":"ixcold"},{"item2":"a2,b2,c2,d1,e2","item1":"ixflu"},{"item2":"a1,b1,c1,d1,e1","item1":"ixmigraine"},{"item2":"a2,b1,c1,d1,e2","item1":"ixoutdoor"},{"item2":"a2,b2,c2,d2,e2","item1":"ixsinus"},{"item2":"a5,b3,c3,d4,e4","item1":"ixschoolbus"},{"item2":"a3,b3,c3,d3,e3","item1":"ixfueleconomy"},{"item2":"a2,b2,c2,d2,e2","item1":"ixfrizz"},{"item2":"a1,b1,c1,d1,e1","item1":"ixcopd"},{"item2":"a1,b1,c1,d1,e1","item1":"ixpollen"}];
var partnerCode = 'accuweather';
var countryCode = 'de';
var networkType = 'Unknown';
var throughput = 'vhigh';
if (window.Raine) {
window.Raine.pageLoading({
serverRenderTime: window.raineConfig.serverRenderTime,
pageName: window.adPageInfo.template,
pageGroup: window.adPageInfo.category,
mock: false,
testGroup: '',
networkType: networkType,
throughput: throughput,
countryCode: countryCode,
partnerCode: partnerCode,
botDetected: botDetected,
});
}
</script>
<script>
var isCovid19Active = true;
var isTropicalActive = true;
var pageId = 'current-weather';
var hostEnvironment = 'Production-NEURO-K8S';
var sessionPartner = 'accuweather';
var siteVersion = "2.1.66.2";
var isHeaderBidDisabled = false;
var userCookie = {"cache":{"items":{"171261":{"we":1607415584512,"tei":[],"wca":false}}},"cDate":"2020-12-08","isDarkMapStyle":false,"lifestyle":"allergies","lang":"en-us","rl":["171261"],"tp":"C","userContentAffinity":{}};
var recentLocations = [{"adminArea":{"englishName":"Saxony","id":"SN","localizedName":"Saxony"},"alertCount":0,"country":{"englishName":"Germany","id":"DE","localizedName":"Germany"},"icon":1,"key":"171261","localizedName":"Lichtenstein","postalCode":"09350","temp":"0°"}];
var currentLocation = {"administrativeArea":{"englishName":"Saxony","id":"SN","localizedName":"Saxony"},"plumeLabsLink":"https://air.plumelabs.com/en/","country":{"englishName":"Germany","id":"DE","localizedName":"Germany"},"englishName":"Lichtenstein","gmtOffset":1.0,"hasAlerts":true,"hasForecastConfidence":true,"hasMinuteCast":true,"hasFutureRadar":true,"key":"171261","lat":50.756,"localizedName":"Lichtenstein","lon":12.631,"primaryPostalCode":"09350","region":{"englishName":"Europe","id":"EUR","localizedName":"Europe"},"timeZone":"CET","timeZoneCode":"CET"};
var currentCountryLocation = {"isEEA":true,"lat":51.0,"lon":9.0};
var currentAdminLocation = null;
var serverAdsOnPage = [{"config":"top","adType":"top","viewport":"tablet desktop","adDivId":"top"},{"config":"native","adType":"native","viewport":"","adDivId":"native"},{"config":"top_right","adType":"top_right","viewport":"tablet desktop","adDivId":"top_right"},{"config":"middle","adType":"middle","viewport":"mobile","adDivId":"middle"},{"config":"bottom_right","adType":"bottom_right","viewport":"tablet desktop","adDivId":"bottom_right"},{"config":"bottom","adType":"bottom","viewport":"","adDivId":"bottom"},{"config":"oop","adType":"oop","viewport":"","adDivId":"oop"}];
var hideVideos = false;
var userData = {"city":"FRANKFURT","continent":2,"countryCode":"DE","lat":50.12,"lon":8.68,"regionCode":"HE","throughput":"vhigh","bw":"5000","device":{}};
var lifestyle = {"lifestyleLocale":"en-us","name":"Ragweed Pollen","value":1,"lifestyle":"allergies","localizedLifestyle":"Allergies","category":"Low","isStatusRed":false};
var showPrivacyPolicyBanner = true;
var consentCookie = '.AspNet.Consent=yes; expires=Wed, 08 Dec 2021 08:19:44 GMT; path=/; samesite=lax';
var mapbox={token:'pk.eyJ1IjoiYWNjdXdlYXRoZXItaW5jIiwiYSI6ImNqeGtxeDc4ZDAyY2czcnA0Ym9ubzh0MTAifQ.HjSuXwG2bI05yFYmc0c9lw',style:'mapbox://styles/accuweather-inc/cjknc24na2o5u2sqoy0t8ku8a'};
var dts={token:'de13920f574d420984d3080b1fa6132b'};
setTimeout(function() {
var reg = new RegExp('(\\s|^)' + 'ads-not-loaded' + '(\\s|$)');
if (document.body.hasAttribute('class')) {
document.body.setAttribute('class', document.body.getAttribute('class').replace(reg, ' '));
}
}, 3000);
</script>
<script src="/advertisement.js"></script>
<script type="text/javascript">
var PushlySDK = window.PushlySDK || [];
function pushly() { PushlySDK.push(arguments) }
window.pushlyCallback = function() {
pushly('load', {
domainKey: '16if7iQ5tgH1FcRA4cUeejyVcdf5guIAEV9R',
});
};
</script>
<script>const startMetric=Date.now();function measureTiming(t){var e=Date.now()-startMetric;console.log(t+": "+e);window[t]=e}</script>
<script type="text/javascript">!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.ES6Promise=e()}(this,function(){"use strict";function t(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function e(t){return"function"==typeof t}function n(t){B=t}function r(t){G=t}function o(){return function(){return process.nextTick(a)}}function i(){return"undefined"!=typeof z?function(){z(a)}:c()}function s(){var t=0,e=new J(a),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function u(){var t=new MessageChannel;return t.port1.onmessage=a,function(){return t.port2.postMessage(0)}}function c(){var t=setTimeout;return function(){return t(a,1)}}function a(){for(var t=0;t<W;t+=2){var e=V[t],n=V[t+1];e(n),V[t]=void 0,V[t+1]=void 0}W=0}function f(){try{var t=Function("return this")().require("vertx");return z=t.runOnLoop||t.runOnContext,i()}catch(e){return c()}}function l(t,e){var n=this,r=new this.constructor(p);void 0===r[Z]&&O(r);var o=n._state;if(o){var i=arguments[o-1];G(function(){return P(o,r,i,n._result)})}else E(n,r,t,e);return r}function h(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(p);return g(n,t),n}function p(){}function v(){return new TypeError("You cannot resolve a promise with itself")}function d(){return new TypeError("A promises callback cannot return that same promise.")}function _(t){try{return t.then}catch(e){return nt.error=e,nt}}function y(t,e,n,r){try{t.call(e,n,r)}catch(o){return o}}function m(t,e,n){G(function(t){var r=!1,o=y(n,e,function(n){r||(r=!0,e!==n?g(t,n):S(t,n))},function(e){r||(r=!0,j(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,j(t,o))},t)}function b(t,e){e._state===tt?S(t,e._result):e._state===et?j(t,e._result):E(e,void 0,function(e){return g(t,e)},function(e){return j(t,e)})}function w(t,n,r){n.constructor===t.constructor&&r===l&&n.constructor.resolve===h?b(t,n):r===nt?(j(t,nt.error),nt.error=null):void 0===r?S(t,n):e(r)?m(t,n,r):S(t,n)}function g(e,n){e===n?j(e,v()):t(n)?w(e,n,_(n)):S(e,n)}function A(t){t._onerror&&t._onerror(t._result),T(t)}function S(t,e){t._state===$&&(t._result=e,t._state=tt,0!==t._subscribers.length&&G(T,t))}function j(t,e){t._state===$&&(t._state=et,t._result=e,G(A,t))}function E(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+tt]=n,o[i+et]=r,0===i&&t._state&&G(T,t)}function T(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,o=void 0,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?P(n,r,o,i):o(i);t._subscribers.length=0}}function M(t,e){try{return t(e)}catch(n){return nt.error=n,nt}}function P(t,n,r,o){var i=e(r),s=void 0,u=void 0,c=void 0,a=void 0;if(i){if(s=M(r,o),s===nt?(a=!0,u=s.error,s.error=null):c=!0,n===s)return void j(n,d())}else s=o,c=!0;n._state!==$||(i&&c?g(n,s):a?j(n,u):t===tt?S(n,s):t===et&&j(n,s))}function x(t,e){try{e(function(e){g(t,e)},function(e){j(t,e)})}catch(n){j(t,n)}}function C(){return rt++}function O(t){t[Z]=rt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function k(){return new Error("Array Methods must be provided an Array")}function F(t){return new ot(this,t).promise}function Y(t){var e=this;return new e(U(t)?function(n,r){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function q(t){var e=this,n=new e(p);return j(n,t),n}function D(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function K(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function L(){var t=void 0;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;if(n){var r=null;try{r=Object.prototype.toString.call(n.resolve())}catch(e){}if("[object Promise]"===r&&!n.cast)return}t.Promise=it}var N=void 0;N=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var U=N,W=0,z=void 0,B=void 0,G=function(t,e){V[W]=t,V[W+1]=e,W+=2,2===W&&(B?B(a):X())},H="undefined"!=typeof window?window:void 0,I=H||{},J=I.MutationObserver||I.WebKitMutationObserver,Q="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),R="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,V=new Array(1e3),X=void 0;X=Q?o():J?s():R?u():void 0===H&&"function"==typeof require?f():c();var Z=Math.random().toString(36).substring(2),$=void 0,tt=1,et=2,nt={error:null},rt=0,ot=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(p),this.promise[Z]||O(this.promise),U(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?S(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&S(this.promise,this._result))):j(this.promise,k())}return t.prototype._enumerate=function(t){for(var e=0;this._state===$&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===h){var o=_(t);if(o===l&&t._state!==$)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===it){var i=new n(p);w(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},t.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===$&&(this._remaining--,t===et?j(r,n):this._result[e]=n),0===this._remaining&&S(r,this._result)},t.prototype._willSettleAt=function(t,e){var n=this;E(t,void 0,function(t){return n._settledAt(tt,e,t)},function(t){return n._settledAt(et,e,t)})},t}(),it=function(){function t(e){this[Z]=C(),this._result=this._state=void 0,this._subscribers=[],p!==e&&("function"!=typeof e&&D(),this instanceof t?x(this,e):K())}return t.prototype["catch"]=function(t){return this.then(null,t)},t.prototype["finally"]=function(t){var n=this,r=n.constructor;return e(t)?n.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})}):n.then(t,t)},t}();return it.prototype.then=l,it.all=F,it.race=Y,it.resolve=h,it.reject=q,it._setScheduler=n,it._setAsap=r,it._asap=G,it.polyfill=L,it.Promise=it,it.polyfill(),it});</script>
<script>window.isUserCountryEEA = true;</script>
<script>
window.googlefc = window.googlefc || {};
googlefc.callbackQueue = googlefc.callbackQueue || [];
googlefc.suppressConsentMessage = false;
window['ntixyt'] = window['ntixyt'] || [];
window['ntixyt'].push(function(api) { api.enable(); });
</script>
<script src="https://contributor.google.com/scripts/250229f2024a6c7b/loader.js"></script>
<script>(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */
'use strict';var g=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},l=this||self,m=/^[\w+/_-]+[=]{0,2}$/,p=null,q=function(){},r=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";
if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},u=function(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};var v=function(a,b){Object.defineProperty(l,a,{configurable:!1,get:function(){return b},set:q})};var y=function(a,b){this.b=a===w&&b||"";this.a=x},x={},w={};var aa=function(a,b){a.src=b instanceof y&&b.constructor===y&&b.a===x?b.b:"type_error:TrustedResourceUrl";if(null===p)b:{b=l.document;if((b=b.querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&m.test(b)){p=b;break b}p=""}b=p;b&&a.setAttribute("nonce",b)};var z=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^+new Date).toString(36)};var A=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},B=function(a){this.a=a||l.document||document};B.prototype.appendChild=function(a,b){a.appendChild(b)};var C=function(a,b,c,d,e,f){try{var k=a.a,h=A(a.a,"SCRIPT");h.async=!0;aa(h,b);k.head.appendChild(h);h.addEventListener("load",function(){e();d&&k.head.removeChild(h)});h.addEventListener("error",function(){0<c?C(a,b,c-1,d,e,f):(d&&k.head.removeChild(h),f())})}catch(n){f()}};var ba=l.atob("aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vaW1hZ2VzL2ljb25zL21hdGVyaWFsL3N5c3RlbS8xeC93YXJuaW5nX2FtYmVyXzI0ZHAucG5n"),ca=l.atob("WW91IGFyZSBzZWVpbmcgdGhpcyBtZXNzYWdlIGJlY2F1c2UgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlIGlzIGludGVyZmVyaW5nIHdpdGggdGhpcyBwYWdlLg=="),da=l.atob("RGlzYWJsZSBhbnkgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlLCB0aGVuIHJlbG9hZCB0aGlzIHBhZ2Uu"),ea=function(a,b,c){this.b=a;this.f=new B(this.b);this.a=null;this.c=[];this.g=!1;this.i=b;this.h=c},F=function(a){if(a.b.body&&!a.g){var b=
function(){D(a);l.setTimeout(function(){return E(a,3)},50)};C(a.f,a.i,2,!0,function(){l[a.h]||b()},b);a.g=!0}},D=function(a){for(var b=G(1,5),c=0;c<b;c++){var d=H(a);a.b.body.appendChild(d);a.c.push(d)}b=H(a);b.style.bottom="0";b.style.left="0";b.style.position="fixed";b.style.width=G(100,110).toString()+"%";b.style.zIndex=G(2147483544,2147483644).toString();b.style["background-color"]=I(249,259,242,252,219,229);b.style["box-shadow"]="0 0 12px #888";b.style.color=I(0,10,0,10,0,10);b.style.display=
"flex";b.style["justify-content"]="center";b.style["font-family"]="Roboto, Arial";c=H(a);c.style.width=G(80,85).toString()+"%";c.style.maxWidth=G(750,775).toString()+"px";c.style.margin="24px";c.style.display="flex";c.style["align-items"]="flex-start";c.style["justify-content"]="center";d=A(a.f.a,"IMG");d.className=z();d.src=ba;d.style.height="24px";d.style.width="24px";d.style["padding-right"]="16px";var e=H(a),f=H(a);f.style["font-weight"]="bold";f.textContent=ca;var k=H(a);k.textContent=da;J(a,
e,f);J(a,e,k);J(a,c,d);J(a,c,e);J(a,b,c);a.a=b;a.b.body.appendChild(a.a);b=G(1,5);for(c=0;c<b;c++)d=H(a),a.b.body.appendChild(d),a.c.push(d)},J=function(a,b,c){for(var d=G(1,5),e=0;e<d;e++){var f=H(a);b.appendChild(f)}b.appendChild(c);c=G(1,5);for(d=0;d<c;d++)e=H(a),b.appendChild(e)},G=function(a,b){return Math.floor(a+Math.random()*(b-a))},I=function(a,b,c,d,e,f){return"rgb("+G(Math.max(a,0),Math.min(b,255)).toString()+","+G(Math.max(c,0),Math.min(d,255)).toString()+","+G(Math.max(e,0),Math.min(f,
255)).toString()+")"},H=function(a){a=A(a.f.a,"DIV");a.className=z();return a},E=function(a,b){0>=b||null!=a.a&&0!=a.a.offsetHeight&&0!=a.a.offsetWidth||(fa(a),D(a),l.setTimeout(function(){return E(a,b-1)},50))},fa=function(a){var b=a.c;var c="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];b=c?c.call(b):{next:g(b)};for(c=b.next();!c.done;c=b.next())(c=c.value)&&c.parentNode&&c.parentNode.removeChild(c);a.c=[];(b=a.a)&&b.parentNode&&b.parentNode.removeChild(b);a.a=null};var ia=function(a,b,c,d,e){var f=ha(c),k=function(n){n.appendChild(f);l.setTimeout(function(){f?(0!==f.offsetHeight&&0!==f.offsetWidth?b():a(),f.parentNode&&f.parentNode.removeChild(f)):a()},d)},h=function(n){document.body?k(document.body):0<n?l.setTimeout(function(){h(n-1)},e):b()};h(3)},ha=function(a){var b=document.createElement("div");b.className=a;b.style.width="1px";b.style.height="1px";b.style.position="absolute";b.style.left="-10000px";b.style.top="-10000px";b.style.zIndex="-10000";return b};var K={},L=null;var M=function(){},N="function"==typeof Uint8Array,O=function(a,b){a.b=null;b||(b=[]);a.j=void 0;a.f=-1;a.a=b;a:{if(b=a.a.length){--b;var c=a.a[b];if(!(null===c||"object"!=typeof c||Array.isArray(c)||N&&c instanceof Uint8Array)){a.g=b-a.f;a.c=c;break a}}a.g=Number.MAX_VALUE}a.i={}},P=[],Q=function(a,b){if(b<a.g){b+=a.f;var c=a.a[b];return c===P?a.a[b]=[]:c}if(a.c)return c=a.c[b],c===P?a.c[b]=[]:c},R=function(a,b,c){a.b||(a.b={});if(!a.b[c]){var d=Q(a,c);d&&(a.b[c]=new b(d))}return a.b[c]};
M.prototype.h=N?function(){var a=Uint8Array.prototype.toJSON;Uint8Array.prototype.toJSON=function(){var b;void 0===b&&(b=0);if(!L){L={};for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;5>e;e++){var f=c.concat(d[e].split(""));K[e]=f;for(var k=0;k<f.length;k++){var h=f[k];void 0===L[h]&&(L[h]=k)}}}b=K[b];c=[];for(d=0;d<this.length;d+=3){var n=this[d],t=(e=d+1<this.length)?this[d+1]:0;h=(f=d+2<this.length)?this[d+2]:0;k=n>>2;n=(n&
3)<<4|t>>4;t=(t&15)<<2|h>>6;h&=63;f||(h=64,e||(t=64));c.push(b[k],b[n],b[t]||"",b[h]||"")}return c.join("")};try{return JSON.stringify(this.a&&this.a,S)}finally{Uint8Array.prototype.toJSON=a}}:function(){return JSON.stringify(this.a&&this.a,S)};var S=function(a,b){return"number"!==typeof b||!isNaN(b)&&Infinity!==b&&-Infinity!==b?b:String(b)};M.prototype.toString=function(){return this.a.toString()};var T=function(a){O(this,a)};u(T,M);var U=function(a){O(this,a)};u(U,M);var ja=function(a,b){this.c=new B(a);var c=R(b,T,5);c=new y(w,Q(c,4)||"");this.b=new ea(a,c,Q(b,4));this.a=b},ka=function(a,b,c,d){b=new T(b?JSON.parse(b):null);b=new y(w,Q(b,4)||"");C(a.c,b,3,!1,c,function(){ia(function(){F(a.b);d(!1)},function(){d(!0)},Q(a.a,2),Q(a.a,3),Q(a.a,1))})};var la=function(a,b){V(a,"internal_api_load_with_sb",function(c,d,e){ka(b,c,d,e)});V(a,"internal_api_sb",function(){F(b.b)})},V=function(a,b,c){a=l.btoa(a+b);v(a,c)},W=function(a,b,c){for(var d=[],e=2;e<arguments.length;++e)d[e-2]=arguments[e];e=l.btoa(a+b);e=l[e];if("function"==r(e))e.apply(null,d);else throw Error("API not exported.");};var X=function(a){O(this,a)};u(X,M);var Y=function(a){this.h=window;this.a=a;this.b=Q(this.a,1);this.f=R(this.a,T,2);this.g=R(this.a,U,3);this.c=!1};Y.prototype.start=function(){ma();var a=new ja(this.h.document,this.g);la(this.b,a);na(this)};
var ma=function(){var a=function(){if(!l.frames.googlefcPresent)if(document.body){var b=document.createElement("iframe");b.style.display="none";b.style.width="0px";b.style.height="0px";b.style.border="none";b.style.zIndex="-1000";b.style.left="-1000px";b.style.top="-1000px";b.name="googlefcPresent";document.body.appendChild(b)}else l.setTimeout(a,5)};a()},na=function(a){var b=Date.now();W(a.b,"internal_api_load_with_sb",a.f.h(),function(){var c;var d=a.b,e=l[l.btoa(d+"loader_js")];if(e){e=l.atob(e);
e=parseInt(e,10);d=l.btoa(d+"loader_js").split(".");var f=l;d[0]in f||"undefined"==typeof f.execScript||f.execScript("var "+d[0]);for(;d.length&&(c=d.shift());)d.length?f[c]&&f[c]!==Object.prototype[c]?f=f[c]:f=f[c]={}:f[c]=null;c=Math.abs(b-e);c=1728E5>c?0:c}else c=-1;0!=c&&(W(a.b,"internal_api_sb"),Z(a,Q(a.a,6)))},function(c){Z(a,c?Q(a.a,4):Q(a.a,5))})},Z=function(a,b){a.c||(a.c=!0,a=new l.XMLHttpRequest,a.open("GET",b,!0),a.send())};(function(a,b){l[a]=function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];l[a]=q;b.apply(null,d)}})("__d3lUW8vwsKlB__",function(a){"function"==typeof window.atob&&(a=window.atob(a),a=new X(a?JSON.parse(a):null),(new Y(a)).start())});}).call(this);
window.__d3lUW8vwsKlB__("WyIyNTAyMjlmMjAyNGE2YzdiIixbbnVsbCxudWxsLG51bGwsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2YvQUdTS1d4WFBmcFJrenYtbUtvU3dudnBJd3RSZXRJZ1RVNjNfQnUtdXZFTzJWcTRLRjdjVEJxVEV2enhlMHBCQXBidHk2b1FuczlveEUtdlhMLXRvWGNEci1UVVx1MDAzZCJdCixbMjAsImRpdi1ncHQtYWQiLDEwMCwiTWpVd01qSTVaakl3TWpSaE5tTTNZZ1x1MDAzZFx1MDAzZCIsW251bGwsbnVsbCxudWxsLCJodHRwczovL3d3dy5nc3RhdGljLmNvbS8wZW1uL2YvcC8yNTAyMjlmMjAyNGE2YzdiLmpzP3VzcXBcdTAwM2RDQWciXQpdCiwiaHR0cHM6Ly9mdW5kaW5nY2hvaWNlc21lc3NhZ2VzLmdvb2dsZS5jb20vbC9BR1NLV3hWNkRYY092TVR2X0FjN0VZV1pkc1ZzQU95ZVF5ZkRqdjNVbkxLZTFUMS1sWWpzV0l5V2xRMVNJU3ZaVm1JbWZIMWJLX3Y1VkdHNXVRTko1c0lqP2FiXHUwMDNkMSIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2wvQUdTS1d4VjNodU5iYTE4RE5EdU1XT2ZTeWNZMHpxNmlRd21EMUk4Ykt1TjhEdHJFZ0dhUW4xNWRnSEdpa0F5TTJhRHVZS2lWYk5RUzRQNktUSnNLRWY0cT9hYlx1MDAzZDJcdTAwMjZzYmZcdTAwM2QxIiwiaHR0cHM6Ly9mdW5kaW5nY2hvaWNlc21lc3NhZ2VzLmdvb2dsZS5jb20vbC9BR1NLV3hVaDZfSy1tZExZMU9IcTVMU3pkTUF6UmxORy1oVm9fYVk1aUZFbXFhY3lfWlo2bGRycDdZZG1laDVsd3FJMzRzbndLcm9GZHFWbHNDalU1SDF3P3NiZlx1MDAzZDIiXQo=");
</script>
<script>
var attemptingTranslation = false;
var beginTryTranslateFc = function() {
if (attemptingTranslation)
return;
attemptingTranslation = true;
var containerTarget = null;
var consentTarget = null;
var optionsTarget = null;
var translationInterval = setInterval(function() {
if (!containerTarget) {
var containerTargets = document.getElementsByClassName('fc-consent-root');
if (containerTargets.length > 0) {
containerTarget = containerTargets[0];
}
}
if (containerTarget) {
if (!consentTarget) {
consentTarget = containerTarget.querySelector('button.fc-cta-consent p.fc-button-label');
consentTarget.innerHTML = "Consent";
}
if (!optionsTarget) {
optionsTarget = containerTarget.querySelector('button.fc-cta-manage-options p.fc-button-label');
optionsTarget.innerHTML = "Manage Options";
}
if (consentTarget && optionsTarget) {
attemptingTranslation = false;
clearInterval(translationInterval);
}
}
}, 200);
setTimeout(function() {
attemptingTranslation = false;
clearInterval(translationInterval);
}, 10000);
}
beginTryTranslateFc();
</script>
<script charset="utf-8" src="/bundles/prebid.6ae559c24d56a1a1930e.js" async></script>
<script src="https://securepubads.g.doubleclick.net/tag/js/gpt.js" async></script>
<script charset="utf-8" src="/bundles/ad-manager.6eff577a7250972f8929.js" async></script>
<script>
function getHitTimeStamp () {
// Get local time as ISO string with offset at the end
var now = new Date();
var tzo = -now.getTimezoneOffset();
var dif = tzo >= 0 ? '+' : '-';
var pad = function(num) {
var norm = Math.abs(Math.floor(num));
return (norm < 10 ? '0' : '') + norm;
}
return now.getFullYear()
+ '-' + pad(now.getMonth()+1)
+ '-' + pad(now.getDate())
+ 'T' + pad(now.getHours())
+ ':' + pad(now.getMinutes())
+ ':' + pad(now.getSeconds())
+ '.' + pad(now.getMilliseconds())
+ dif + pad(tzo / 60)
+ ':' + pad(tzo % 60);
}
function getRandomSessionId () {
return new Date().getTime() + '.' + Math.random().toString(36).substring(5);
}
function getLocalTimeHour () {
var now = new Date();
var str = now.toString();
var fullTime = now.toString().split(' ')[4];
return fullTime.split(":")[0];
}
function getGmtOffset () {
var now = new Date();
var str = now.toString();
var tz = now.toString().split('GMT')[1]
return "GMT " + tz;
}
function getAdTemplate() {
const isMobile = document.documentElement.clientWidth < 768;
const platform = isMobile ? 'mweb' : 'web';
return '6581/' + platform + '/de/top/weather/current';
}
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-20804842-17', 'auto', 'awxTracker');
ga(function(tracker) {
tracker = ga.getByName('awxTracker');
const gaClientId = tracker.get('clientId');
ga('awxTracker.set', 'dimension1', getAdTemplate());
ga('awxTracker.set', 'dimension2', 'accuweather');
ga('awxTracker.set', 'dimension3', 'en-us');
ga('awxTracker.set', 'dimension4', '');
ga('awxTracker.set', 'dimension5', 'DEZWKU');
ga('awxTracker.set', 'dimension6', getLocalTimeHour());
ga('awxTracker.set', 'dimension7', 'current-weather');
ga('awxTracker.set', 'dimension8', '');
ga('awxTracker.set', 'dimension9', '6/NON-PRECIPITATION/DE183');
ga('awxTracker.set', 'dimension10', '1/day');
ga('awxTracker.set', 'dimension11', 'responsive');
ga('awxTracker.set', 'dimension12', 'de');
ga('awxTracker.set', 'dimension13', 'current-weather');
ga('awxTracker.set', 'dimension14', 'saxony');
ga('awxTracker.set', 'dimension15', '');
ga('awxTracker.set', 'dimension16', '');
ga('awxTracker.set', 'dimension17', 'not article');
ga('awxTracker.set', 'dimension18', '1');
ga('awxTracker.set', 'dimension19', '2020-12-08');
ga('awxTracker.set', 'dimension20', gaClientId);
ga('awxTracker.set', 'dimension21', getHitTimeStamp());
ga('awxTracker.set', 'dimension22', getRandomSessionId());
ga('awxTracker.set', 'dimension23', 'Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0');
ga('awxTracker.set', 'dimension25', 'No_gtm');
ga('awxTracker.set', 'dimension26', '');
ga('awxTracker.set', 'dimension27', '');
ga('awxTracker.set', 'dimension28', '');
ga('awxTracker.set', 'dimension29', '');
ga('awxTracker.set', 'dimension30', '');
ga('awxTracker.set', 'dimension31', '');
ga('awxTracker.set', 'dimension32', '');
ga('awxTracker.set', 'dimension33', '');
ga('awxTracker.set', 'dimension35', '');
ga('awxTracker.set', 'dimension37', '');
ga('awxTracker.set', 'dimension39', document.referrer);
ga('awxTracker.set', 'dimension44', '');
ga('awxTracker.set', 'dimension45', '');
ga('awxTracker.set', 'dimension46', '');
ga('awxTracker.set', 'dimension47', '');
ga('awxTracker.set', 'dimension48', '0');
ga('awxTracker.set', 'dimension56', window.location.href);
ga('awxTracker.set', 'dimension63', getGmtOffset());
ga('awxTracker.set', 'dimension66', '');
ga('awxTracker.set', 'dimension67', '');
ga('awxTracker.set', 'dimension68', '');
ga('awxTracker.set', 'dimension69', 'rr: everything you need to know about winter tires|how to stay active during winter');
ga('awxTracker.set', 'dimension70', 'rr: 4|5');
ga('awxTracker.set', 'dimension71', 'Germany|desktop');
ga('awxTracker.send', 'pageview', {
'dimension24': 'GA Pageview - All'
});
});
</script>
<link rel="stylesheet" href="/bundles/city.current-weather-desktop.e817925b56ff3faf8e60.css" />
<link rel="stylesheet" href="/bundles/1.ead68340afe4e7b2f32e.css" />
<script>(window.BOOMR_mq=window.BOOMR_mq||[]).push(["addVar",{"rua.upush":"false","rua.cpush":"true","rua.upre":"false","rua.cpre":"false","rua.uprl":"false","rua.cprl":"false","rua.cprf":"false","rua.trans":"SJ-d0fcee86-96ea-4fc5-b7fe-3b0f99266013","rua.cook":"false","rua.ims":"false","rua.ufprl":"false","rua.cfprl":"true"}]);</script>
<script>!function(){function o(n,i){if(n&&i)for(var r in i)i.hasOwnProperty(r)&&(void 0===n[r]?n[r]=i[r]:n[r].constructor===Object&&i[r].constructor===Object?o(n[r],i[r]):n[r]=i[r])}try{var n=decodeURIComponent("%7B%22LOGN%22%3A%7B%22storeConfig%22%3Atrue%7D%2C%22Early%22%3A%7B%22enabled%22%3Atrue%7D%7D");if(n.length>0&&window.JSON&&"function"==typeof window.JSON.parse){var i=JSON.parse(n);void 0!==window.BOOMR_config?o(window.BOOMR_config,i):window.BOOMR_config=i}}catch(r){window.console&&"function"==typeof window.console.error&&console.error("mPulse: Could not parse configuration",r)}}();</script>
<script>!function(a){var e="https://s.go-mpulse.net/boomerang/",t="addEventListener";if("False"=="True")a.BOOMR_config=a.BOOMR_config||{},a.BOOMR_config.PageParams=a.BOOMR_config.PageParams||{},a.BOOMR_config.PageParams.pci=!0,e="https://s2.go-mpulse.net/boomerang/";if(window.BOOMR_API_key="WVCM2-8MB3H-J4PHA-TKSJD-9YGAB",function(){function n(e){a.BOOMR_onload=e&&e.timeStamp||(new Date).getTime()}if(!a.BOOMR||!a.BOOMR.version&&!a.BOOMR.snippetExecuted){a.BOOMR=a.BOOMR||{},a.BOOMR.snippetExecuted=!0;var i,_,o,r=document.createElement("iframe");if(a[t])a[t]("load",n,!1);else if(a.attachEvent)a.attachEvent("onload",n);r.src="javascript:void(0)",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="width:0;height:0;border:0;display:none;",o=document.getElementsByTagName("script")[0],o.parentNode.insertBefore(r,o);try{_=r.contentWindow.document}catch(O){i=document.domain,r.src="javascript:var d=document.open();d.domain='"+i+"';void(0);",_=r.contentWindow.document}_.open()._l=function(){var a=this.createElement("script");if(i)this.domain=i;a.id="boomr-if-as",a.src=e+"WVCM2-8MB3H-J4PHA-TKSJD-9YGAB",BOOMR_lstart=(new Date).getTime(),this.body.appendChild(a)},_.write("<bo"+'dy onload="document._l();">'),_.close()}}(),"".length>0)if(a&&"performance"in a&&a.performance&&"function"==typeof a.performance.setResourceTimingBufferSize)a.performance.setResourceTimingBufferSize();!function(){if(BOOMR=a.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.AK){var e="true"=="true"?1:0,t="",n="kxkhft27mu3ewx6pg4qa-f-a240b0eaf-clientnsv4-s.akamaihd.net",i={"ak.v":"29","ak.cp":"804314","ak.ai":parseInt("295874",10),"ak.ol":"0","ak.cr":59,"ak.ipv":4,"ak.proto":"h2","ak.rid":"501a8426","ak.r":38405,"ak.a2":e,"ak.m":"e12","ak.n":"essl","ak.bpcip":"85.212.114.0","ak.cport":33040,"ak.gh":"23.213.160.217","ak.quicv":"","ak.tlsv":"tls1.2","ak.0rtt":"","ak.csrc":"-","ak.acc":"","ak.t":"1607415584","ak.ak":"hOBiQwZUYzCg5VSAfCLimQ==fsgXyvrQavnaSUdUsHXn7wzWiVyuSslIhGyaoF2pCIQEU7lzJAsr82XUmjKVKhSgZyAo0SIwjs9YO5RFZJm68A/e+wrrWwPt1cakMYZ8A3N8qdTFpbTy0nYjUEeOQ+2opvrpoJ5lyJOqQSn37hI4bn5VWhRUftRpnMcDSlZNvOi4BcZPyfqfbAMrcm63ZAjYSEvl/0lXh5nAD1sYmXQ9rf1u6iSuBqIZ9wKYnV88OgQNezKChRkxiauZtpQTw2ZT/jjxDFDkbuiq4noH/24sgXkRM7eZT/UL1tb5rOlRgyYlaPX9TztLlr+zghP+ODoTcFYepHw8U9QjeoW8UW7JceXU7HhyzD7ZLo9fpwe3UuNemCZzZ6xKqPvGvnp3Aizpp+sONQRJ4ooFZ+0ypk+faRoBGXgbT/LXHWFtXrjhlMw=","ak.pv":"207","ak.dpoabenc":""};if(""!==t)i["ak.ruds"]=t;var _={i:!1,av:function(e){var t="http.initiator";if(e&&(!e[t]||"spa_hard"===e[t]))i["ak.feo"]=void 0!==a.aFeoApplied?1:0,BOOMR.addVar(i)},rv:function(){var a=["ak.bpcip","ak.cport","ak.cr","ak.csrc","ak.gh","ak.ipv","ak.m","ak.n","ak.ol","ak.proto","ak.quicv","ak.tlsv","ak.0rtt","ak.r","ak.acc","ak.t"];BOOMR.removeVar(a)}};BOOMR.plugins.AK={akVars:i,akDNSPreFetchDomain:n,init:function(){if(!_.i){var a=BOOMR.subscribe;a("before_beacon",_.av,null,null),a("onbeacon",_.rv,null,null),_.i=!0}return this},is_complete:function(){return!0}}}}()}(window);</script><script>bazadebezolkohpepadr="1934843778"</script><script type="text/javascript" src="https://www.accuweather.com/akam/11/73535ce7" defer></script></head>
<body class="current-weather ads-not-loaded">
<div class="template-root" style="display:none;">
<div class="nfl-header ">
<div class="header-outer">
<div class="header-inner">
<a class="header-logo" href="/">
<img class="accuweather-logo " data-src="/images/logos/accuweather.svg" alt="AccuWeather" data-eager />
</a>
<a class="header-city-link" href="/en/de/lichtenstein/09350/weather-forecast/171261">
<h1 class="header-loc">Lichtenstein, Saxony</h1>
<span class="header-temp">0°<span class="unit">C</span></span>
<img class="header-weather-icon" src="/images/weathericons/01.svg" width="27" height="27" />
</a>
<div class="pull-right">
<div class="header-search-bar search-bar">
<div class="searchbar-inner">
<img alt="" class="icon-search" src="/images/icons/icon-search.svg" />
<form class="search-form" action="/en/search-locations" method="GET">
<input
name="query"
class="search-input"
type="text"
placeholder="Search location, zip..."
autocomplete="off"
/>
</form>
<svg class="clear-icon close-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><g fill-rule="evenodd" transform="translate(-1 -1)"><rect width="2" height="24" x="9" y="-2" rx="1" transform="rotate(45 10 10)"/><rect width="2" height="24" x="9" y="-2" rx="1" transform="rotate(-45 10 10)"/></g></svg>
</div>
<div class="search-bar-dropdown">
<div class="use-current-location">
<img alt="" class="icon-gps" data-src="/images/icons/icon-gps-dark.svg" />
<span>Use your current location</span>
</div>
<div class="recent-title">Recent Locations</div>
<a class="recent-location-item-header search-location-item" href="/web-api/three-day-redirect?key=171261&target=" data-location-key="171261">
<span class="recent-location-name"></span>
<img alt="" class="weather-icon recent-location-icon" data-src="/images/weathericons/1.svg" width="128px" height="128px" data-eager />
<span class="recent-location-temp">0° C</span>
</a>
<a class="browse-location-link" href="/en/browse-locations">
Browse for your location
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
</div>
</div>
<svg class="hamburger-button icon-hamburger" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><defs><path id="svghamburger" d="M10 12v1H0v-1h10zm6-6v1H0V6h16zm0-6v1H0V0h16z"/></defs><use fill="#FFF" fill-rule="evenodd" transform="matrix(-1 0 0 1 20 6)" xlink:href="#svghamburger"/></svg>
<svg class="close-button close-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><g fill-rule="evenodd" transform="translate(-1 -1)"><rect width="2" height="24" x="9" y="-2" rx="1" transform="rotate(45 10 10)"/><rect width="2" height="24" x="9" y="-2" rx="1" transform="rotate(-45 10 10)"/></g></svg>
</div>
</div>
</div>
<div class="header-menu">
<div class="settings-link">
<a href="/en/settings">
<svg class="icon-settings" xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="#FFF"><path d="M13.677.107l.871 2.674c.775.225 1.549.483 2.162.902l2.58-1.32 2.452 2.447-1.29 2.578c.354.612.645 1.353.87 2.094l2.678.902v3.414l-2.645.838c-.258.773-.549 1.578-.903 2.255l1.29 2.48-2.452 2.449-2.58-1.224c-.645.386-1.387.676-2.162.902l-.87 2.609h-3.42l-.903-2.61c-.742-.225-1.484-.482-2.161-.934L4.742 21.82 2.29 19.372l1.29-2.449c-.386-.676-.677-1.45-.903-2.255L0 13.798v-3.447l2.71-.902c.193-.74.451-1.481.87-2.094L2.29 4.843l2.452-2.449 2.452 1.289c.677-.387 1.419-.677 2.16-.902l.904-2.674h3.42zm-.838 1.128h-1.807l-.806 2.448-.549.193c-.677.194-1.354.419-1.935.773l-.548.29-2.29-1.16L3.58 5.1l1.225 2.384-.354.548c-.323.483-.581 1.127-.71 1.74l-.13.612-2.515.805v1.804l2.451.805.194.58c.193.677.42 1.385.774 1.965l.29.548-1.16 2.287L4.967 20.5l2.322-1.16.549.355c.58.354 1.226.612 1.903.773l.548.193.775 2.32h1.838l.774-2.417.581-.128c.677-.194 1.323-.42 1.903-.741l.484-.322 2.42 1.127 1.322-1.32-1.161-2.288.29-.483c.323-.645.58-1.353.774-2.062l.194-.58 2.42-.74V11.19l-2.452-.805-.194-.548c-.193-.677-.42-1.32-.742-1.836l-.29-.548 1.161-2.384-1.322-1.353-2.388 1.256-.548-.354a7.5 7.5 0 00-1.903-.74l-.58-.194-.807-2.448zm-.871 5.38c3.032 0 5.548 2.448 5.548 5.508 0 3.028-2.516 5.541-5.548 5.541-3.065 0-5.516-2.545-5.516-5.54a5.49 5.49 0 015.516-5.51zm0 1.063c-2.323 0-4.355 2.093-4.355 4.445 0 2.352 2.032 4.446 4.355 4.446 2.322 0 4.387-2.126 4.387-4.446 0-2.352-2.065-4.445-4.387-4.445z"/></svg>
settings
</a>
<svg class="close-button close-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><g fill-rule="evenodd" transform="translate(-1 -1)"><rect width="2" height="24" x="9" y="-2" rx="1" transform="rotate(45 10 10)"/><rect width="2" height="24" x="9" y="-2" rx="1" transform="rotate(-45 10 10)"/></g></svg>
</div>
<div class="header-loc-weather">Lichtenstein, Saxony Weather</div>
<a class="header-link " href="/en/de/lichtenstein/09350/weather-forecast/171261">Now</a>
<a class="header-link " href="/en/de/lichtenstein/09350/hourly-weather-forecast/171261">Hourly</a>
<a class="header-link " href="/en/de/lichtenstein/09350/daily-weather-forecast/171261">Daily</a>
<a class="header-link " href="/en/de/lichtenstein/09350/weather-radar/171261">Radar</a>
<a class="header-link " href="/en/de/lichtenstein/09350/minute-weather-forecast/171261">MinuteCast</a>
<a class="header-link " href="/en/de/lichtenstein/09350/december-weather/171261">Monthly</a>
<a class="header-link " href="/en/de/lichtenstein/09350/air-quality-index/171261">Air Quality</a>
<div class="more-cta-links ">
<h2 class="more-cta-title">
Around the Globe
</h2>
<a href="/en/de/national/covid-19" class="cta-link">
<h3 class="cta-text">Coronavirus Tracker</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/de/winter-weather" class="cta-link">
<h3 class="cta-text">Winter Center</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/hurricane" class="cta-link">
<h3 class="cta-text">Hurricane Tracker</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/de/saxony/weather-radar" class="cta-link">
<h3 class="cta-text">Radar & Maps</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/videos" class="cta-link">
<h3 class="cta-text">Video</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/weather-news" class="cta-link">
<h3 class="cta-text">News</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/podcast" class="cta-link">
<h3 class="cta-text">Podcasts</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
</div>
</div>
</div>
<div class="header-placeholder "></div>
<div class="page-subnav">
<div class="subnav secondary-nav " data-gatype="city">
<div class="overflow overflow-left">
<svg
class="icon-chevron left arrow"
xmlns="http://www.w3.org/2000/svg"
width="10"
height="6"
viewBox="0 0 10 6"
role="img"
aria-labelledby="chevronSVG"
>
<title id="chevronSVG">Chevron left</title>
<path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" />
</svg>
</div>
<div class="overflow overflow-right">
<svg
class="icon-chevron right arrow"
xmlns="http://www.w3.org/2000/svg"
width="10"
height="6"
viewBox="0 0 10 6"
role="img"
aria-labelledby="chevronSVG"
>
<title id="chevronSVG">Chevron right</title>
<path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" />
</svg>
</div>
<div class="subnav-items">
<a
class="subnav-item "
href="/en/de/lichtenstein/09350/weather-forecast/171261"
data-gaid=now
>
<span>Now</span>
</a>
<a
class="subnav-item "
href="/en/de/lichtenstein/09350/hourly-weather-forecast/171261"
data-gaid=hourly
>
<span>Hourly</span>
</a>
<a
class="subnav-item "
href="/en/de/lichtenstein/09350/daily-weather-forecast/171261"
data-gaid=daily
>
<span>Daily</span>
</a>
<a
class="subnav-item "
href="/en/de/lichtenstein/09350/weather-radar/171261"
data-gaid=radar
>
<span>Radar</span>
</a>
<a
class="subnav-item "
href="/en/de/lichtenstein/09350/minute-weather-forecast/171261"
data-gaid=minutecast
>
<span>MinuteCast</span>
</a>
<a
class="subnav-item "
href="/en/de/lichtenstein/09350/december-weather/171261"
data-gaid=monthly
>
<span>Monthly</span>
</a>
<a
class="subnav-item "
href="/en/de/lichtenstein/09350/air-quality-index/171261"
data-gaid=airQuality
>
<span>Air Quality</span>
</a>
<div class="subnav-item filler"></div>
</div>
</div>
</div>
<div class="glacier-ad top content-module" data-ad-type="top" data-viewport="tablet desktop" id="top"></div>
<div class="two-column-page-content">
<div class="page-column-1">
<div class="content-module">
<div class="content-module subnav-pagination">
<a href="" class="hidden">
<svg class="pagination-button chevron-icon left" xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" /></svg>
</a>
<div>Tuesday, December 8</div>
<a href="/en/de/lichtenstein/09350/daily-weather-forecast/171261?day=2" class="">
<svg class="pagination-button chevron-icon right" xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" /></svg>
</a>
</div>
<div class="current-weather-card card-module content-module non-ad">
<div class="card-header spaced-content">
<h1>Current Weather</h1>
<p class="sub">9:19 AM</p>
</div>
<div class="card-content">
<div class="current-weather-info">
<img class="icon" src="/images/weathericons/01.svg" width="62" height="62" />
<div class="temp">
<div class="display-temp">0°<span class="sub">C</span>
</div>
<div class="realfeel">RealFeel® 1°</div>
</div>
</div>
<div class="current-weather-extra">
<div>RealFeel® 1°</div>
<div>RealFeel Shade™ 1°</div>
</div>
</div>
<div class="phrase">Sunny</div>
<div class="current-weather-details">
<div class="left">
<div class="detail-item spaced-content real-feel-shade">
<div>RealFeel Shade™</div>
<div>1°</div>
</div>
<div class="detail-item spaced-content">
<div>Max UV Index</div>
<div>1 Low</div>
</div>
<div class="detail-item spaced-content">
<div>Wind</div>
<div>NE 6 km/h</div>
</div>
<div class="detail-item spaced-content">
<div>Wind Gusts</div>
<div>9 km/h</div>
</div>
<div class="detail-item spaced-content">
<div>Humidity</div>
<div>85%</div>
</div>
<div class="detail-item spaced-content">
<div>Indoor Humidity</div>
<div>37% (Dry)</div>
</div>
</div>
<div class="right">
<div class="detail-item spaced-content">
<div>Dew Point</div>
<div>-2° C</div>
</div>
<div class="detail-item spaced-content">
<div>Pressure</div>
<div>1004 mb</div>
</div>
<div class="detail-item spaced-content">
<div>Cloud Cover</div>
<div>10%</div>
</div>
<div class="detail-item spaced-content">
<div>Visibility</div>
<div>16 km</div>
</div>
<div class="detail-item spaced-content">
<div>Cloud Ceiling</div>
<div>9100 m</div>
</div>
</div>
</div>
</div>
<div class="glacier-ad native content-module" data-ad-type="native" data-viewport="" id="native"></div>
<div class="half-day-card content-module has-alerts">
<div class="half-day-card-header">
<h2 class="title">Day</h2>
<img alt="" class="weather-icon icon" data-src="/images/weathericons/12.svg" width="128px" height="128px" data-eager />
<div class="temperature">
5°<span class="hi-lo-label">Hi</span>
</div>
<div class="real-feel">
<div>
RealFeel®
7°
</div>
<div>
RealFeel Shade™
6°
</div>
</div>
<div class="short-date">
<div>
12/8
</div>
</div>
</div>
<div class="half-day-card-content">
<div class="phrase">Areas of low clouds and fog this morning, then mostly cloudy this afternoon with a little rain</div>
<div class="inline-alert-banners">
<a class="inline-alert" href="/en/de/lichtenstein/09350/weather-warnings/171261">
<div class="inline-alert-heading">
<img src="/images/components/core/inline-alert-banners/alert-icon.svg" alt="Alert" />
<div>Severe Weather Alerts</div>
</div>
<div class="inline-alert-subheading">
<div>
<p class="alert-description">Warning for Frost</p>
<p>10:00 PM Monday - 10:00 AM Tuesday</p>
</div>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</div>
</a>
</div>
<div class="panels">
<div class="left">
<p class="panel-item">Max UV Index<span class="value">1 Low</span></p>
<p class="panel-item">Wind<span class="value">ESE 7 km/h</span></p>
<p class="panel-item">Wind Gusts<span class="value">11 km/h</span></p>
<p class="panel-item">Probability of Precipitation<span class="value">55%</span></p>
<p class="panel-item">Probability of Thunderstorms<span class="value">0%</span></p>
</div>
<div class="right">
<p class="panel-item">Precipitation<span class="value">0.5 mm</span></p>
<p class="panel-item">Rain<span class="value">0.5 mm</span></p>
<p class="panel-item">Hours of Precipitation<span class="value">1</span></p>
<p class="panel-item">Hours of Rain<span class="value">1</span></p>
<p class="panel-item">Cloud Cover<span class="value">80%</span></p>
</div>
</div>
</div>
<div class="quarter-day-ctas">
<h3>
<a class="quarter-day-cta" href="/en/de/lichtenstein/09350/morning-weather-forecast/171261?day=1">
Morning
<img src="/images/icons/arrow-right-black.svg" width="18" height="18" alt="right arrow" />
</a>
</h3>
<h3>
<a class="quarter-day-cta" href="/en/de/lichtenstein/09350/afternoon-weather-forecast/171261?day=1">
Afternoon
<img src="/images/icons/arrow-right-black.svg" width="18" height="18" alt="right arrow" />
</a>
</h3>
</div>
</div>
<div class="half-day-card content-module ">
<div class="half-day-card-header">
<h2 class="title">Night</h2>
<img alt="" class="weather-icon icon" data-src="/images/weathericons/12.svg" width="128px" height="128px" data-eager />
<div class="temperature">
1°<span class="hi-lo-label">Lo</span>
</div>
<div class="real-feel">
<div>
RealFeel®
2°
</div>
</div>
<div class="short-date">
<div>
12/8
</div>
</div>
</div>
<div class="half-day-card-content">
<div class="phrase">Low clouds and fog with a bit of rain</div>
<div class="panels">
<div class="left">
<p class="panel-item">Wind<span class="value">NW 6 km/h</span></p>
<p class="panel-item">Wind Gusts<span class="value">9 km/h</span></p>
<p class="panel-item">Probability of Precipitation<span class="value">55%</span></p>
<p class="panel-item">Probability of Thunderstorms<span class="value">0%</span></p>
<p class="panel-item">Precipitation<span class="value">0.9 mm</span></p>
</div>
<div class="right">
<p class="panel-item">Rain<span class="value">0.9 mm</span></p>
<p class="panel-item">Hours of Precipitation<span class="value">1.5</span></p>
<p class="panel-item">Hours of Rain<span class="value">1.5</span></p>
<p class="panel-item">Cloud Cover<span class="value">99%</span></p>
</div>
</div>
</div>
<div class="quarter-day-ctas">
<h3>
<a class="quarter-day-cta" href="/en/de/lichtenstein/09350/evening-weather-forecast/171261?day=1">
Evening
<img src="/images/icons/arrow-right-black.svg" width="18" height="18" alt="right arrow" />
</a>
</h3>
<h3>
<a class="quarter-day-cta" href="/en/de/lichtenstein/09350/overnight-weather-forecast/171261?day=1">
Overnight
<img src="/images/icons/arrow-right-black.svg" width="18" height="18" alt="right arrow" />
</a>
</h3>
</div>
</div>
<div id="connatix" class="content-module"></div>
<div class="sunrise-sunset card-module content-module">
<h2 class="title module-title">
Sunrise/Sunset
</h2>
<div class="content">
<div class="panel left">
<div class="spaced-content">
<img class="weather-icon" src="/images/weathericons/01.svg" width="40" height="40" />
<div class="duration">
<p class="duration-time">
8 hrs
</p>
<p class="duration-time">
06 mins
</p>
</div>
</div>
<div class="spaced-content">
<span class="text-label">
Rise
</span>
<span class="text-value">7:59 AM</span>
</div>
<div class="spaced-content">
<span class="text-label">Set</span>
<span class="text-value">4:05 PM</span>
</div>
</div>
<div class="panel right">
<div class="spaced-content">
<img class="weather-icon" src="/images/weathericons/33.svg" width="40" height="40" />
<div class="duration">
<p class="duration-time">
N/A
</p>
<p class="duration-time">
</p>
</div>
</div>
<div class="spaced-content">
<span class="text-label">Rise</span>
<span class="text-value">N/A</span>
</div>
<div class="spaced-content">
<span class="text-label">Set</span>
<span class="text-value">1:19 PM</span>
</div>
</div>
</div>
</div>
<div class="temp-history content-module">
<div class="history">
<div class="title-row">
<h2>Temperature History</h2> <span class="header-date">12/8</span>
</div>
<div class="label-row">
<div class="label"></div>
<div class="temp-label">High</div>
<div class="temp-label">Low</div>
</div>
<div class="row first">
<div class="label">Forecast</div>
<div class="temperature">5°</div>
<div class="temperature">1°</div>
</div>
<div class="row">
<div class="label">Average</div>
<div class="temperature">1°</div>
<div class="temperature">-3°</div>
</div>
<div class="row">
<div class="label">Last Year</div>
<div class="temperature">8°</div>
<div class="temperature">4°</div>
</div>
</div>
</div>
<div class="more-cta-links ">
<h2 class="more-cta-title">
Further Ahead
</h2>
<a href="/en/de/lichtenstein/09350/hourly-weather-forecast/171261" class="cta-link">
<h3 class="cta-text">Hourly</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/de/lichtenstein/09350/daily-weather-forecast/171261" class="cta-link">
<h3 class="cta-text">Daily</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/de/lichtenstein/09350/december-weather/171261" class="cta-link">
<h3 class="cta-text">Monthly</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
</div>
</div>
<div class="more-cta-links ">
<h2 class="more-cta-title">
Around the Globe
</h2>
<a href="/en/de/national/covid-19" class="cta-link">
<h3 class="cta-text">Coronavirus Tracker</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/de/winter-weather" class="cta-link">
<h3 class="cta-text">Winter Center</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/hurricane" class="cta-link">
<h3 class="cta-text">Hurricane Tracker</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/de/saxony/weather-radar" class="cta-link">
<h3 class="cta-text">Radar & Maps</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/videos" class="cta-link">
<h3 class="cta-text">Video</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/en/weather-news" class="cta-link">
<h3 class="cta-text">News</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
<a href="/podcast" class="cta-link">
<h3 class="cta-text">Podcasts</h3>
<img src="/images/icons/arrow-right-black.svg" alt="right arrow" />
</a>
</div>
</div>
<div class="page-column-2">
<div class="right-rail left-align-children">
<div class="glacier-ad top_right content-module" data-ad-type="top_right" data-viewport="tablet desktop" id="top_right"></div>
<div class="glacier-ad middle content-module" data-ad-type="middle" data-viewport="mobile" id="middle"></div>
<div class="zone-rightRail1 content-module">
<div class="thumbnail-right-rail">
<p class="title">Top Stories</p>
<a class="right-rail-article right-rail-ga "
href="https://www.accuweather.com/en/winter-weather/late-week-snowstorm-to-bring-abrupt-end-to-warmth-in-midwest/862172"
data-ga-action='Right Rail Click Editorial'
data-ga-label="Late-week snowstorm to bring abrupt end to warmth in Midwest"
>
<div class="right-rail-article__meta">
<p class="right-rail-article__category">Winter Weather</p>
<p class="right-rail-article__title">Late-week snowstorm to bring abrupt end to warmth in Midwest</p>
<p class="right-rail-article__time">2 hours ago</p>
</div>
<img alt="" class="right-rail-article__thumb" data-src="https://cms.accuweather.com/wp-content/uploads/2020/12/cropped-FE-3B.png?w=64&h=64&crop=1" />
</a>
<a class="right-rail-article right-rail-ga "
href="https://www.accuweather.com/en/weather-news/extreme-weather-leaves-australian-suburb-covered-in-hairy-panic-tumbleweed/862199"
data-ga-action='Right Rail Click Editorial'
data-ga-label="Extreme weather leaves Australian suburb covered in 'hairy panic'"
>
<div class="right-rail-article__meta">
<p class="right-rail-article__category">Weather News</p>
<p class="right-rail-article__title">Extreme weather leaves Australian suburb covered in 'hairy panic'</p>
<p class="right-rail-article__time">14 hours ago</p>
</div>
<img alt="" class="right-rail-article__thumb" data-src="https://cms.accuweather.com/wp-content/uploads/2020/12/cropped-Screen-Shot-2020-12-07-at-11.20.57-AM.png?w=64&h=64&crop=1" />
</a>
<a class="right-rail-article right-rail-ga "
href="https://www.accuweather.com/en/health-wellness/live-news/covid-19-usa-cases-and-daily-news-and-information/848707"
data-ga-action='Right Rail Click Editorial'
data-ga-label="Daily coronavirus briefing: 1st COVID-19 vaccines to be administered Tuesday"
>
<div class="right-rail-article__meta">
<p class="right-rail-article__category">Health</p>
<p class="right-rail-article__title">Daily coronavirus briefing: 1st COVID-19 vaccines to be administered Tuesday</p>
<p class="right-rail-article__time">4 hours ago</p>
</div>
<img alt="" class="right-rail-article__thumb" data-src="https://cms.accuweather.com/wp-content/uploads/2020/11/cropped-AP20340401199980.jpg?w=64&h=64&crop=1" />
</a>
<a class="right-rail-article right-rail-ga video"
href="https://www.accuweather.com/en/videos/horse-rescued-from-icy-lake/A6KrusBu"
data-ga-action='Right Rail Click Video'
data-ga-label="Horse rescued from icy lake"
>
<div class="right-rail-article__video-thumb">
<img alt="" class="right-rail-article__thumb" data-src="https://cdn.jwplayer.com/v2/media/A6KrusBu/poster.jpg?w=104&h=58&crop=1" />
<div class="play-icon"><div class="play-icon__inner"></div></div>
</div>
<div class="right-rail-article__meta">
<p class="right-rail-article__title">Horse rescued from icy lake</p>
<div class="spaced-content">
<span class="right-rail-article__time">19 hours ago</span>
<span class="right-rail-article__video-time">0:37</span>
</div>
</div>
</a>
<a class="right-rail-article right-rail-ga "
href="https://www.accuweather.com/podcast/weatherinsider?id=19c5c010-3894-11eb-8934-9f92b37bfc7d&autoplay=true"
data-ga-action='Right Rail Click Editorial'
data-ga-label="Podcast: Warmth in the Plains to precede late-week wintry storm"
>
<div class="right-rail-article__meta">
<p class="right-rail-article__category"></p>
<p class="right-rail-article__title">Podcast: Warmth in the Plains to precede late-week wintry storm</p>
<p class="right-rail-article__time"></p>
</div>
<img alt="" class="right-rail-article__thumb" data-src="https://cms.accuweather.com/wp-content/uploads/2020/11/weatherinsider-podcastcover.jpg?w=64&h=64&crop=1" />
</a>
<a class="cta" href="https://www.accuweather.com/en/weather-news">More Stories</a>
</div>
</div>
<div class="glacier-ad bottom_right content-module" data-ad-type="bottom_right" data-viewport="tablet desktop" id="bottom_right"></div>
<div class="zone-rightRail2 ">
<div class="headline-right-rail">
<p class="title">Featured Stories</p>
<a class="right-rail-article right-rail-ga"
href="https://www.accuweather.com/en/accuweather-ready/everything-you-need-to-know-about-winter-tires/860045"
data-ga-action='Right Rail Click Audience Development'
data-ga-label="Everything you need to know about winter tires"
>
Everything you need to know about winter tires
</a>
<a class="right-rail-article right-rail-ga"
href="https://www.accuweather.com/en/sports/tips-to-stay-active-during-winter/630020"
data-ga-action='Right Rail Click Audience Development'
data-ga-label="How to stay active during winter"
>
How to stay active during winter
</a>
<a class="right-rail-article right-rail-ga"
href="https://www.accuweather.com/en/accuweather-ready/accuweather-forecasters-school-of-weather/716916"
data-ga-action='Right Rail Click Editorial'
data-ga-label="AccuWeather School: How much of the ocean actually freezes?"
>
AccuWeather School: How much of the ocean actually freezes?
</a>
</div>
</div>
</div>
</div>
</div>
<div class="glacier-ad bottom content-module" data-ad-type="bottom" data-viewport="" id="bottom"></div>
<div class="breadcrumbs-wrapper ">
<div id="breadcrumbs" class="breadcrumbs">
<div class="crumb">
<a href="/en/world-weather" class="crumb-link">World</a>
<svg
class="icon-chevron right crumb-chevron"
xmlns="http://www.w3.org/2000/svg"
width="10"
height="6"
viewBox="0 0 10 6"
role="img"
aria-labelledby="chevronSVG"
>
<title id="chevronSVG">Chevron right</title>
<path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" />
</svg>
</div>
<div class="crumb">
<a href="/en/europe-weather" class="crumb-link">Europe</a>
<svg
class="icon-chevron right crumb-chevron"
xmlns="http://www.w3.org/2000/svg"
width="10"
height="6"
viewBox="0 0 10 6"
role="img"
aria-labelledby="chevronSVG"
>
<title id="chevronSVG">Chevron right</title>
<path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" />
</svg>
</div>
<div class="crumb">
<a href="/en/de/germany-weather" class="crumb-link">Germany</a>
<svg
class="icon-chevron right crumb-chevron"
xmlns="http://www.w3.org/2000/svg"
width="10"
height="6"
viewBox="0 0 10 6"
role="img"
aria-labelledby="chevronSVG"
>
<title id="chevronSVG">Chevron right</title>
<path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" />
</svg>
</div>
<div class="crumb">
<a href="/en/de/sn/saxony-weather" class="crumb-link">Saxony</a>
<svg
class="icon-chevron right crumb-chevron"
xmlns="http://www.w3.org/2000/svg"
width="10"
height="6"
viewBox="0 0 10 6"
role="img"
aria-labelledby="chevronSVG"
>
<title id="chevronSVG">Chevron right</title>
<path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" />
</svg>
</div>
<div class="crumb">
<a href="/en/de/lichtenstein/09350/weather-forecast/171261" class="crumb-link">Lichtenstein</a>
</div>
</div>
</div>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":{"@id":"/en/world-weather","name":"World"},"position":1},{"@type":"ListItem","item":{"@id":"/en/europe-weather","name":"Europe"},"position":2},{"@type":"ListItem","item":{"@id":"/en/de/germany-weather","name":"Germany"},"position":3},{"@type":"ListItem","item":{"@id":"/en/de/sn/saxony-weather","name":"Saxony"},"position":4},{"@type":"ListItem","item":{"@id":"/en/de/lichtenstein/09350/weather-forecast/171261","name":"Lichtenstein"},"position":5}]}</script>
<div class="neighbors-wrapper">
<div class="neighbors">
<h2>Weather Near Lichtenstein:</h2>
<div class="neighbors-scroll subnav">
<div class="overflow overflow-left">
<svg
class="icon-chevron left arrow"
xmlns="http://www.w3.org/2000/svg"
width="10"
height="6"
viewBox="0 0 10 6"
role="img"
aria-labelledby="chevronSVG"
>
<title id="chevronSVG">Chevron left</title>
<path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" />
</svg>
</div>
<div class="overflow overflow-right">
<svg
class="icon-chevron right arrow"
xmlns="http://www.w3.org/2000/svg"
width="10"
height="6"
viewBox="0 0 10 6"
role="img"
aria-labelledby="chevronSVG"
>
<title id="chevronSVG">Chevron right</title>
<path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" />
</svg>
</div>
<ul id="neighbors" class="subnav-items">
<li class="neighbor" itemprop="address" itemscope="true" itemtype="http://schema.org/PostalAddress">
<a href="/en/de/mülsen/08132/weather-forecast/1006811" class="neighbor-link" data-from-string="nearby_locations">
<span itemprop="addressLocality">Mülsen</span>,
<span itemprop="addressRegion">Saxony</span>
<span>;</span>
</a>
</li>
<li class="neighbor" itemprop="address" itemscope="true" itemtype="http://schema.org/PostalAddress">
<a href="/en/de/hohndorf/09394/weather-forecast/1018191" class="neighbor-link" data-from-string="nearby_locations">
<span itemprop="addressLocality">Hohndorf</span>,
<span itemprop="addressRegion">Saxony</span>
<span>;</span>
</a>
</li>
<li class="neighbor" itemprop="address" itemscope="true" itemtype="http://schema.org/PostalAddress">
<a href="/en/de/sankt-egidien/09356/weather-forecast/996240" class="neighbor-link" data-from-string="nearby_locations">
<span itemprop="addressLocality">Sankt Egidien</span>,
<span itemprop="addressRegion">Saxony</span>
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="base-footer is-en ">
<div class="footer-content">
<div class="footer-content-mobile">
<div class="footer-content-accordion">
<div class="accordion-item accordion-item-simple footer-content-accordion-item" data-shared="true" data-collapsed="true">
<div class="accordion-item-header-container ">
<div class="accordion-item-header accordion-item-simple-header">
<span class="accordion-item-header-content">Company</span>
<svg class="accordion-item-header-icon chevron-icon down" xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" /></svg>
</div>
</div>
<div class="accordion-item-content ">
<div class="footer-category-section footer-category-accordion">
<a
data-gacategory="Company"
data-gatext="Proven Superior Accuracy"
class="footer-category-section-link "
href="https://corporate.accuweather.com/"
target="_blank"
ontouchstart=""
>
Proven Superior Accuracy
</a>
<a
data-gacategory="Company"
data-gatext="About AccuWeather"
class="footer-category-section-link "
href="https://corporate.accuweather.com/company/about-us/"
target="_blank"
ontouchstart=""
>
About AccuWeather
</a>
<a
data-gacategory="Company"
data-gatext="Digital Advertising"
class="footer-category-section-link "
href="https://advertising.accuweather.com/for-advertising/digital-advertising/"
target="_blank"
ontouchstart=""
>
Digital Advertising
</a>
<a
data-gacategory="Company"
data-gatext="Careers"
class="footer-category-section-link "
href="https://corporate.accuweather.com/company/careers/"
target="_blank"
ontouchstart=""
>
Careers
</a>
<a
data-gacategory="Company"
data-gatext="Press"
class="footer-category-section-link "
href="https://corporate.accuweather.com/newsroom/press-releases/"
target="_blank"
ontouchstart=""
>
Press
</a>
<a
data-gacategory="Company"
data-gatext="Contact Us"
class="footer-category-section-link "
href="https://corporate.accuweather.com/company/contact/"
target="_blank"
ontouchstart=""
>
Contact Us
</a>
</div>
</div>
</div>
<div class="accordion-item accordion-item-simple footer-content-accordion-item" data-shared="true" data-collapsed="true">
<div class="accordion-item-header-container ">
<div class="accordion-item-header accordion-item-simple-header">
<span class="accordion-item-header-content">Products & Services</span>
<svg class="accordion-item-header-icon chevron-icon down" xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" /></svg>
</div>
</div>
<div class="accordion-item-content ">
<div class="footer-category-section footer-category-accordion">
<a
data-gacategory="Products & Services"
data-gatext="For Business"
class="footer-category-section-link "
href="https://business.accuweather.com/"
target="_blank"
ontouchstart=""
>
For Business
</a>
<a
data-gacategory="Products & Services"
data-gatext="For Partners"
class="footer-category-section-link "
href="https://partners.accuweather.com/"
target="_blank"
ontouchstart=""
>
For Partners
</a>
<a
data-gacategory="Products & Services"
data-gatext="For Advertising"
class="footer-category-section-link "
href="https://advertising.accuweather.com/"
target="_blank"
ontouchstart=""
>
For Advertising
</a>
<a
data-gacategory="Products & Services"
data-gatext="AccuWeather APIs"
class="footer-category-section-link "
href="https://developer.accuweather.com/"
target="_blank"
ontouchstart=""
>
AccuWeather APIs
</a>
<a
data-gacategory="Products & Services"
data-gatext="Podcast"
class="footer-category-section-link "
href="/podcast"
target="_blank"
ontouchstart=""
>
Podcast
</a>
</div>
</div>
</div>
<div class="accordion-item accordion-item-simple footer-content-accordion-item" data-shared="true" data-collapsed="true">
<div class="accordion-item-header-container ">
<div class="accordion-item-header accordion-item-simple-header">
<span class="accordion-item-header-content">Apps & Downloads</span>
<svg class="accordion-item-header-icon chevron-icon down" xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" /></svg>
</div>
</div>
<div class="accordion-item-content ">
<div class="footer-category-section footer-category-accordion">
<a
data-gacategory="Apps & Downloads"
data-gatext="iPhone App"
class="footer-category-section-link "
href="https://go.onelink.me/app/ef253ee1"
target="_blank"
ontouchstart=""
>
iPhone App
</a>
<a
data-gacategory="Apps & Downloads"
data-gatext="Android App"
class="footer-category-section-link "
href="https://go.onelink.me/app/85d14e58"
target="_blank"
ontouchstart=""
>
Android App
</a>
<a
data-gacategory="Apps & Downloads"
data-gatext="See all Apps & Downloads"
class="footer-category-section-link "
href="https://accuweather.onelink.me/dZpv/aba0397"
target="_blank"
ontouchstart=""
>
See all Apps & Downloads
</a>
</div>
</div>
</div>
<div class="accordion-item accordion-item-simple footer-content-accordion-item" data-shared="true" data-collapsed="true">
<div class="accordion-item-header-container ">
<div class="accordion-item-header accordion-item-simple-header">
<span class="accordion-item-header-content">Subscription Services</span>
<svg class="accordion-item-header-icon chevron-icon down" xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" /></svg>
</div>
</div>
<div class="accordion-item-content ">
<div class="footer-category-section footer-category-accordion">
<a
data-gacategory="Subscription Services"
data-gatext="AccuWeather Premium"
class="footer-category-section-link "
href="https://wwwl.accuweather.com/premium_login.php"
target="_blank"
ontouchstart=""
>
AccuWeather Premium
</a>
<a
data-gacategory="Subscription Services"
data-gatext="AccuWeather Professional"
class="footer-category-section-link "
href="https://wwwl.accuweather.com/pro_login.php"
target="_blank"
ontouchstart=""
>
AccuWeather Professional
</a>
</div>
</div>
</div>
<div class="accordion-item accordion-item-simple footer-content-accordion-item" data-shared="true" data-collapsed="true">
<div class="accordion-item-header-container ">
<div class="accordion-item-header accordion-item-simple-header">
<span class="accordion-item-header-content">More</span>
<svg class="accordion-item-header-icon chevron-icon down" xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M10 .969L9.037 0 5 4.063.963 0 0 .969 5 6z" /></svg>
</div>
</div>
<div class="accordion-item-content ">
<div class="footer-category-section footer-category-accordion">
<a
data-gacategory="More"
data-gatext="AccuWeather Ready"
class="footer-category-section-link "
href="/en/accuweather-ready"
ontouchstart=""
>
AccuWeather Ready
</a>
<a
data-gacategory="More"
data-gatext="Business"
class="footer-category-section-link "
href="/en/business"
ontouchstart=""
>
Business
</a>
<a
data-gacategory="More"
data-gatext="Health"
class="footer-category-section-link "
href="/en/health-wellness"
ontouchstart=""
>
Health
</a>
<a
data-gacategory="More"
data-gatext="Hurricane"
class="footer-category-section-link "
href="/en/hurricane"
ontouchstart=""
>
Hurricane
</a>
<a
data-gacategory="More"
data-gatext="Leisure and Recreation"
class="footer-category-section-link "
href="/en/leisure-recreation"
ontouchstart=""
>
Leisure and Recreation
</a>
<a
data-gacategory="More"
data-gatext="Severe Weather"
class="footer-category-section-link "
href="/en/de/severe-weather"
ontouchstart=""
>
Severe Weather
</a>
<a
data-gacategory="More"
data-gatext="Space and Astronomy"
class="footer-category-section-link "
href="/en/space-news"
ontouchstart=""
>
Space and Astronomy
</a>
<a
data-gacategory="More"
data-gatext="Sports"
class="footer-category-section-link "
href="/en/sports"
ontouchstart=""
>
Sports
</a>
<a
data-gacategory="More"
data-gatext="Travel"
class="footer-category-section-link "
href="/en/travel"
ontouchstart=""
>
Travel
</a>
<a
data-gacategory="More"
data-gatext="Weather News"
class="footer-category-section-link "
href="/en/weather-news"
ontouchstart=""
>
Weather News
</a>
<a
data-gacategory="More"
data-gatext="Weather Blogs"
class="footer-category-section-link "
href="/en/weather-blogs"
ontouchstart=""
>
Weather Blogs
</a>
<a
data-gacategory="More"
data-gatext="Winter Weather"
class="footer-category-section-link "
href="/en/de/winter-weather"
ontouchstart=""
>
Winter Weather
</a>
</div>
</div>
</div>
</div>
<div class="footer-social ">
<a
class="social-link"
data-gatype="outbound"
data-gacategory="Downloads"
data-galink="https://downloads.accuweather.com/"
href="https://downloads.accuweather.com/"
target="_blank"
rel="noopener noreferrer"
>
<img
alt="AccuWeather Downloads"
class="social-icon"
data-src="/images/socialicons/downloads.svg"
width="36px"
height="36px"
data-eager
/>
</a>
<a
class="social-link"
data-gatype="social"
data-gacategory="Facebook"
data-galink="https://www.facebook.com/AccuWeather"
href="https://www.facebook.com/AccuWeather"
target="_blank"
rel="noopener noreferrer"
>
<img
alt="Facebook"
class="social-icon"
data-src="/images/socialicons/facebook.svg"
width="36px"
height="36px"
data-eager
/>
</a>
<a
class="social-link"
data-gatype="social"
data-gacategory="Twitter"
data-galink="https://twitter.com/BreakingWeather"
href="https://twitter.com/BreakingWeather"
target="_blank"
rel="noopener noreferrer"
>
<img
alt="Twitter"
class="social-icon"
data-src="/images/socialicons/twitter.svg"
width="36px"
height="36px"
data-eager
/>
</a>
<a
class="social-link"
data-gatype="outbound"
data-gacategory="TV"
data-galink="https://getaccuweather.tv"
href="https://getaccuweather.tv/?utm_source=adc&utm_medium=icon&utm_campaign=footer"
target="_blank"
rel="noopener noreferrer"
>
<img
alt="AccuWeather TV"
class="social-icon"
data-src="/images/socialicons/tv.svg"
width="36px"
height="36px"
data-eager
/>
</a>
</div>
</div>
<div class="footer-content-tablet">
<div class="footer-content-category">
<div class="footer-content-category-wrapper">
<div class="footer-content-category-header">Company</div>
<div class="footer-category-section ">
<a
data-gacategory="Company"
data-gatext="Proven Superior Accuracy"
class="footer-category-section-link "
href="https://corporate.accuweather.com/"
target="_blank"
ontouchstart=""
>
Proven Superior Accuracy
</a>
<a
data-gacategory="Company"
data-gatext="About AccuWeather"
class="footer-category-section-link "
href="https://corporate.accuweather.com/company/about-us/"
target="_blank"
ontouchstart=""
>
About AccuWeather
</a>
<a
data-gacategory="Company"
data-gatext="Digital Advertising"
class="footer-category-section-link "
href="https://advertising.accuweather.com/for-advertising/digital-advertising/"
target="_blank"
ontouchstart=""
>
Digital Advertising
</a>
<a
data-gacategory="Company"
data-gatext="Careers"
class="footer-category-section-link "
href="https://corporate.accuweather.com/company/careers/"
target="_blank"
ontouchstart=""
>
Careers
</a>
<a
data-gacategory="Company"
data-gatext="Press"
class="footer-category-section-link "
href="https://corporate.accuweather.com/newsroom/press-releases/"
target="_blank"
ontouchstart=""
>
Press
</a>
<a
data-gacategory="Company"
data-gatext="Contact Us"
class="footer-category-section-link "
href="https://corporate.accuweather.com/company/contact/"
target="_blank"
ontouchstart=""
>
Contact Us
</a>
</div>
</div>
</div>
<div class="footer-content-category">
<div class="footer-content-category-wrapper">
<div class="footer-content-category-header">Products & Services</div>
<div class="footer-category-section ">
<a
data-gacategory="Products & Services"
data-gatext="For Business"
class="footer-category-section-link "
href="https://business.accuweather.com/"
target="_blank"
ontouchstart=""
>
For Business
</a>
<a
data-gacategory="Products & Services"
data-gatext="For Partners"
class="footer-category-section-link "
href="https://partners.accuweather.com/"
target="_blank"
ontouchstart=""
>
For Partners
</a>
<a
data-gacategory="Products & Services"
data-gatext="For Advertising"
class="footer-category-section-link "
href="https://advertising.accuweather.com/"
target="_blank"
ontouchstart=""
>
For Advertising
</a>
<a
data-gacategory="Products & Services"
data-gatext="AccuWeather APIs"
class="footer-category-section-link "
href="https://developer.accuweather.com/"
target="_blank"
ontouchstart=""
>
AccuWeather APIs
</a>
<a
data-gacategory="Products & Services"
data-gatext="Podcast"
class="footer-category-section-link "
href="/podcast"
target="_blank"
ontouchstart=""
>
Podcast
</a>
</div>
</div>
</div>
<div class="footer-content-category">
<div class="footer-content-category-wrapper">
<div class="footer-content-category-header">Apps & Downloads</div>
<div class="footer-category-section ">
<a
data-gacategory="Apps & Downloads"
data-gatext="iPhone App"
class="footer-category-section-link "
href="https://go.onelink.me/app/ef253ee1"
target="_blank"
ontouchstart=""
>
iPhone App
</a>
<a
data-gacategory="Apps & Downloads"
data-gatext="Android App"
class="footer-category-section-link "
href="https://go.onelink.me/app/85d14e58"
target="_blank"
ontouchstart=""
>
Android App
</a>
<a
data-gacategory="Apps & Downloads"
data-gatext="See all Apps & Downloads"
class="footer-category-section-link "
href="https://accuweather.onelink.me/dZpv/aba0397"
target="_blank"
ontouchstart=""
>
See all Apps & Downloads
</a>
</div>
</div>
</div>
<div class="footer-content-category">
<div class="footer-content-category-wrapper">
<div class="footer-content-category-header">Subscription Services</div>
<div class="footer-category-section ">
<a
data-gacategory="Subscription Services"
data-gatext="AccuWeather Premium"
class="footer-category-section-link "
href="https://wwwl.accuweather.com/premium_login.php"
target="_blank"
ontouchstart=""
>
AccuWeather Premium
</a>
<a
data-gacategory="Subscription Services"
data-gatext="AccuWeather Professional"
class="footer-category-section-link "
href="https://wwwl.accuweather.com/pro_login.php"
target="_blank"
ontouchstart=""
>
AccuWeather Professional
</a>
</div>
</div>
</div>
<div class="footer-content-category">
<div class="footer-content-category-wrapper">
<div class="footer-content-category-header">More</div>
<div class="footer-category-section ">
<a
data-gacategory="More"
data-gatext="AccuWeather Ready"
class="footer-category-section-link "
href="/en/accuweather-ready"
ontouchstart=""
>
AccuWeather Ready
</a>
<a
data-gacategory="More"
data-gatext="Business"
class="footer-category-section-link "
href="/en/business"
ontouchstart=""
>
Business
</a>
<a
data-gacategory="More"
data-gatext="Health"
class="footer-category-section-link "
href="/en/health-wellness"
ontouchstart=""
>
Health
</a>
<a
data-gacategory="More"
data-gatext="Hurricane"
class="footer-category-section-link "
href="/en/hurricane"
ontouchstart=""
>
Hurricane
</a>
<a
data-gacategory="More"
data-gatext="Leisure and Recreation"
class="footer-category-section-link "
href="/en/leisure-recreation"
ontouchstart=""
>
Leisure and Recreation
</a>
<a
data-gacategory="More"
data-gatext="Severe Weather"
class="footer-category-section-link "
href="/en/de/severe-weather"
ontouchstart=""
>
Severe Weather
</a>
<a
data-gacategory="More"
data-gatext="Space and Astronomy"
class="footer-category-section-link "
href="/en/space-news"
ontouchstart=""
>
Space and Astronomy
</a>
<a
data-gacategory="More"
data-gatext="Sports"
class="footer-category-section-link "
href="/en/sports"
ontouchstart=""
>
Sports
</a>
<a
data-gacategory="More"
data-gatext="Travel"
class="footer-category-section-link "
href="/en/travel"
ontouchstart=""
>
Travel
</a>
<a
data-gacategory="More"
data-gatext="Weather News"
class="footer-category-section-link "
href="/en/weather-news"
ontouchstart=""
>
Weather News
</a>
<a
data-gacategory="More"
data-gatext="Weather Blogs"
class="footer-category-section-link "
href="/en/weather-blogs"
ontouchstart=""
>
Weather Blogs
</a>
<a
data-gacategory="More"
data-gatext="Winter Weather"
class="footer-category-section-link "
href="/en/de/winter-weather"
ontouchstart=""
>
Winter Weather
</a>
</div>
<div class="footer-social footer-social-tablet">
<a
class="social-link"
data-gatype="outbound"
data-gacategory="Downloads"
data-galink="https://downloads.accuweather.com/"
href="https://downloads.accuweather.com/"
target="_blank"
rel="noopener noreferrer"
>
<img
alt="AccuWeather Downloads"
class="social-icon"
data-src="/images/socialicons/downloads.svg"
width="36px"
height="36px"
data-eager
/>
</a>
<a
class="social-link"
data-gatype="social"
data-gacategory="Facebook"
data-galink="https://www.facebook.com/AccuWeather"
href="https://www.facebook.com/AccuWeather"
target="_blank"
rel="noopener noreferrer"
>
<img
alt="Facebook"
class="social-icon"
data-src="/images/socialicons/facebook.svg"
width="36px"
height="36px"
data-eager
/>
</a>
<a
class="social-link"
data-gatype="social"
data-gacategory="Twitter"
data-galink="https://twitter.com/BreakingWeather"
href="https://twitter.com/BreakingWeather"
target="_blank"
rel="noopener noreferrer"
>
<img
alt="Twitter"
class="social-icon"
data-src="/images/socialicons/twitter.svg"
width="36px"
height="36px"
data-eager
/>
</a>
<a
class="social-link"
data-gatype="outbound"
data-gacategory="TV"
data-galink="https://getaccuweather.tv"
href="https://getaccuweather.tv/?utm_source=adc&utm_medium=icon&utm_campaign=footer"
target="_blank"
rel="noopener noreferrer"
>
<img
alt="AccuWeather TV"
class="social-icon"
data-src="/images/socialicons/tv.svg"
width="36px"
height="36px"
data-eager
/>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="footer-legalese">
<div class="footer-copyright">
<span>
© 2020 AccuWeather, Inc. "AccuWeather" and sun design are registered trademarks of AccuWeather, Inc. All Rights Reserved.
</span>
</div>
<div id="footer-terms" class="footer-terms">
<a
data-ga="Terms of usage"
href="/en/legal"
target="_blank"
>
Terms of Use
</a>
|
<a
data-ga="Privacy Policy"
href="/en/privacy"
target="_blank"
>
Privacy Policy
</a>
|
<a
data-ga="Cookie Policy"
href="/en/cookiepolicy"
target="_blank"
>
Cookie Policy
</a>
|
<a
data-ga="TAG Disclosure"
href="/en/tag-publisher-sourcing-disclosure"
target="_blank"
>
TAG Disclosure
</a>
</div>
</div>
</div>
<div class="glacier-ad oop " data-ad-type="oop" data-viewport="" id="oop"></div>
<div id="privacy-policy-banner" class="privacy-policy-banner">
<div class="banner-body">
<p>
We have updated our <a id="privacy-policy-banner-privacy-link" href="/en/privacy" target="_blank">Privacy Policy</a> and <a id="privacy-policy-banner-cookie-policy-link" href="/en/cookiepolicy" target="_blank">Cookie Policy</a>.
</p>
<div class="banner-button policy-accept">I Understand</div>
</div>
</div>
<div id="pushly-prompt-custom" class="pushly-prompt-custom">
<div class="banner-body">
<div>
<p>Get AccuWeather alerts as they happen with our browser notifications.</p>
</div>
<div>
<button class="pushly-prompt-buttons-allow banner-enable-button">Enable Notifications</button>
</div>
<button class="pushly-prompt-buttons-dismiss banner-dismiss-button">No, Thanks</button>
</div>
</div>
<div id="pushly-enabled-banner" class="pushly-banner enabled-banner pushly-prompt-custom" style="display: none;">
<div class="banner-body">
<p class="title">
<span class="checkmark-wrapper">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
class="checkmark checkmark"
width="24"
height="24"
viewBox="0 0 24 24"
>
<g fill="#000" fill-rule="evenodd">
<path
class="checkmark"
d="M7.832 17.496L2.142 11.9.205 13.792l7.627 7.503L24.205 5.188l-1.924-1.893z"
/>
</g>
</svg>
</span>
Notifications Enabled
</p>
<p>
Thanks! We’ll keep you informed.
</p>
</div>
</div>
<div id="feedback-banner" class="feedback-banner hide-mobile" >
<a class="feedback-banner-link" href="https://corporate.accuweather.com/company/contact/">
<span>FEEDBACK</span>
<svg
class="icon-plus icon-plus"
xmlns="http://www.w3.org/2000/svg"
width="18"
height="18"
viewBox="0 0 18 18"
>
<g
fill="none"
fill-rule="evenodd"
stroke="#F05514"
stroke-linecap="square"
stroke-width="2"
>
<path d="M9 0v18M0 9h18" />
</g>
</svg>
</a>
</div>
</div>
<script charset="utf-8" src="/bundles/city.current-weather-desktop.c5043b6572789e7029e4.js" async></script>
<script charset="utf-8" src="/bundles/1.6a1b073d8c283ee2042c.js" async></script>
<script charset="utf-8" src="/bundles/0.7c31b192ab692d9a57c0.js" async></script>
<script async src="https://securepubads.g.doubleclick.net/gampad/adx?iu=/6581/web/de/video_player/weather/current&sz=3x3&c=637430123845195957&m=text/javascript&t=glacier%3d1%26fdate%3d20201208%26lang%3den-us%26ut%3d1%26advelvet%3d13%26bot%3d0%26pgview%3d2%26partner%3daccuweather%26city%3dLichtenstein%26country%3dDE%26state%3dSN%26dma%3d%26key%3d171261%26zip%3d093XX%26browser%3dfirefox%26connection%3d_vhigh_5000%26alertscategory%3dNON-PRECIPITATION%26alertssource%3dDE%26alertstypeid%3dDE183%26cuhd%3d85%26cuhi%3d32%26cuuv%3d1%26cuwd%3d4%26cuwx%3d1%26realfeel%3d35%2ca45%26fc1hi%3d41%26fc1lo%3d34%26fc1wx%3d12%26lfscategory%3drain%26lfsday%3d1%26lfsseverity%3d3%26lfs%3d3_rain_1"></script>
<!-- Begin comScore Tag -->
<script>var _comscore=_comscore||[];_comscore.push({c1:"2",c2:"6005068"}),function(){var c=document.createElement("script"),e=document.getElementsByTagName("script")[0];c.async=!0,c.src=(document.location.protocol=="https:"?"https://sb":"http://b")+".scorecardresearch.com/beacon.js",e.parentNode.insertBefore(c,e)}();</script>
<noscript><img src="https://sb.scorecardresearch.com/p?c1=2&c2=6005068&cv=2.0&cj=1" alt="ComScore" /></noscript>
<!-- End comScore Tag -->
<script>
window.comscoreBeacon = function() {
self.COMSCORE.beacon({c1: "2", c2: "6005068"});
// call to server to get pageview_candidate
var url = '/comscore/';
var httpRequest = new XMLHttpRequest();
httpRequest.open('GET', url);
httpRequest.send();
}
</script>
<script src="https://cdn.p-n.io/pushly-sdk.min.js?domain_key=16if7iQ5tgH1FcRA4cUeejyVcdf5guIAEV9R" async></script>
<script src="//accuweather-com.videoplayerhub.com/btTag.js?w=5760049299324928" async id="bt_bootstrap_2.0"></script>
<noscript><img src="https://www.accuweather.com/akam/11/pixel_73535ce7?a=dD0xNjIyOGIyMzc2ODg5ZDJlNjg3Y2FhMjY5MjYzM2I3MjU5MTk1NmEyJmpzPW9mZg==" style="visibility: hidden; position: absolute; left: -999px; top: -999px;" /></noscript></body>
</html>
my configuration (it always concerns ONLY weatherfont)
Probably in 1-2 days it will be okay again. So you have to hurry.
conky.config = {
-- Window Settings
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager', --,sticky
own_window_colour = '000000',
own_window_class = 'Conky',
own_window_title = 'BunsenLabs Default Conky',
-- ARGB can be used for real transparency
--own_window_argb_visual = true, -- Options: true|false
-- NOTE that a composite manager is required for real transparency and ARGB will not
-- work as desired (in most cases) in conjunction with 'own_window_type override'.
-- Use with: own_window_type = 'normal',
-- Use with: own_window_transparent = false,
-- When ARGB visuals are enabled, use the following to modify the alpha value. Valid
-- range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
--own_window_argb_value = 150,
minimum_width = 150, minimum_height = 00,-- width | height
maximum_width = 150,
gap_x = 20,-- left | right
gap_y = 45,-- up | down
alignment = 'top_right',
-- End Window Settings
-- Font Settings
-- Use Xft (anti-aliased font and stuff)
use_xft = true,
--font = 'Liberation Mono:bold:size=10',
--font = 'Liberation Sans:size=10',
font = 'Sans-serif:size=8',
-- Alpha of Xft font. Must be a value at or between 1 and 0
xftalpha = 1,
-- Force UTF8? requires XFT
override_utf8_locale = true,
uppercase = false,
-- End Font Settings
-- Color Settings
draw_shades = false,
default_shade_color = '000000',
draw_outline = false,-- amplifies text if true
default_outline_color = '000000',
--default_color = '678b8b', -- Beam green
--default_color = '656667', -- Waldorf original colour
--default_color = '7a7a7a', -- Flame & BunsenLabs Grey
--default_color = '929292', -- BunsenLabs Grey
default_color = 'C0C0C0', -- BunsenLabs Silver
color0 = 'B0E0E6',-- PowderBlue
color1 = '678b8b',--778899',-- LightSlateGray
color2 = 'D8BFD8',-- Thistle
color3 = '9ACD32',-- YellowGreen
color4 = 'FFA07A',-- LightSalmon
color5 = 'FFDEAD',-- NavajoWhite
color6 = '00BFFF',-- DeepSkyBlue
color7 = '5F9EA0',-- CadetBlue
color8 = 'BDB76B',-- DarkKhaki
color9 = 'C0C0C0',-- Silver
-- End Color Settings
-- Borders Section
draw_borders = false,
-- Stippled borders?
stippled_borders = 5,
-- border margins
border_inner_margin = 5,
border_outer_margin = 0,
-- border width
border_width = 2,
-- graph borders
draw_graph_borders = false,
--default_graph_height = 15,
--default_graph_width = 40,
-- End Borders Section
-- Miscellaneous Section
-- Boolean value, if true, Conky will be forked to background when started.
background = true,
-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
use_spacer = 'none',
-- Default and Minimum size is 256 - needs more for single commands that
-- "call" a lot of text IE: bash scripts
--text_buffer_size = 6144,
-- Subtract (file system) buffers from used memory?
no_buffers = true,
-- change GiB to G and MiB to M
short_units = true,
-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable the image cache.
imlib_cache_size = 0,
-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
double_buffer = true,
-- Maximum size of user text buffer, i.e. layout below TEXT line in config file
-- (default is 16384 bytes)
--max_user_text = 16384,
-- Desired output unit of all objects displaying a temperature. Parameters are
-- either "fahrenheit" or "celsius". The default unit is degree Celsius.
--temperature_unit = 'Fahrenheit',
-- Update interval in seconds
update_interval = 1,
-- End Miscellaneous Section
--12-24 Hour Clock--
--lua_load = '/home/unklar/LUA/luaclock2412.lua',
--lua_draw_hook_pre = 'conky_main',
--für die Uhr Platzbedarf Zeile 140-149
};
conky.text = [[
${goto 15}${font LED_mono:size=25}${color1}88:88:88${goto 15}${color2}${time %T}${color}${font}
S Y S T E M I N F O
${hr}
Host ${alignr}${nodename}
RAM ${alignr}${mem} / ${memmax}
Disk ${alignr}${fs_used /}/${fs_free /}/${fs_size /}
CPU ${alignr}${cpu cpu0}%
Kernel ${alignr}${kernel}
Fan ${alignr}${platform thinkpad_hwmon fan 1} rpm
CPU ${alignr}${platform thinkpad_hwmon temp 1} °C
${hr}
£ ${execi 1200 curl gbp.rate.sx/1eur?TFq -s | cut -c1-7}${alignr}€ ${execi 1200 curl eur.rate.sx/1gbp?TFq -s | cut -c1-7}
${hr}
Boot: ${alignr}${execi 86400 who -b | cut -c23-}
Buenos Aires ${alignr}${tztime America/Argentina/Buenos_Aires %H:%M}
Kastoria ${alignr}${tztime Europe/Athens %H:%M}
${texeci 600 sed -n '1p' $HOME/Accuweather_conky_script/aktualisiert}
W E A T H E R ${alignr 15}${font ConkyWindNESW:size=30}${texeci 600 sed -n '27p' $HOME/Accuweather_conky_script/curr_cond}${font monofur:size=9}$color${texeci 500 bash $HOME/Accuweather_conky_script/accuweather -f}
${voffset -20}${texeci 600 sed -n '8p' $HOME/Accuweather_conky_script/curr_cond}
${voffset -4}${texeci 600 sed -n '6p' $HOME/Accuweather_conky_script/curr_cond} ${texeci 600 sed -n '5p' $HOME/Accuweather_conky_script/curr_cond}
${voffset -6}${hr}
NOW:${texeci 600 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond}°${alignc -15}${texeci 600 sed -n '1p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}:${color}${texeci 600 sed -n '4p' $HOME/Accuweather_conky_script/daily_forecast}/${texeci 600 sed -n '5p' $HOME/Accuweather_conky_script/daily_forecast}
${font conkyweather:size=30}${texeci 600 sed -n '22p' $HOME/Accuweather_conky_script/curr_cond}${goto 80}${texeci 600 sed -n '106p' $HOME/Accuweather_conky_script/daily_forecast}${font monofur:size=9}
${texeci 600 sed -n '8p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 55}${texeci 600 sed -n '15p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 100}${texeci 600 sed -n '22p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}$color
${font conkyweather:size=22}${texeci 600 sed -n '107p' $HOME/Accuweather_conky_script/daily_forecast}${goto 53}${texeci 600 sed -n '108p' $HOME/Accuweather_conky_script/daily_forecast}${goto 100}${texeci 600 sed -n '109p' $HOME/Accuweather_conky_script/daily_forecast}${font monofur:size=9}
${texeci 600 sed -n '11p' $HOME/Accuweather_conky_script/daily_forecast}/${texeci 600 sed -n '12p' $HOME/Accuweather_conky_script/daily_forecast}${goto 57}${texeci 600 sed -n '18p' $HOME/Accuweather_conky_script/daily_forecast}/${texeci 600 sed -n '19p' $HOME/Accuweather_conky_script/daily_forecast}${goto 95}${texeci 600 sed -n '25p' $HOME/Accuweather_conky_script/daily_forecast}/${texeci 600 sed -n '26p' $HOME/Accuweather_conky_script/daily_forecast}
${texeci 600 sed -n '29p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 55}${texeci 600 sed -n '36p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 100}${texeci 600 sed -n '43p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}$color
${font conkyweather:size=22}${texeci 600 sed -n '110p' $HOME/Accuweather_conky_script/daily_forecast}${goto 53}${texeci 600 sed -n '111p' $HOME/Accuweather_conky_script/daily_forecast}${goto 100}${texeci 600 sed -n '112p' $HOME/Accuweather_conky_script/daily_forecast}${font monofur:size=9}
${texeci 600 sed -n '32p' $HOME/Accuweather_conky_script/daily_forecast}/${texeci 600 sed -n '33p' $HOME/Accuweather_conky_script/daily_forecast}${goto 57}${texeci 600 sed -n '39p' $HOME/Accuweather_conky_script/daily_forecast}/${texeci 600 sed -n '40p' $HOME/Accuweather_conky_script/daily_forecast}${goto 95}${texeci 600 sed -n '46p' $HOME/Accuweather_conky_script/daily_forecast}/${texeci 600 sed -n '47p' $HOME/Accuweather_conky_script/daily_forecast}
${texeci 600 sed -n '50p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 55}${texeci 600 sed -n '57p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 100}${texeci 600 sed -n '64p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}$color
${font conkyweather:size=22}${texeci 600 sed -n '113p' $HOME/Accuweather_conky_script/daily_forecast}${goto 53}${texeci 600 sed -n '114p' $HOME/Accuweather_conky_script/daily_forecast}${goto 100}${texeci 600 sed -n '115p' $HOME/Accuweather_conky_script/daily_forecast}${font monofur:size=9}
${texeci 600 sed -n '53p' $HOME/Accuweather_conky_script/daily_forecast}/${texeci 600 sed -n '54p' $HOME/Accuweather_conky_script/daily_forecast}${goto 57}${texeci 600 sed -n '60p' $HOME/Accuweather_conky_script/daily_forecast}/${texeci 600 sed -n '61p' $HOME/Accuweather_conky_script/daily_forecast}${goto 95}${texeci 600 sed -n '67p' $HOME/Accuweather_conky_script/daily_forecast}/${texeci 600 sed -n '68p' $HOME/Accuweather_conky_script/daily_forecast}
#${alignc}${if_match ${texeci 600 aptitude search "~U" | wc -l | tail}==0}${texeci 600 aptitude search "~U" | wc -l | tail} Updates\
#${else}${color red}${blink ${texeci 600 aptitude search "~U" | wc -l | tail}${color} Updates}${color}${endif}
#${alignc}${if_match ${texeci 600 aptitude search "~U" | wc -l | tail}==1}${texeci 600 aptitude search "~U" | wc -l | tail} Updates\
#${else}${color red}${blink ${texeci 600 aptitude search "~U" | wc -l | tail}${color} Updates}${color}\
#${endif}
]];
Last edited by unklar (2020-12-08 08:39:02)
Offline
Alright, the moon values (N/A) were damaging the output.
Try with this:
#!/usr/bin/env bash
#########################################################################################
# Put the command that launches the conky configuration file that uses this script here #
#########################################################################################
weather_conky_launch_command="conky -b"
#####################################
# Put your Accuweather address here #
#####################################
#address="https://www.accuweather.com/en/ar/buenos-aires/7894/weather-forecast/7894"
#address="https://www.accuweather.com/en/us/hutto-tx/78634/weather-forecast/2110192"
address="https://www.accuweather.com/en/gr/kastoria/178682/weather-forecast/178682"
address="https://www.accuweather.com/en/de/lichtenstein/09350/weather-forecast/171261"
#address="https://www.accuweather.com/en/aq/casey-station/2273690/weather-forecast/2273690"
#Pause weather conky
pkill -STOP -xf "$weather_conky_launch_command"
#function: test_image
test_image () {
case $1 in
1)
echo a
;;
2|3)
echo b
;;
4|5)
echo c
;;
6)
echo d
;;
7)
echo e
;;
8)
echo f
;;
11)
echo 0
;;
12)
echo h
;;
13|14)
echo g
;;
15)
echo m
;;
16|17)
echo k
;;
18)
echo i
;;
19)
echo q
;;
20|21|23)
echo o
;;
22)
echo r
;;
24|31)
echo E
;;
25)
echo v
;;
26)
echo x
;;
29)
echo y
;;
30)
echo 5
;;
32)
echo 6
;;
33)
echo A
;;
34|35)
echo B
;;
36|37)
echo C
;;
38)
echo D
;;
39|40)
echo G
;;
41|42)
echo K
;;
43|44)
echo O
;;
*)
echo -
;;
esac
}
############################
# Check the user arguments #
############################
if (( $# < 1 || $# > 18 )); then
echo "Invalid arguments!"
exit
fi
forecast0=0
forecast2015=0
forecast2016=0
hourly0=0
hourly2015=0
hourly2016=0
h_24hours=1
h_real=1
h_uv=1
h_wind=1
h_wind_g=1
h_hum=1
h_ind_hum=1
h_dew=1
h_cl_cov=1
h_prec_am=1
h_visib=1
h_cl_ceil=1
for i in $*
do
if [[ $i != -f && $i != -f2015 && $i != -f2016 && $i != -h && $i != -h2015 && $i != -h2016 && $i != -h_12h && $i != -h_no_real && $i != -h_no_uv && $i != -h_no_wind && $i != -h_no_wind_g && $i != -h_no_hum && $i != -h_no_ind_hum && $i != -h_no_dew && $i != -h_no_cl_cov && $i != -h_no_prec_am && $i != -h_no_visib && $i != -h_no_cl_ceil ]]; then
echo "Invalid arguments!"
exit
fi
case $i in
-f)
forecast0=1
;;
-f2015)
forecast2015=1
;;
-f2016)
forecast2016=1
;;
-h)
hourly0=1
;;
-h2015)
hourly2015=1
;;
-h2016)
hourly2016=1
;;
-h_12h)
h_24hours=0
;;
-h_no_real)
h_real=0
;;
-h_no_uv)
h_uv=0
;;
-h_no_wind)
h_wind=0
;;
-h_no_wind_g)
h_wind_g=0
;;
-h_no_hum)
h_hum=0
;;
-h_no_ind_hum)
h_ind_hum=0
;;
-h_no_dew)
h_dew=0
;;
-h_no_cl_cov)
h_cl_cov=0
;;
-h_no_prec_am)
h_prec_am=0
;;
-h_no_visib)
h_visib=0
;;
-h_no_cl_ceil)
h_cl_ceil=0
;;
esac
done
if [[ $forecast0 == 1 ]]; then
forecast2015=0
forecast2016=0
fi
if [[ $hourly0 == 1 ]]; then
hourly2015=0
hourly2016=0
fi
last_number=$(echo $address|sed 's/^.*\///')
#############################################################
# NORMAL FORECAST: -f, -f2015 or -f2016 passed as arguments #
#############################################################
if [[ $forecast0 == 1 || $forecast2015 == 1 || $forecast2016 == 1 ]]; then
#function: convert_time
convert_time ()
{
hours=$(echo $1|awk -F ":| " '{print $1}')
minutes=$(echo $1|awk -F ":| " '{print $2}')
am_or_pm=$(echo $1|awk -F ":| " '{print $3}')
if [[ $am_or_pm == "" ]]; then
echo $1
return 0
elif [[ $am_or_pm == AM ]]; then
if (( $hours < 10 )); then
hours_24=0$hours
fi
if (( $hours == 10 || $hours == 11 )); then
hours_24=$hours
fi
if (( $hours == 12 )); then
hours_24=00
fi
elif [[ $am_or_pm == PM ]]; then
if (( $hours != 12 )); then
hours_24=$((hours+12))
fi
if (( $hours == 12 )); then
hours_24=12
fi
fi
time_24=$hours_24:$minutes
echo $time_24
}
#function: test_wind
test_wind () {
case $1 in
CLM)
echo -
;;
S)
echo 1
;;
SSW)
echo 2
;;
SW)
echo 3
;;
WSW)
echo 4
;;
W)
echo 5
;;
WNW)
echo 6
;;
NW)
echo 7
;;
NNW)
echo 8
;;
N)
echo 9
;;
NNE)
echo :
;;
NE)
echo \;
;;
ENE)
echo \<
;;
E)
echo =
;;
ESE)
echo \>
;;
SE)
echo ?
;;
SSE)
echo @
;;
esac
}
curr_addr="$(echo $address|sed 's/weather-forecast.*$//')"current-weather/"$last_number"
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Cache-Control: max-age=0' -o $HOME/Accuweather_conky_script/curr_cond_raw "$curr_addr"
daily_addr="$(echo $address|sed 's/weather-forecast.*$//')"daily-weather-forecast/"$last_number"
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Cache-Control: max-age=0' -o $HOME/Accuweather_conky_script/daily_forecast "$daily_addr"
if [[ $forecast2015 == 1 ]]; then
rm $HOME/Accuweather_conky_script/forecast_2015/forecast_*.png
fi
if [[ $forecast2016 == 1 ]]; then
rm $HOME/Accuweather_conky_script/forecast_2016/forecast_*.png
fi
#current conditions
if [[ -s $HOME/Accuweather_conky_script/curr_cond_raw ]]; then
sed '/current-weather-card card-module content-module non-ad/,/glacier-ad native content-module/!d' $HOME/Accuweather_conky_script/curr_cond_raw > $HOME/Accuweather_conky_script/curr_cond_temp
sed -i -e 's/^.*\/weathericons\///' -e 's/\.svg.*$//' -e 's/^.*"display-temp">//' -e 's/°.*$//g' -e 's/^.*RealFeel® //g' -e 's/^.*"phrase">//' -e '/RealFeel Shade™/,+1d' $HOME/Accuweather_conky_script/curr_cond_temp
sed -i '/<div class="detail-item spaced-content">/,+1d' $HOME/Accuweather_conky_script/curr_cond_temp
sed -i -e 's/^.*<div>//g' -e 's/<\/div>.*$//g' -e '/<\|^[[:space:]]*$/d' $HOME/Accuweather_conky_script/curr_cond_temp
sed -i '1s/^0//' $HOME/Accuweather_conky_script/curr_cond_temp
if (( $(grep '<div>.* UV .*<\/div>' $HOME/Accuweather_conky_script/curr_cond_raw |wc -l) == 0 )); then
sed -i '5s/$/\n-/' $HOME/Accuweather_conky_script/curr_cond_temp
fi
wind_dir=$(sed -n 7p $HOME/Accuweather_conky_script/curr_cond_temp|head -c 1)
if [[ $wind_dir == 0 ]]; then
sed -i '7s/^/CLM /' $HOME/Accuweather_conky_script/curr_cond_temp
fi
sed -i '7s/ /\n/1' $HOME/Accuweather_conky_script/curr_cond_temp
if (( $(grep 'Indoor Humidity' $HOME/Accuweather_conky_script/curr_cond_raw |wc -l) == 0 )); then
sed -i '10s/$/\nNO INDOOR HUMIDITY FOR YOU DISGUSTING NON-ENGLISH SPEAKER/' $HOME/Accuweather_conky_script/curr_cond_temp
fi
sed -n 1,3p $HOME/Accuweather_conky_script/curr_cond_temp > $HOME/Accuweather_conky_script/curr_cond
sed -n 5p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
sed -n 7,8p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
sed -n 10p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
sed -n 13p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
sed -n 6p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
sed -n 14p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
sed -n 11p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
sed -n 12p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
sed -n 15p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
sed '/sunrise-sunset card-module content-module/,/temp-history content-module/!d' $HOME/Accuweather_conky_script/curr_cond_raw > $HOME/Accuweather_conky_script/curr_cond_temp1
sed -i -e 's/^.*"text-value">//g' -e 's/<\/span>$//g' -e '/</d' $HOME/Accuweather_conky_script/curr_cond_temp1
sed -i -e '1d;4d' -e 's/^[\t]*//g' -e 's/ AM/:AM/g' -e 's/ PM/:PM/g' -e 's/ .*$//g' -e '/^$/d' -e 's/:AM/ AM/g' -e 's/:PM/ PM/g' $HOME/Accuweather_conky_script/curr_cond_temp1
sed -i -e '1N;s/\n/:/' $HOME/Accuweather_conky_script/curr_cond_temp1
if [[ $(sed -n 4p $HOME/Accuweather_conky_script/curr_cond_temp1) != "N/A" && $(sed -n 5p $HOME/Accuweather_conky_script/curr_cond_temp1) != "N/A" && $(sed -n 6p $HOME/Accuweather_conky_script/curr_cond_temp1) != "N/A" && $(sed -n 7p $HOME/Accuweather_conky_script/curr_cond_temp1) != "N/A" ]]; then
sed -i '4N;s/\n/:/' $HOME/Accuweather_conky_script/curr_cond_temp1
fi
sed -n 2,3p $HOME/Accuweather_conky_script/curr_cond_temp1 >> $HOME/Accuweather_conky_script/curr_cond
sed -n 1p $HOME/Accuweather_conky_script/curr_cond_temp1 >> $HOME/Accuweather_conky_script/curr_cond
sed -n 9p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
sed -n 5,6p $HOME/Accuweather_conky_script/curr_cond_temp1 >> $HOME/Accuweather_conky_script/curr_cond
sed -n 4p $HOME/Accuweather_conky_script/curr_cond_temp1 >> $HOME/Accuweather_conky_script/curr_cond
sed -n 16p $HOME/Accuweather_conky_script/curr_cond_temp >> $HOME/Accuweather_conky_script/curr_cond
rm $HOME/Accuweather_conky_script/curr_cond_temp $HOME/Accuweather_conky_script/curr_cond_temp1
image=$(sed -n 1p $HOME/Accuweather_conky_script/curr_cond)
echo $(test_image $image) >> $HOME/Accuweather_conky_script/curr_cond
sunrise_time=$(sed -n 14p $HOME/Accuweather_conky_script/curr_cond)
echo $(convert_time "$sunrise_time") >> $HOME/Accuweather_conky_script/curr_cond
sunrise_time=$(sed -n 15p $HOME/Accuweather_conky_script/curr_cond)
echo $(convert_time "$sunrise_time") >> $HOME/Accuweather_conky_script/curr_cond
sunrise_time=$(sed -n 18p $HOME/Accuweather_conky_script/curr_cond)
echo $(convert_time "$sunrise_time") >> $HOME/Accuweather_conky_script/curr_cond
sunrise_time=$(sed -n 19p $HOME/Accuweather_conky_script/curr_cond)
echo $(convert_time "$sunrise_time") >> $HOME/Accuweather_conky_script/curr_cond
wind=$(sed -n 5p $HOME/Accuweather_conky_script/curr_cond)
echo $(test_wind $wind) >> $HOME/Accuweather_conky_script/curr_cond
if (( $(sed -n 14p /$HOME/Accuweather_conky_script/curr_cond|wc -c) == 8 )); then
sed -i '14s/^/0/' $HOME/Accuweather_conky_script/curr_cond
fi
if (( $(sed -n 15p /$HOME/Accuweather_conky_script/curr_cond|wc -c) == 8 )); then
sed -i '15s/^/0/' $HOME/Accuweather_conky_script/curr_cond
fi
if (( $(sed -n 18p /$HOME/Accuweather_conky_script/curr_cond|wc -c) == 8 )); then
sed -i '18s/^/0/' $HOME/Accuweather_conky_script/curr_cond
fi
if (( $(sed -n 19p /$HOME/Accuweather_conky_script/curr_cond|wc -c) == 8 )); then
sed -i '19s/^/0/' $HOME/Accuweather_conky_script/curr_cond
fi
if [[ $forecast2015 == 1 ]]; then
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/$(sed -n 1p $HOME/Accuweather_conky_script/curr_cond).png $HOME/Accuweather_conky_script/forecast_2015/forecast_0.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/$(sed -n 5p $HOME/Accuweather_conky_script/curr_cond).png $HOME/Accuweather_conky_script/forecast_2015/wind_0.png
fi
if [[ $forecast2016 == 1 ]]; then
cp $HOME/Accuweather_conky_script/Forecast_Images_2016/$(sed -n 1p $HOME/Accuweather_conky_script/curr_cond).png $HOME/Accuweather_conky_script/forecast_2016/forecast_0.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2016/$(sed -n 5p $HOME/Accuweather_conky_script/curr_cond).png $HOME/Accuweather_conky_script/forecast_2016/wind_0.png
fi
fi
#Daily forecast
if [[ -s $HOME/Accuweather_conky_script/daily_forecast ]]; then
sed -i '/<div class="daily-wrapper">/,/Further Ahead$/!d' $HOME/Accuweather_conky_script/daily_forecast
sed -i -e 's/^.*dow date">//g' -e 's/^.*sub date">//g' -e 's/^.*weathericons\///g' -e 's/\.svg.*$//g' -e 's/^.*"high">//g' -e 's/^.*"low">\///g' -e 's/°<\/span>//g' -e 's/<\/span>//g' -e '/<\|>\|fill=\|^[ \|\t]*$\|Further Ahead/d' -e 's/^[ \|\t]*//g' $HOME/Accuweather_conky_script/daily_forecast
sed -i -e 's/^Sun$/Sunday/g' -e 's/^Mon$/Monday/g' -e 's/^Tue$/Tuesday/g' -e 's/^Wed$/Wednesday/g' -e 's/^Thu$/Thursday/g' -e 's/^Fri$/Friday/g' -e 's/^Sat$/Saturday/g' $HOME/Accuweather_conky_script/daily_forecast
for (( i=1; i<=21; i+=1 ))
do
echo >> $HOME/Accuweather_conky_script/daily_forecast
done
for (( i=3; i<=80; i+=7 ))
do
image=$(sed -n "${i}"p $HOME/Accuweather_conky_script/daily_forecast)
echo $(test_image $image) >> $HOME/Accuweather_conky_script/daily_forecast
done
if [[ $forecast0 == 0 ]]; then
j=1
for (( i=3; i<=80; i+=7 ))
do
if [[ $forecast2015 == 1 ]]; then
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/$(sed -n ${i}p $HOME/Accuweather_conky_script/daily_forecast).png $HOME/Accuweather_conky_script/forecast_2015/forecast_$j.png
fi
if [[ $forecast2016 == 1 ]]; then
cp $HOME/Accuweather_conky_script/Forecast_Images_2016/$(sed -n ${i}p $HOME/Accuweather_conky_script/daily_forecast).png $HOME/Accuweather_conky_script/forecast_2016/forecast_$j.png
fi
((j++))
done
fi
fi
fi
#############################################################
# HOURLY FORECAST: -h, -h2015 or -h2016 passed as arguments #
#############################################################
#function: convert_time_h
convert_time_h ()
{
hours=$(echo $1|awk -F ":| " '{print $1}')
am_or_pm=$(echo $1|awk -F ":| " '{print $2}')
if [[ $am_or_pm == "" ]]; then
echo $1
return 0
elif [[ $am_or_pm == AM ]]; then
if (( $hours < 10 )); then
hours_24=0$hours
fi
if (( $hours == 10 || $hours == 11 )); then
hours_24=$hours
fi
if (( $hours == 12 )); then
hours_24=00
fi
elif [[ $am_or_pm == PM ]]; then
if (( $hours != 12 )); then
hours_24=$((hours+12))
fi
if (( $hours == 12 )); then
hours_24=12
fi
fi
time_24=$hours_24:00
echo $time_24
}
if [[ $hourly0 == 1 || $hourly2015 == 1 || $hourly2016 == 1 ]]; then
#Hourly: 24h
if [[ $hourly2015 == 1 ]]; then
rm $HOME/Accuweather_conky_script/hourly_2015/hourly_*.png
fi
if [[ $hourly2016 == 1 ]]; then
rm $HOME/Accuweather_conky_script/hourly_2016/hourly_*.png
fi
hourly_addr1="$(echo $address|sed 's/weather-forecast.*$//')"hourly-weather-forecast/"$last_number"
hourly_addr2="$(echo $address|sed 's/weather-forecast.*$//')"hourly-weather-forecast/"$last_number"?day=2
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Cache-Control: max-age=0' -o $HOME/Accuweather_conky_script/hourly_raw1 "$hourly_addr1"
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Cache-Control: max-age=0' -o $HOME/Accuweather_conky_script/hourly_raw2 "$hourly_addr2"
if [[ -s $HOME/Accuweather_conky_script/hourly_raw1 && -s $HOME/Accuweather_conky_script/hourly_raw2 ]]; then
#Hourly_raw1 file
sed -i '/<div class=\"hourly-wrapper content-module\">/,/day=/!d' $HOME/Accuweather_conky_script/hourly_raw1
sed -i -e 's/\.svg.*$//g' -e 's/^.*weathericons\///g' -e '/Air Quality/d' -e 's/^.*<p>//g' -e 's/<span class="value">/\n/g' -e 's/<\/span>.*$//g' -e 's/^.*<span>//g' -e 's/<div class="precip">/precip/g' -e 's/°.*$//g' -e 's/^[ \|\t]*//g' -e '/<\|>\|=/d' -e 's/®//g' $HOME/Accuweather_conky_script/hourly_raw1
#Populate Max UV and Prec. Amount values where needed
i=1
while IFS= read -r line;
do
if [[ $(sed -n ${i}p $HOME/Accuweather_conky_script/hourly_raw1) == Wind ]]; then
j=$((i-2))
if [[ $(sed -n ${j}p $HOME/Accuweather_conky_script/hourly_raw1) != 'Max UV Index' ]]; then
sed -i "${i}s/^/Max UV Index\n0\n/" $HOME/Accuweather_conky_script/hourly_raw1
((i+=3))
fi
elif [[ $(sed -n ${i}p $HOME/Accuweather_conky_script/hourly_raw1) == Visibility ]]; then
j=$((i-2))
if [[ $(sed -n ${j}p $HOME/Accuweather_conky_script/hourly_raw1) != 'Rain' && $(sed -n ${j}p $HOME/Accuweather_conky_script/hourly_raw1) != 'Snow' ]]; then
sed -i "${i}s/^/Prec. Amount\n-\n/" $HOME/Accuweather_conky_script/hourly_raw1
((i+=3))
fi
fi
((i+=1))
done < $HOME/Accuweather_conky_script/hourly_raw1
#Hourly_raw2 file
sed -i '/<div class=\"hourly-wrapper content-module\">/,/day=/!d' $HOME/Accuweather_conky_script/hourly_raw2
sed -i -e 's/\.svg.*$//g' -e 's/^.*weathericons\///g' -e '/Air Quality/d' -e 's/^.*<p>//g' -e 's/<span class="value">/\n/g' -e 's/<\/span>.*$//g' -e 's/^.*<span>//g' -e 's/<div class="precip">/precip/g' -e 's/°.*$//g' -e 's/^[ \|\t]*//g' -e '/<\|>\|=/d' -e 's/®//g' $HOME/Accuweather_conky_script/hourly_raw2
#Populate Max UV and Prec. Amount values where needed
i=1
while IFS= read -r line;
do
if [[ $(sed -n ${i}p $HOME/Accuweather_conky_script/hourly_raw2) == Wind ]]; then
j=$((i-2))
if [[ $(sed -n ${j}p $HOME/Accuweather_conky_script/hourly_raw2) != 'Max UV Index' ]]; then
sed -i "${i}s/^/Max UV Index\n0\n/" $HOME/Accuweather_conky_script/hourly_raw2
((i+=3))
fi
elif [[ $(sed -n ${i}p $HOME/Accuweather_conky_script/hourly_raw2) == Visibility ]]; then
j=$((i-2))
if [[ $(sed -n ${j}p $HOME/Accuweather_conky_script/hourly_raw2) != 'Rain' && $(sed -n ${j}p $HOME/Accuweather_conky_script/hourly_raw2) != 'Snow' ]]; then
sed -i "${i}s/^/Prec. Amount\n-\n/" $HOME/Accuweather_conky_script/hourly_raw2
((i+=3))
fi
fi
((i+=1))
done < $HOME/Accuweather_conky_script/hourly_raw2
sed -i '/^$/d' $HOME/Accuweather_conky_script/hourly_raw1
sed -i '/^$/d' $HOME/Accuweather_conky_script/hourly_raw2
cat $HOME/Accuweather_conky_script/hourly_raw1 $HOME/Accuweather_conky_script/hourly_raw2 > $HOME/Accuweather_conky_script/hourly
sed -i '/^Further Ahead$/d' $HOME/Accuweather_conky_script/hourly
sed -i '721,$d' $HOME/Accuweather_conky_script/hourly
sed -i -e 's/ mph$\| km\/h$//g' -e 's/°.*$//g' $HOME/Accuweather_conky_script/hourly
for (( i=3; i<=720; i+=30 ))
do
image=$(sed -n "${i}"p $HOME/Accuweather_conky_script/hourly)
echo $(test_image $image) >> $HOME/Accuweather_conky_script/hourly
sed -i "$(( i+9 ))s/ .*$//" $HOME/Accuweather_conky_script/hourly
sed -i "$(( i+17 ))s/ .*$//" $HOME/Accuweather_conky_script/hourly
done
if [[ $hourly0 == 0 ]]; then
j=1
for (( i=3; i<=720; i+=30 ))
do
if [[ $hourly2015 == 1 ]]; then
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly).png $HOME/Accuweather_conky_script/hourly_2015/hourly_$j.png
fi
if [[ $hourly2016 == 1 ]]; then
cp $HOME/Accuweather_conky_script/Forecast_Images_2016/$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly).png $HOME/Accuweather_conky_script/hourly_2016/hourly_$j.png
fi
((j++))
done
fi
fi
# Convert times in hourly from am/pm to freedom times
for (( i=1; i<=720; i+=30 ))
do
h=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i ${i}s/^.*$/$(convert_time_h "$h")/ $HOME/Accuweather_conky_script/hourly
done
# Full info, next 24h - altogether24 file
rm $HOME/Accuweather_conky_script/{altogether24,altogether24_2015,altogether24_2016}
#TIME
echo "\${color1}TIME\${goto 100}$(sed -n 1p $HOME/Accuweather_conky_script/hourly)" > $HOME/Accuweather_conky_script/altogether24
jump_to=160
for (( i=31; i<=360; i+=30 ))
do
time=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "1s/$/\${goto $jump_to}$time/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=361; i<=720; i+=30 ))
do
time=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "1s/$/\${goto $jump_to}$time/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
sed -i '1s/$/\n\n\n/' $HOME/Accuweather_conky_script/altogether24
#FORECAST
echo "\${color1}FORECAST\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=7; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly|awk '{print $1}'|cut -c1-8)
sed -i "5s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=367; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly|awk '{print $1}'|cut -c1-8)
sed -i "5s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
sed -i '5s/$/\n/' $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=7; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly|awk '{print $2}'|cut -c1-8)
sed -i "6s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=367; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly|awk '{print $2}'|cut -c1-8)
sed -i "6s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#TEMPERATURE
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "TEMPER.\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=4; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "8s/$/\${goto $jump_to}$messg°/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=364; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "8s/$/\${goto $jump_to}$messg°/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#REAL FEEL
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "REAL FEEL\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=6; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "10s/$/\${goto $jump_to}$messg°/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=366; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "10s/$/\${goto $jump_to}$messg°/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#CHANCE OF PRECIPITATION
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "PRECIP. %\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=9; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "12s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=369; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "12s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#MAX UV INDEX
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "UV INDEX\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=12; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "14s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=372; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "14s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#WIND
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "WIND\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=14; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "16s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=374; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "16s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#WIND GUSTS
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "WIND GUSTS\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=16; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "18s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=376; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "18s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#HUMIDITY
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "HUMIDITY\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=18; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "20s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=378; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "20s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#INDOOR HUMIDITY
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "IND. HUMID.\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=20; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "22s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=380; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "22s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#DEW POINT
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "DEW POINT\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=22; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "24s/$/\${goto $jump_to}$messg°/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=382; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "24s/$/\${goto $jump_to}$messg°/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#CLOUD COVER
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "CLOUD CVR\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=24; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "26s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=384; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "26s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#PRECIPITATION AMOUNT
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "PREC. AM.\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=26; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "28s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=386; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "28s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#VISIBILITY
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "VISIBILITY\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=28; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "30s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=388; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "30s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#CLOUD CEILING
echo "\${color1}\${goto 100}\${hr 1}" >> $HOME/Accuweather_conky_script/altogether24
echo "CLOUD CEIL.\${color}" >> $HOME/Accuweather_conky_script/altogether24
jump_to=100
for (( i=30; i<=360; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "32s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=390; i<=720; i+=30 ))
do
messg=$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)
sed -i "32s/$/\${goto $jump_to}$messg/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
#IMAGES
if [[ $hourly0 == 0 ]]; then
if [[ $hourly2015 == 1 ]]; then
jump_to=75
cp $HOME/Accuweather_conky_script/altogether24 $HOME/Accuweather_conky_script/altogether24_2015
fi
if [[ $hourly2016 == 1 ]]; then
jump_to=85
cp $HOME/Accuweather_conky_script/altogether24 $HOME/Accuweather_conky_script/altogether24_2016
fi
rm $HOME/Accuweather_conky_script/altogether24
hours=$((12+$h_24hours*12))
for (( i=1; i<=$hours; i+=1 ))
do
if [[ $hourly2015 == 1 ]]; then
sed -i "4s/$/\${image \$HOME\/Accuweather_conky_script\/hourly_2015\/hourly_$i.png -s 60x36 -p $jump_to,49}/" $HOME/Accuweather_conky_script/altogether24_2015
fi
if [[ $hourly2016 == 1 ]]; then
sed -i "4s/$/\${image \$HOME\/Accuweather_conky_script\/hourly_2016\/hourly_$i.png -s 36x36 -p $jump_to,49}/" $HOME/Accuweather_conky_script/altogether24_2016
fi
((jump_to+=60))
done
fi
#CONKYFONT
if [[ $hourly0 == 1 ]]; then
sed -i '4s/$/\${color}\${font conkyweather:size=35}/' $HOME/Accuweather_conky_script/altogether24
jump_to=95
for (( i=721; i<=732; i+=1 ))
do
sed -i "4s/$/\${goto $jump_to}$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
if [[ $h_24hours == 1 ]]; then
for (( i=733; i<=744; i+=1 ))
do
sed -i "4s/$/\${goto $jump_to}$(sed -n ${i}p $HOME/Accuweather_conky_script/hourly)/" $HOME/Accuweather_conky_script/altogether24
((jump_to+=60))
done
fi
sed -i '4s/$/\${font}/' $HOME/Accuweather_conky_script/altogether24
sed -i '2,3d' $HOME/Accuweather_conky_script/altogether24
fi
#DELETE UNWANTED VARIABLES
if [[ $h_real == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '7,8s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '9,10s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '9,10s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
if [[ $h_uv == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '11,12s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '13,14s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '13,14s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
if [[ $h_wind == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '13,14s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '15,16s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '15,16s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
if [[ $h_wind_g == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '15,16s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '17,18s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '17,18s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
if [[ $h_hum == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '17,18s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '19,20s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '19,20s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
if [[ $h_ind_hum == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '19,20s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '21,22s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '21,22s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
if [[ $h_dew == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '21,22s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '23,24s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '23,24s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
if [[ $h_cl_cov == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '23,24s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '25,26s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '25,26s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
if [[ $h_prec_am == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '25,26s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '27,28s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '27,28s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
if [[ $h_visib == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '27,28s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '29,30s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '29,30s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
if [[ $h_cl_ceil == 0 ]]; then
if [[ $hourly0 == 1 ]]; then
sed -i '29,30s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24
elif [[ $hourly2015 == 1 ]]; then
sed -i '31,32s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2015
elif [[ $hourly2016 == 1 ]]; then
sed -i '31,32s/^.*$/VOID/' $HOME/Accuweather_conky_script/altogether24_2016
fi
fi
sed -i '/VOID/d' $HOME/Accuweather_conky_script/{altogether24,altogether24_2015,altogether24_2016}
fi
#Resume weather conky
pkill -CONT -xf "$weather_conky_launch_command"
Last edited by TeoBigusGeekus (2020-12-08 22:26:12)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
^^The provided data of the old script is ok again this morning (10:47 am).
I still have to test your new script...
Edit:
Teo,
that is also ok. Thanks a lot and congratulations to your beautiful Conky with the great background!
Last edited by unklar (2020-12-09 10:19:32)
Offline
Thanks, it was all about the moon values being N/A.
As always, I'll leave it for a couple of days and then I'll update the repository.
Cheers for the feedback unklar.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Hello Teo
Small correction and localization moongiant script:
#!/usr/bin/env bash
sleep 5
#function: moonrise_set
moonrise_set () {
case "$1" in
"FirstQuarter")
echo "Noon/Midnight"
cp $HOME/Moongiant_conky_script/riseicons/rise_FirstQuarter.jpg $HOME/Moongiant_conky_script/rise.jpg
;;
"FullMoon")
echo "6PM/6AM"
cp $HOME/Moongiant_conky_script/riseicons/rise_FullMoon.jpg $HOME/Moongiant_conky_script/rise.jpg
;;
"LastQuarter")
echo "Midnight/Noon"
cp $HOME/Moongiant_conky_script/riseicons/rise_LastQuarter.jpg $HOME/Moongiant_conky_script/rise.jpg
;;
"NewMoon")
echo "6AM/6PM"
cp $HOME/Moongiant_conky_script/riseicons/rise_NewMoon.jpg $HOME/Moongiant_conky_script/rise.jpg
;;
"WaningCrescent")
echo "3AM/3PM"
cp $HOME/Moongiant_conky_script/riseicons/rise_WaningCrescent.jpg $HOME/Moongiant_conky_script/rise.jpg
;;
"WaningGibbous")
echo "9PM/9AM"
cp $HOME/Moongiant_conky_script/riseicons/rise_WaningGibbous.jpg $HOME/Moongiant_conky_script/rise.jpg
;;
"WaxingCrescent")
echo "9AM/9PM"
cp $HOME/Moongiant_conky_script/riseicons/rise_WaxingCrescent.jpg $HOME/Moongiant_conky_script/rise.jpg
;;
"WaxingGibbous")
echo "3PM/3AM"
cp $HOME/Moongiant_conky_script/riseicons/rise_WaxingGibbous.jpg $HOME/Moongiant_conky_script/rise.jpg
;;
*)
echo "Unavailable"
esac
}
#########################################################################################
# Put the command that launches the conky configuration file that uses this script here #
#########################################################################################
weather_conky_launch_command="conky -b"
#Pause weather conky
pkill -STOP -xf "$weather_conky_launch_command"
#put your hemisphere here: north or south
hemisphere=north
wget -q -O $HOME/Moongiant_conky_script/moon_today_raw "https://www.moongiant.com/phase/today"
rm $HOME/Moongiant_conky_script/*.png $HOME/Moongiant_conky_script/*.jpg
sed -e '/^ *$/d' -e 's/^ *//g' $HOME/Moongiant_conky_script/moon_today_raw > $HOME/Moongiant_conky_script/raw
sed -i '/var jArray=\|"todayMoonContainer"\|"moonNotToday"/!d' $HOME/Moongiant_conky_script/raw
sed -i '/var jArray/s/","/\n/g' $HOME/Moongiant_conky_script/raw
sed -i -e 's/^.*<b>//g' -e 's/<\\\/b>//g' -e 's/\\n//g' -e 's/<span>//g' -e 's/<\\\/span>//g' -e '45d' $HOME/Moongiant_conky_script/raw
sed -i -e 's/^small\///g' -e 's/\.png.*$//g' $HOME/Moongiant_conky_script/raw
sed -i -e 's/Illumination: \|Sun Angle: \|Sun Distance: \|Moon Distance: \|Moon Age: \|Moon Angle: //g' $HOME/Moongiant_conky_script/raw
#Restore older order
sed -i '17d' $HOME/Moongiant_conky_script/raw
sed -n '17,26p' $HOME/Moongiant_conky_script/raw > $HOME/Moongiant_conky_script/temp
sed -i '17,26d' $HOME/Moongiant_conky_script/raw
cp $HOME/Moongiant_conky_script/raw $HOME/Moongiant_conky_script/raw1
cat $HOME/Moongiant_conky_script/temp $HOME/Moongiant_conky_script/raw1 > $HOME/Moongiant_conky_script/raw
rm $HOME/Moongiant_conky_script/raw1 $HOME/Moongiant_conky_script/temp
sed -i -e 's/^.*today_phase\/small\///g' -e 's/^.*today_phase\///g' -e 's/\.jpg.*$//g' $HOME/Moongiant_conky_script/raw
sed -i '28d' $HOME/Moongiant_conky_script/raw
#September 30-October 1 fix
for (( i=11; i<=35; i+=8 ))
do
if [[ $(sed -n ${i}p $HOME/Moongiant_conky_script/raw) == "September 30" ]]; then
line=$((i+7))
sed -i "${line}s/^.*$/Waning Crescent/" $HOME/Moongiant_conky_script/raw
fi
if [[ $(sed -n ${i}p $HOME/Moongiant_conky_script/raw) == "October 1" ]]; then
line=$((i+7))
sed -i "${line}s/^.*$/New Moon/" $HOME/Moongiant_conky_script/raw
fi
done
today_phase=$(sed -n 8p $HOME/Moongiant_conky_script/raw| awk -F "," '{print $2}'| sed 's/ //')
if [[ $today_phase == "September 30" ]]; then
sed -i '7s/^.*$/Waning Crescent/' $HOME/Moongiant_conky_script/raw
sed -i '10s/^.*$/Phase: Waning Crescent/' $HOME/Moongiant_conky_script/raw
fi
if [[ $today_phase == "October 1" ]]; then
sed -i '7s/^.*$/New Moon/' $HOME/Moongiant_conky_script/raw
sed -i '10s/^.*$/Phase: New Moon/' $HOME/Moongiant_conky_script/raw
fi
phase=$(sed -n 7p $HOME/Moongiant_conky_script/raw|sed 's/ //')
mrise_mset=$(moonrise_set $phase)
sed -i 7a$(moonrise_set $phase) $HOME/Moongiant_conky_script/raw
#Day before Yesterday
img_in=$(sed -n 44p $HOME/Moongiant_conky_script/raw)
cp $HOME/Moongiant_conky_script/moongiant_icons_$hemisphere/$img_in.png $HOME/Moongiant_conky_script/-2.png
#Yesterday
img_in=$(sed -n 45p $HOME/Moongiant_conky_script/raw)
cp $HOME/Moongiant_conky_script/moongiant_icons_$hemisphere/$img_in.png $HOME/Moongiant_conky_script/-1.png
#Today
img_in=$(sed -n 46p $HOME/Moongiant_conky_script/raw)
cp $HOME/Moongiant_conky_script/moongiant_icons_$hemisphere/$img_in.png $HOME/Moongiant_conky_script/0.png
#Tomorrow
img_in=$(sed -n 47p $HOME/Moongiant_conky_script/raw)
cp $HOME/Moongiant_conky_script/moongiant_icons_$hemisphere/$img_in.png $HOME/Moongiant_conky_script/1.png
#Day after Tomorrow
img_in=$(sed -n 48p $HOME/Moongiant_conky_script/raw)
cp $HOME/Moongiant_conky_script/moongiant_icons_$hemisphere/$img_in.png $HOME/Moongiant_conky_script/2.png
########### Moon phase to font characters
#function: test_moon_phase_font
test_moon_phase_font () {
case $1 in
NewMoon)
echo N Νέα Σελήνη
;;
FirstQuarter)
echo S Πρώτο Τέταρτο
;;
FullMoon)
echo n Πανσέληνος
;;
LastQuarter)
echo H Τελευταίο Τέταρτο
;;
WaningGibbous)
echo F Αύξουσα Κύρτωση
;;
WaningCrescent)
echo J Φθίνουσα Ημισέληνος
;;
WaxingCrescent)
echo Q Αύξουσα Ημισέληνος
;;
WaxingGibbous)
echo U Αύξουσα Αµφίκυρτος
;;
*)
echo \@ n/a
;;
esac
}
#convert Image Number Moon to Moon font letter and translate moon phase en - ru
#
echo $(test_moon_phase_font $phase) >> $HOME/Moongiant_conky_script/raw
#Resume weather conky
pkill -CONT -xf "$weather_conky_launch_command"
Last edited by il.harun (2020-12-13 19:31:02)
Offline
Thanks for the Greek localization!
What's the correction?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
my script:
line 63
sed -i -e 's/^.*<b>//g' -e 's/<\\\/b>//g' -e 's/\\n//g' -e 's/<span>//g' -e 's/<\\\/span>//g' -e '45d' $HOME/Moongiant_conky_script/raw
add line 76
sed -i '28d' $HOME/Moongiant_conky_script/raw
end delete / in /$HOME/Moongiant_conky_script/raw
Last edited by il.harun (2020-12-13 21:50:08)
Offline
ANNOUNCEMENT
Small bug corrected in the Accuweather script that had to do with the moonrise/set values: whenever they had the value N/A the script went crazy. All's well now - thanks to unklar for his accute feedback.
Last edited by TeoBigusGeekus (2020-12-16 00:10:20)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
@il.harun
We have a problem. It seems that whenever we have a new moon, the first day after it is empty.
Was this behaviour present before?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline