diff --git a/frontend/src/components/CorrelationGraphs/TemperatureNdviBarAndLine.vue b/frontend/src/components/CorrelationGraphs/TemperatureNdviBarAndLine.vue
new file mode 100644
index 0000000..f699427
--- /dev/null
+++ b/frontend/src/components/CorrelationGraphs/TemperatureNdviBarAndLine.vue
@@ -0,0 +1,119 @@
+
+
+ Temperature vs. NDVI
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/components/CorrelationGraphs/TemperatureNdviScatter.vue b/frontend/src/components/CorrelationGraphs/TemperatureNdviScatter.vue
new file mode 100644
index 0000000..4aed0da
--- /dev/null
+++ b/frontend/src/components/CorrelationGraphs/TemperatureNdviScatter.vue
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/MainSection.vue b/frontend/src/components/MainSection.vue
index 369475e..b8ffbe6 100644
--- a/frontend/src/components/MainSection.vue
+++ b/frontend/src/components/MainSection.vue
@@ -1,5 +1,7 @@
+
+
@@ -22,6 +24,8 @@ import MeanSoilTempGraph from "./WeatherGraphs/SoilTempGraph.vue"
import MeanSoilMoistureGraph from "./WeatherGraphs/SoilMoistureGraph.vue"
import AugustMeanSoilTempGraph from "./WeatherGraphs/AugustSoilTempGraph.vue"
import SelectMonthMeanSoilTempGraph from "./WeatherGraphs/SelectMonthSoilTempGraph.vue"
+import TemperatureNdviBarAndLine from "./CorrelationGraphs/TemperatureNdviBarAndLine.vue"
+import TemperatureNdviScatter from "./CorrelationGraphs/TemperatureNdviScatter.vue"
export default {
name: 'MainSection',
@@ -34,7 +38,9 @@ export default {
MeanSoilTempGraph,
MeanSoilMoistureGraph,
AugustMeanSoilTempGraph,
- SelectMonthMeanSoilTempGraph
+ SelectMonthMeanSoilTempGraph,
+ TemperatureNdviBarAndLine,
+ TemperatureNdviScatter
}
}
diff --git a/frontend/src/components/NdviGraphs/NdviComparisonGraph.vue b/frontend/src/components/NdviGraphs/NdviComparisonGraph.vue
index cae863e..31a83b3 100644
--- a/frontend/src/components/NdviGraphs/NdviComparisonGraph.vue
+++ b/frontend/src/components/NdviGraphs/NdviComparisonGraph.vue
@@ -54,7 +54,7 @@ export default {
const aggregationOptions = ["Mean", "Median", "Max", "Min"]
const fetchNdviData = async (params) => {
- const apiUrl = 'http://localhost:8000/index/ndvi'
+ const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/index/ndvi'
try {
const response = await axios.get(apiUrl, { params })
ndviData.value = response.data
diff --git a/frontend/src/components/NdviGraphs/NdviOverlayGraph.vue b/frontend/src/components/NdviGraphs/NdviOverlayGraph.vue
index e40192f..662d924 100644
--- a/frontend/src/components/NdviGraphs/NdviOverlayGraph.vue
+++ b/frontend/src/components/NdviGraphs/NdviOverlayGraph.vue
@@ -25,7 +25,7 @@
const years = [2018, 2019, 2020, 2021, 2022, 2023]
const fetchNdviData = async (params) => {
- const apiUrl = 'http://localhost:8000/index/ndvi'
+ const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/index/ndvi'
try {
const response = await axios.get(apiUrl, { params })
ndviData.value = response.data
diff --git a/frontend/src/components/NdviGraphs/NdviSelectMonthGraph.vue b/frontend/src/components/NdviGraphs/NdviSelectMonthGraph.vue
index 84e2fba..acf2023 100644
--- a/frontend/src/components/NdviGraphs/NdviSelectMonthGraph.vue
+++ b/frontend/src/components/NdviGraphs/NdviSelectMonthGraph.vue
@@ -42,7 +42,7 @@ export default {
const endDate = ref(1704063599) // 2023-12-31
const fetchNdviData = async () => {
- const apiUrl = 'http://localhost:8000/index/ndvi'
+ const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/index/ndvi'
try {
const response = await axios.get(apiUrl, {
params: {
diff --git a/frontend/src/components/WeatherGraphs/AugustSoilTempGraph.vue b/frontend/src/components/WeatherGraphs/AugustSoilTempGraph.vue
index 8dc6e3c..54166a7 100644
--- a/frontend/src/components/WeatherGraphs/AugustSoilTempGraph.vue
+++ b/frontend/src/components/WeatherGraphs/AugustSoilTempGraph.vue
@@ -20,7 +20,7 @@ export default {
const plotlyChart = ref(null);
const fetchData = async () => {
- const apiUrl = 'http://localhost:8000/weather/index';
+ const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/weather/index';
const params = {
weatherVariable: "soil_temperature_0_to_7cm",
diff --git a/frontend/src/components/WeatherGraphs/MedianTempGraph.vue b/frontend/src/components/WeatherGraphs/MedianTempGraph.vue
index a41990a..3b4287c 100644
--- a/frontend/src/components/WeatherGraphs/MedianTempGraph.vue
+++ b/frontend/src/components/WeatherGraphs/MedianTempGraph.vue
@@ -36,7 +36,7 @@ export default {
const plotlyChart = ref(null);
const fetchTemperatureData = async () => {
- const apiUrl = 'http://localhost:8000/weather/index';
+ const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/weather/index';
const params = {
weatherVariable: "temperature_2m",
diff --git a/frontend/src/components/WeatherGraphs/SelectMonthSoilTempGraph.vue b/frontend/src/components/WeatherGraphs/SelectMonthSoilTempGraph.vue
index 5d8cf40..766a080 100644
--- a/frontend/src/components/WeatherGraphs/SelectMonthSoilTempGraph.vue
+++ b/frontend/src/components/WeatherGraphs/SelectMonthSoilTempGraph.vue
@@ -41,7 +41,7 @@ export default {
const plotlyChart = ref(null);
const fetchData = async () => {
- const apiUrl = 'http://localhost:8000/weather/index';
+ const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/weather/index';
const params = {
weatherVariable: "soil_temperature_0_to_7cm",
diff --git a/frontend/src/components/WeatherGraphs/SoilMoistureGraph.vue b/frontend/src/components/WeatherGraphs/SoilMoistureGraph.vue
index f32c990..c646f15 100644
--- a/frontend/src/components/WeatherGraphs/SoilMoistureGraph.vue
+++ b/frontend/src/components/WeatherGraphs/SoilMoistureGraph.vue
@@ -36,7 +36,7 @@
const plotlyChart = ref(null);
const fetchData = async () => {
- const apiUrl = 'http://localhost:8000/weather/index';
+ const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/weather/index';
const params = {
weatherVariable: "soil_temperature_0_to_7cm",
diff --git a/frontend/src/components/WeatherGraphs/SoilTempGraph.vue b/frontend/src/components/WeatherGraphs/SoilTempGraph.vue
index b88f040..26cbdf0 100644
--- a/frontend/src/components/WeatherGraphs/SoilTempGraph.vue
+++ b/frontend/src/components/WeatherGraphs/SoilTempGraph.vue
@@ -36,7 +36,7 @@
const plotlyChart = ref(null);
const fetchTemperatureData = async () => {
- const apiUrl = 'http://localhost:8000/weather/index';
+ const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/weather/index';
const params = {
weatherVariable: "soil_temperature_0_to_7cm",