fml
continuous-integration/drone/push Build is passing Details

main
Fionn 2 years ago
parent f9fc7f2490
commit 561cf13eb8

@ -80,8 +80,8 @@ export async function getDataAtFix(fix: WxFix, index: number): Promise<WxFixData
for(const [qnh, fl] of Object.entries(qnhLevelMapping)) {
const temp = Number(hourlyData?.[`temperature_${qnh}hPa`]?.[index]) + 273.15;
const dir = hourlyData?.[`windspeed_${qnh}hPa`]?.[index];
const speed = hourlyData?.[`winddirection_${qnh}hPa`]?.[index];
const dir = hourlyData?.[`winddirection_${qnh}hPa`]?.[index];
const speed = hourlyData?.[`windspeed_${qnh}hPa`]?.[index];
data.levels[String(fl)] = {
"T(K)": String(temp),

Loading…
Cancel
Save