Skip to content

Commit caac232

Browse files
committed
Change end date to November 2024
1 parent c393278 commit caac232

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

frontend/src/components/CorrelationGraphs/TemperatureNdviBarAndLine.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default {
2222
const temperatureData = ref(null)
2323
const ndviData = ref(null)
2424
const startDate = ref(1514761200) // 2018-01-01
25-
const endDate = ref(1704063599) // 2023-12-31
25+
const endDate = ref(1733007599) // 2024-11-30
2626
const temporalResolution = ref("Monthly") // options: "Daily", "Monthly"
2727
const aggregation = ref("Mean") // options: "Mean", "Median", "Max", "Min"
2828
@@ -92,7 +92,7 @@ export default {
9292
};
9393
9494
const layout = {
95-
title: 'NDVI vs. Monthly Temperature for Tempelhofer Feld (2018-2023)',
95+
title: 'NDVI vs. Monthly Temperature for Tempelhofer Feld (2018-2024)',
9696
xaxis: { title: 'Date', type: 'date', rangeslider: { visible: true } },
9797
yaxis: { title: 'Temperature (°C)' },
9898
yaxis2: {

frontend/src/components/MainSection.vue

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22
<v-container class="main-section" fluid>
33
<TemperatureNdviBarAndLine />
44
<TemperatureNdviScatter />
5-
<Images />
5+
<TempDifferenceGraph />
6+
<SoilTempDifferenceGraph />
7+
<NdviDifferenceGraph />
8+
<NdviOverlayGraph />
9+
<!-- <Images />
610
<NdviComparisonGraph />
711
<NdviSelectMonthGraph />
8-
<NdviOverlayGraph />
912
<MedianTempGraph />
1013
<MeanSoilTempGraph />
1114
<MeanSoilMoistureGraph />
1215
<AugustMeanSoilTempGraph />
13-
<SelectMonthMeanSoilTempGraph />
14-
<TempDifferenceGraph />
15-
<SoilTempDifferenceGraph />
16+
<SelectMonthMeanSoilTempGraph /> -->
1617
</v-container>
1718
</template>
1819

@@ -30,6 +31,7 @@ import TemperatureNdviBarAndLine from "./CorrelationGraphs/TemperatureNdviBarAnd
3031
import TemperatureNdviScatter from "./CorrelationGraphs/TemperatureNdviScatter.vue"
3132
import TempDifferenceGraph from "./WeatherGraphs/TempDifferenceGraph.vue"
3233
import SoilTempDifferenceGraph from "./WeatherGraphs/SoilTempDifferenceGraph.vue"
34+
import NdviDifferenceGraph from "./NdviGraphs/NdviDifferenceGraph.vue"
3335
3436
export default {
3537
name: 'MainSection',
@@ -46,7 +48,8 @@ export default {
4648
TempDifferenceGraph,
4749
SoilTempDifferenceGraph,
4850
TemperatureNdviBarAndLine,
49-
TemperatureNdviScatter
51+
TemperatureNdviScatter,
52+
NdviDifferenceGraph
5053
}
5154
}
5255
</script>

frontend/src/components/NdviGraphs/NdviOverlayGraph.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<v-container>
3-
<h2 class="pb-4">NDVI Year Overlay (2018-2023)</h2>
3+
<h2 class="pb-4">NDVI Year Overlay (2018-2024)</h2>
44
<v-row>
55
<div
66
id="plotlyGraphNdviOverlay"
@@ -21,8 +21,8 @@
2121
setup() {
2222
const ndviData = ref(null)
2323
const startDate = ref(1514761200) // 2018-01-01
24-
const endDate = ref(1704063599) // 2023-12-31
25-
const years = [2018, 2019, 2020, 2021, 2022, 2023]
24+
const endDate = ref(1733007599) // 2024-11-30
25+
const years = [2018, 2019, 2020, 2021, 2022, 2023, 2024]
2626
2727
const fetchNdviData = async (params) => {
2828
const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/index/ndvi'

0 commit comments

Comments
 (0)