current conditions ready for data

This commit is contained in:
Matt Walsh
2020-09-24 22:44:51 -05:00
parent 965cb29699
commit 0a6a31217b
12 changed files with 314 additions and 122 deletions

View File

@@ -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: