mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-18 09:39:30 -07:00
current conditions ready for data
This commit is contained in:
@@ -38,7 +38,6 @@ class Almanac extends WeatherDisplay {
|
||||
// process images for outlook
|
||||
const [outlookTemp, outlookPrecip] = await Promise.all(imagePromises);
|
||||
|
||||
console.log(outlookTemp,outlookPrecip);
|
||||
const outlook = this.parseOutlooks(weatherParameters.latitude, weatherParameters.longitude, outlookTemp, outlookPrecip);
|
||||
|
||||
// store the data
|
||||
@@ -47,8 +46,8 @@ class Almanac extends WeatherDisplay {
|
||||
moon,
|
||||
outlook,
|
||||
};
|
||||
// draw the canvas
|
||||
this.drawCanvas();
|
||||
// update status
|
||||
this.setStatus(STATUS.loaded);
|
||||
|
||||
}
|
||||
|
||||
@@ -295,7 +294,6 @@ class Almanac extends WeatherDisplay {
|
||||
});
|
||||
|
||||
this.finishDraw();
|
||||
this.setStatus(STATUS.loaded);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
|
||||
Reference in New Issue
Block a user