Select weather fields for country view

This commit is contained in:
Guntis Smaukstelis
2023-12-25 12:09:58 +02:00
parent a48b9df91f
commit 5324f4c176
6 changed files with 75 additions and 7 deletions
+2
View File
@@ -4,6 +4,8 @@ export const cityList = ["Ainaži", "Alūksne", "Bauska", "Dagda", "Daugavgrīva
export const weatherField = ["tempMax", "tempMin", "tempAvg", "precipitation", "windAvg", "windMax", "visibilityMin", "visibilityAvg", "snowAvg", "atmPressire", "dewPoint", "humidity", "sunDuration", "phenomena"];
export const weatherFieldNumeric = weatherField.filter(f => f !== "phenomena");
export const aggregateKey = ["min", "max", "avg", "sum", "list", "distinct"];
export const aggregateGranularity = ["hour", "day", "month", "year"];