From 29b8f352e61ed3c774d69795f87bd92932e725ac Mon Sep 17 00:00:00 2001 From: jannisvisser Date: Tue, 3 Dec 2024 11:50:21 +0100 Subject: [PATCH] fix: switch around leadtimes for blantyre & rumphi --- .../lines-data/dto/example/MWI/flash-floods/buildings.json | 4 ++-- .../api/lines-data/dto/example/MWI/flash-floods/roads.json | 4 ++-- .../dto/example/MWI/flash-floods/health_sites.json | 4 ++-- .../point-data/dto/example/MWI/flash-floods/schools.json | 4 ++-- .../dto/example/MWI/flash-floods/waterpoints_internal.json | 4 ++-- .../src/scripts/mock-data/flash-floods/MWI/scenarios.json | 6 +++--- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/services/API-service/src/api/lines-data/dto/example/MWI/flash-floods/buildings.json b/services/API-service/src/api/lines-data/dto/example/MWI/flash-floods/buildings.json index d9bc2fb4d..6617dabb2 100644 --- a/services/API-service/src/api/lines-data/dto/example/MWI/flash-floods/buildings.json +++ b/services/API-service/src/api/lines-data/dto/example/MWI/flash-floods/buildings.json @@ -11,7 +11,7 @@ "8699", "8700" ], - "6-hour": [ + "0-hour": [ "3731", "3732", "3733", @@ -48,7 +48,7 @@ "3776", "3777" ], - "0-hour": [ + "6-hour": [ "90190", "99956", "99966", diff --git a/services/API-service/src/api/lines-data/dto/example/MWI/flash-floods/roads.json b/services/API-service/src/api/lines-data/dto/example/MWI/flash-floods/roads.json index 7a14267dc..bebb90b74 100644 --- a/services/API-service/src/api/lines-data/dto/example/MWI/flash-floods/roads.json +++ b/services/API-service/src/api/lines-data/dto/example/MWI/flash-floods/roads.json @@ -58,7 +58,7 @@ "400985", "400986" ], - "6-hour": [ + "0-hour": [ "251852", "11621", "260370", @@ -130,7 +130,7 @@ "196", "278512" ], - "0-hour": [ + "6-hour": [ "407842", "408811", "408905", diff --git a/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/health_sites.json b/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/health_sites.json index 16ed2f600..61c218caf 100644 --- a/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/health_sites.json +++ b/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/health_sites.json @@ -1,6 +1,6 @@ { - "0-hour": [], - "6-hour": [ + "6-hour": [], + "0-hour": [ { "fid": "76", "value": true }, { "fid": "146", "value": true }, { "fid": "356", "value": true } diff --git a/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/schools.json b/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/schools.json index 1cf7c9cd1..02830a813 100644 --- a/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/schools.json +++ b/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/schools.json @@ -1,9 +1,9 @@ { - "0-hour": [ + "6-hour": [ { "fid": "606118", "value": true }, { "fid": "606075", "value": true } ], - "6-hour": [ + "0-hour": [ { "fid": "334", "value": true }, { "fid": "359", "value": true }, { "fid": "130", "value": true }, diff --git a/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/waterpoints_internal.json b/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/waterpoints_internal.json index e791d1dcc..75f53fafa 100644 --- a/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/waterpoints_internal.json +++ b/services/API-service/src/api/point-data/dto/example/MWI/flash-floods/waterpoints_internal.json @@ -1,6 +1,6 @@ { - "0-hour": [], - "6-hour": [ + "6-hour": [], + "0-hour": [ { "fid": "32309", "value": true }, { "fid": "8088", "value": true }, { "fid": "18275", "value": true }, diff --git a/services/API-service/src/scripts/mock-data/flash-floods/MWI/scenarios.json b/services/API-service/src/scripts/mock-data/flash-floods/MWI/scenarios.json index d4f882859..75e23c8d3 100644 --- a/services/API-service/src/scripts/mock-data/flash-floods/MWI/scenarios.json +++ b/services/API-service/src/scripts/mock-data/flash-floods/MWI/scenarios.json @@ -3,15 +3,15 @@ "scenarioName": "trigger", "defaultScenario": true, "events": [ - { "eventName": "Rumphi", "leadTime": "6-hour" }, + { "eventName": "Rumphi", "leadTime": "0-hour" }, { "eventName": "Karonga", "leadTime": "24-hour" }, - { "eventName": "Blantyre City", "leadTime": "0-hour" } + { "eventName": "Blantyre City", "leadTime": "6-hour" } ] }, { "scenarioName": "single-event", "defaultScenario": false, - "events": [{ "eventName": "Blantyre City", "leadTime": "0-hour" }] + "events": [{ "eventName": "Blantyre City", "leadTime": "6-hour" }] }, { "scenarioName": "no-trigger"