Commit 9d2f2273 authored by alain's avatar alain 🐙
Browse files

update settings

parent 7cd6be1a
export const appSettings = {
language: "nl",
panelBreakpoint: 800
}
\ No newline at end of file
import { addMissingHours } from "../../data-on-a-map-app/src/util/data"
import { addMissingDataPoints } from "../../data-on-a-map-app/src/util/data"
export default {
name: "holu",
sides: 24,
angle: 0,
factor: 0.5,
factor: 0.5,
daysToFetch: 90,
all: async function getAllHolu(parameter) {
try {
......@@ -85,7 +86,7 @@ export default {
}
},
detail: async function getDetailHolu(station, parameter, start, end) {
detail: async function getDetailHolu(station, parameter, start, end, granularity) {
try {
const stationMeta = {
type: (station.type === "extended" ? "Extended" : "Basic" ) + " HOLU-meetstation " + station.id,
......@@ -115,7 +116,7 @@ export default {
}
})
const data = addMissingHours(conformedData)
const data = addMissingDataPoints(conformedData, granularity)
return { stationMeta, data }
} catch (error) {
......
import { getLastHourISO, getNowHourISO } from "../../data-on-a-map-app/src/util/time"
import { groupArrayOfObjectsBy, renameObjectKey, addMissingHours } from "../../data-on-a-map-app/src/util/data"
import { groupArrayOfObjectsBy, renameObjectKey, addMissingDataPoints } from "../../data-on-a-map-app/src/util/data"
const officialStations = {
pm25: [
......@@ -81,6 +81,7 @@ export default {
sides: 6,
angle: 0,
factor: 1,
daysToFetch: 60,
all: async function getAllLuchtmeetnet(parameter) {
try {
......@@ -129,7 +130,7 @@ export default {
}
})
const data = addMissingHours(conformedData)
const data = addMissingDataPoints(conformedData, "hourly")
return { stationMeta, data }
} catch (error) {
......
import { addMissingHours, inArray } from "../../data-on-a-map-app/src/util/data"
import { addMissingDataPoints, inArray } from "../../data-on-a-map-app/src/util/data"
export default {
name: "teom",
sides: 4,
angle: 0,
factor: 0.85,
daysToFetch: 90,
all: async function getAllTeom(parameter) {
try {
......@@ -82,7 +83,7 @@ export default {
}
})
const data = addMissingHours(conformedData)
const data = addMissingDataPoints(conformedData, "hourly")
return { stationMeta, data }
} catch (error) {
......
data-on-a-map-app @ ffef7742
Subproject commit 01ca0c96a964cf1a0323c130cb7204ade056d658
Subproject commit ffef7742f3cbe005124e6911f8887203c852cd9f
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment