diff --git a/R/point_pre_processing/interpol2sql.R b/R/point_pre_processing/interpol2sql.R
old mode 100644
new mode 100755
diff --git a/R/point_pre_processing/vfld2sql.R b/R/point_pre_processing/vfld2sql.R
old mode 100644
new mode 100755
diff --git a/R/point_pre_processing/vobs2sql.R b/R/point_pre_processing/vobs2sql.R
old mode 100644
new mode 100755
diff --git a/R/point_verif/create_scorecards.R b/R/point_verif/create_scorecards.R
old mode 100644
new mode 100755
diff --git a/R/point_verif/fn_scorecard.R b/R/point_verif/fn_scorecard.R
old mode 100644
new mode 100755
diff --git a/R/point_verif/point_verif.R b/R/point_verif/point_verif.R
old mode 100644
new mode 100755
diff --git a/R/point_verif/point_verif_local.R b/R/point_verif/point_verif_local.R
old mode 100644
new mode 100755
diff --git a/R/visualization/fn_plot_aux_scores.R b/R/visualization/fn_plot_aux_scores.R
old mode 100644
new mode 100755
diff --git a/R/visualization/fn_plot_helpers.R b/R/visualization/fn_plot_helpers.R
old mode 100644
new mode 100755
diff --git a/R/visualization/fn_plot_point_verif.R b/R/visualization/fn_plot_point_verif.R
old mode 100644
new mode 100755
diff --git a/R/visualization/plot_from_rds.R b/R/visualization/plot_from_rds.R
old mode 100644
new mode 100755
diff --git a/R/visualization/shiny_launch_dynamic.R b/R/visualization/shiny_launch_dynamic.R
old mode 100644
new mode 100755
diff --git a/R/visualization/shiny_launch_static.R b/R/visualization/shiny_launch_static.R
old mode 100644
new mode 100755
diff --git a/R/visualization/update_shinyappsio.R b/R/visualization/update_shinyappsio.R
old mode 100644
new mode 100755
index 0fe436c..1a7ed3c
--- a/R/visualization/update_shinyappsio.R
+++ b/R/visualization/update_shinyappsio.R
@@ -5,10 +5,10 @@ library(here)
library(rsconnect)
#deployApp(appDir='/perm/sp3c/deode_verif/plot_point_verif_local1/', appName="plot_point_verif_local1",appTitle="DE_330 point verification static 1")
-#deployApp(appDir='/perm/sp3c/deode_verif/plot_point_verif/', appName="plot_point_verif",appTitle="DE_330 point verification dynamic")
-#deployApp(appDir='/perm/sp3c/deode_verif/plot_point_verif_local3/', appName="plot_point_verif_local3",appTitle="DE_330 point verification static 3")
-deployApp(appDir='/perm/sp3c/deode_verif/plot_point_verif_local2/', appName="plot_point_verif_local2",appTitle="DE_330 point verification static 2")
-deployApp(appDir='/perm/sp3c/deode_verif/plot_point_verif_local4/', appName="plot_point_verif_local4",appTitle="DE_330 point verification static 4")
+deployApp(appDir='/perm/sp3c/deode_verif/plot_point_verif/', appName="plot_point_verif",appTitle="DE_330 point verification dynamic")
+deployApp(appDir='/perm/sp3c/deode_verif/plot_point_verif_local3/', appName="plot_point_verif_local3",appTitle="DE_330 point verification static 3")
+#deployApp(appDir='/perm/sp3c/deode_verif/plot_point_verif_local2/', appName="plot_point_verif_local2",appTitle="DE_330 point verification static 2")
+#deployApp(appDir='/perm/sp3c/deode_verif/plot_point_verif_local4/', appName="plot_point_verif_local4",appTitle="DE_330 point verification static 4")
diff --git a/config/config_atos.R_austria_2022 b/config/config_atos.R_austria_2022
new file mode 100644
index 0000000..125f2ea
--- /dev/null
+++ b/config/config_atos.R_austria_2022
@@ -0,0 +1,124 @@
+# Setting up the parameters and their scaling and thresholds here
+# Adding this part not so easy using the yml file
+# It is possible to create several nested sections like
+# variable:
+# - name
+# - threshold
+# etc
+# but this make look a bit confusing. Hardcoding this part here
+
+
+# List of parameters
+# Add more parameters below using the same format. For upper air parameters,
+# don't forget the vc = "pressure"
+
+library(yaml)
+
+conf_get_config <- function(){
+ CONFIG <- yaml.load_file(Sys.getenv('CONFIG_YAML') )
+ CONFIG$params_details = conf_get_params_details()
+ CONFIG
+}
+
+
+conf_get_params_details <- function(){
+ T2m_thr <- c(-20, -10, seq(-5, 30, 5))
+ Tmax_thr <- c(seq(0, 40, 5))
+ Tmin_thr <- c(seq(-15, 25, 5))
+ S10m_thr <- c(seq(0, 25, 5))
+ RH2m_thr <- c(seq(0, 100, 20))
+ Cbase_thr <- c(seq(0, 2000, 200))
+ Pcp_thr <- c(0,1,5,10,15,20,30,40,60,80, seq(100, 100, 500))
+ vis_thr <- c(seq(0, 2000, 200))
+ Pmsl_thr <- c(seq(920, 1040, 20))
+ Q_thr <- c(seq(0, 0.15, 0.015))
+ SD_thr <- c(0,1,3,6,10, seq(20, 80, 20))
+ params <- list(
+ T2m = list(
+ thresholds = T2m_thr,
+ scale_fcst = list(scale_factor = -273.15, new_units = "degC"),
+ scale_obs = list(scale_factor = -273.15, new_units = "degC")
+ ),
+ Td2m = list(
+ thresholds = T2m_thr,
+ scale_fcst = list(scale_factor = 0, new_units = "degC"),
+ scale_obs = list(scale_factor = -273.15, new_units = "degC")
+ ),
+ Tmax = list(
+ thresholds = Tmax_thr,
+ scale_fcst = list(scale_factor = 0, new_units = "degC"),
+ scale_obs = list(scale_factor = -273.15, new_units = "degC")
+ ),
+ Tmin = list(
+ thresholds = Tmin_thr,
+ scale_fcst = list(scale_factor = 0, new_units = "degC"),
+ scale_obs = list(scale_factor = -273.15, new_units = "degC")
+ ),
+ S10m = list(
+ thresholds = S10m_thr
+ ),
+ Gmax = list(
+ thresholds = S10m_thr
+ ),
+ RH2m = list (
+ scale_fcst = list(scale_factor = 100, new_units = "percent"),
+ thresholds = RH2m_thr
+ ),
+ Q2m = list (
+ scale_fcst = list(scale_factor = 0, new_units = "kg/kg"),
+ thresholds = Q_thr
+ ),
+ CClow = list (
+ scale_fcst = list(scale_factor = 8, new_units = "oktas"),
+ thresholds = RH2m_thr
+ ),
+ CCtot = list (
+ scale_fcst = list(scale_factor = 8, new_units = "oktas"),
+ thresholds = RH2m_thr
+ ),
+ Cbase = list (
+ scale_fcst = list(scale_factor = 8, new_units = "oktas"),
+ thresholds = Cbase_thr
+ ),
+ Ps = list (
+ thresholds = Pmsl_thr
+ ),
+ Pmsl = list (
+ thresholds = Pmsl_thr
+ ),
+ vis = list (
+ thresholds = vis_thr
+ ),
+ DSN = list (
+ thresholds = SD_thr
+ ),
+ T = list(
+ scale_fcst = list(scale_factor = -273.15, new_units = "degC"),
+ scale_obs = list(scale_factor = -273.15, new_units = "degC"),
+ vc = "pressure"
+ ),
+ Pcp = list (
+ thresholds = Pcp_thr
+ ),
+ AccPcp1h = list (
+ thresholds = Pcp_thr
+ ),
+ AccPcp3h = list (
+ thresholds = Pcp_thr
+ ),
+ AccPcp6h = list (
+ thresholds = Pcp_thr
+ ),
+ AccPcp12h = list (
+ thresholds = Pcp_thr
+ ),
+ AccPcp24h = list (
+ thresholds = Pcp_thr
+ )
+ )
+
+ params
+
+}
+
+
diff --git a/config/config_atos.sh b/config/config_atos.sh
index 2c4ecc0..1b307ba 100644
--- a/config/config_atos.sh
+++ b/config/config_atos.sh
@@ -1,6 +1,5 @@
#/bin/bash
-
## load modules
module load R/4.0.4
@@ -9,16 +8,6 @@ CONFIG_INITIAL=config_atos
#R Env
USING_RENV=${USING_RENV-no}
-
-# What to run
-RUN_POINT_VERF=${RUN_VERF-yes}
-RUN_POINT_VERF_LOCAL=${RUN_POINT_VERF_LOCAL-yes}
-
-SCORECARDS=${SCORECARDS-yes}
-RUN_VOBS2SQL=${RUN_VOBS2SQL-yes}
-RUN_VFLD2SQL=${RUN_VFLD2SQL-yes}
-
-
## DNOT for USER
MAIN_DIR=$(pwd)
CONFIG_DIR=$MAIN_DIR/config
@@ -27,11 +16,6 @@ CONFIG_YAML=$CONFIG_DIR/$CONFIG_INITIAL.yml_${CASE_STUDY}
CONFIG_R=$CONFIG_DIR/$CONFIG_INITIAL.R
##
-#export INI_DATE END_DATE
export MAIN_DIR CONFIG_INITIAL
export USING_RENV
-export RUN_POINT_VERF RUN_VOBS2SQL RUN_VFLD2SQL
-export SCORECARDS
-
-
export CONFIG_DIR RS_DIR CONFIG_YAML CONFIG_R
diff --git a/config/config_atos.yml_Aude_2018 b/config/config_atos.yml_Aude_2018
new file mode 100644
index 0000000..0d707a7
--- /dev/null
+++ b/config/config_atos.yml_Aude_2018
@@ -0,0 +1,92 @@
+#Section to define paths for the pre-processing
+# This section will be used by the scripts under pre_processing
+shared:
+ start_date: 2018101400
+ end_date: 2018101500
+
+pre:
+ fclen: 24
+ vfld_path: "/ec/res4/scratch/sp3c/deode_verif/cases/Aude_2018/vflds/"
+ vobs_path: "/ec/res4/scratch/sp3c/deode_verif/cases/Aude_2018/vobs/"
+ by_vobs_step: "1h"
+ vfld_template: #include one for each model if they are different.
+ - "vfld"
+ do_all: TRUE # if true, it will ignore list of parameters and do all that is available in the vfld files
+ model_output_path: "/ec/res4/scratch/sp3c/deode_verif/grbs/Aude_2018/"
+ fcst_templates: # Write template names of grib/fa files if forecast data needs to be interpolated to stations
+ - "{fcst_model}/{YYYY}/{MM}/{DD}/{HH}/historic.arome.aude_500-500m000+0{LDT3}_00.grib"
+# clim_file: "/ec/res4/scratch/sp3c/deode_verif/grbs/austria_2022/ref_cy43/ICMSHAROM+0000"
+# clim_param: "SPECSURFGEOPOTEN"
+ interp_method: "nearest"
+ params:
+ - Pcp
+ - AccPcp1h
+ - AccPcp3h
+ - AccPcp6h
+ - AccPcp12h
+ - AccPcp24h
+ - S10m
+ - T2m
+ - RH2m
+ - Pmsl
+ - T
+ - Cbase
+ - CChigh
+ - CClow
+ - CCmed
+ - CCtot
+ - D10m
+ - G10m
+ - Gmax
+ - Ps
+ - Smax
+ - Td2m
+ - Tmax
+ - Tmin
+ - vis
+ - DSN
+ - SD
+ - Q2m
+
+#Section to define paths for the verification
+# This section will be used by the scripts under verification
+verif:
+ by_step: "6h"
+ fcst_model:
+ - ref500m
+ lead_time: seq(0,4,1)
+ fcst_type: "det" #det or eps
+ grps: "leadtime"
+ fcst_path: "/perm/sp3c/deode_verif/cases/Aude_2018/FCTABLE"
+ obs_path: "/perm/sp3c/deode_verif/cases/Aude_2018/OBSTABLE"
+ verif_path: "/perm/sp3c/deode_verif/cases/Aude_2018/output/verif_results"
+#Section to define the paths for the output
+# This section will be used by the plotting scripts
+post:
+ plot_output: "/perm/sp3c/deode_verif/cases/Aude_2018/output"
+ rds_path: "/perm/sp3c/deode_verif/cases/Aude_2018/verif_rds"
+#This section if only for the scorecards
+scorecards:
+ ref_model: ref500m
+ fcst_model: ref500m
+ params:
+ - T2m
+ - S10m
+ - RH2m
+ - Pmsl
+ - AccPcp12h
+ - AccPcp6h
+ - AccPcp3h
+ - AccPcp1h
+ - Pcp
+ - Cbase
+ - CClow
+ - CCtot
+ - D10m
+ - Gmax
+ - AccPcp1h
+ - Ps
+ - Td2m
+ - Tmax
+ - Tmin
+ - vis
diff --git a/config/config_atos.yml_CY46_tests_winter b/config/config_atos.yml_CY46_tests_winter
new file mode 100644
index 0000000..b36dacf
--- /dev/null
+++ b/config/config_atos.yml_CY46_tests_winter
@@ -0,0 +1,88 @@
+#Section to define paths for the pre-processing
+# This section will be used by the scripts under pre_processing
+shared:
+ start_date: 2022011500
+ end_date: 2022012500
+
+pre:
+ fclen: 24
+ vfld_path: "/ec/res4/scratch/sp3c/deode_verif/cases/CY46_tests/vfld/"
+ vobs_path: "/ec/res4/scratch/sp3c/deode_verif/cases/CY46_tests/vobs/"
+ by_vobs_step: "1h"
+ vfld_template: #include one for each model if they are different.
+ - "vfld"
+ do_all: TRUE # if true, it will ignore list of parameters and do all that is available in the vfld files
+ params:
+ - Pcp
+ - AccPcp1h
+ - AccPcp3h
+ - AccPcp6h
+ - AccPcp12h
+ - AccPcp24h
+ - S10m
+ - T2m
+ - RH2m
+ - Pmsl
+ - T
+ - Cbase
+ - CChigh
+ - CClow
+ - CCmed
+ - CCtot
+ - D10m
+ - G10m
+ - Gmax
+ - Ps
+ - Smax
+ - Td2m
+ - Tmax
+ - Tmin
+ - vis
+ - DSN
+ - SD
+ - Q2m
+#Section to define paths for the verification
+# This section will be used by the scripts under verification
+verif:
+ by_step: "6h"
+ fcst_model:
+ - cy46h1_AIB_os
+ - cy46h1_AIB_ns
+ - cy46h_AEMETmbr000
+ - cy46h_AEMETmbr002
+ lead_time: seq(0, 24, 1)
+ fcst_type: "det" #det or eps
+ grps: "leadtime"
+ fcst_path: "/perm/sp3c/deode_verif/cases/CY46_tests/FCTABLE"
+ obs_path: "/perm/sp3c/deode_verif/cases/CY46_tests/OBSTABLE"
+ verif_path: "/perm/sp3c/deode_verif/cases/CY46_tests//output/verif_results"
+#Section to define the paths for the output
+# This section will be used by the plotting scripts
+post:
+ plot_output: "/perm/sp3c/deode_verif/cases/CY46_tests/output"
+ rds_path: "/perm/sp3c/deode_verif/cases/CY46_tests/verif_rds"
+#This section if only for the scorecards
+scorecards:
+ ref_model: cy46h1_AIB_os
+ fcst_model: cy46h_AIB_ns
+ params:
+ - T2m
+ - S10m
+ - RH2m
+ - Pmsl
+ - AccPcp12h
+ - AccPcp6h
+ - AccPcp3h
+ - AccPcp1h
+ - Pcp
+ - Cbase
+ - CClow
+ - CCtot
+ - D10m
+ - Gmax
+ - AccPcp1h
+ - Ps
+ - Td2m
+ - Tmax
+ - Tmin
+ - vis
diff --git a/config/config_atos.yml_austria_2022_interp b/config/config_atos.yml_austria_2022_interp
deleted file mode 100644
index bd462ce..0000000
--- a/config/config_atos.yml_austria_2022_interp
+++ /dev/null
@@ -1,47 +0,0 @@
-#Section to define paths for the pre-processing
-# This section will be used by the scripts under pre_processing
-shared:
- start_date: 2022081800
- end_date: 2022081800
-
-pre:
- fclen: 24
- vfld_path: "/ec/res4/scratch/sp3c/deode_verif/cases/Ianos_2020/vfld/"
- vobs_path: "/ec/res4/scratch/sp3c/deode_verif/cases/Ianos_2020/vobs/"
- by_vobs_step: "1h"
- vfld_template: #include one for each model if they are different.
- - "vfld"
- do_all: TRUE # if true, it will ignore list of parameters and do all that is available in the vfld files
- model_output_path: "/ec/res4/scratch/sp3c/deode_verif/grbs/austria_2022/"
- fcst_templates: # Write template names of grib/fa files if forecast data needs to be interpolated to stations
- - "{fcst_model}/PFAROM+0{LDT3}.grib2"
- - "{fcst_model}/ICMSHAROM+0{LDT3}"
- - "{fcst_model}/ICMSHAROM+0{LDT3}.sfx"
- clim_file: "/ec/res4/scratch/sp3c/deode_verif/grbs/austria_2022/ref_cy43/ICMSHAROM+0000"
- clim_param: "SPECSURFGEOPOTEN"
- interp_method: "nearest"
- params:
- - T2m
-#Section to define paths for the verification
-# This section will be used by the scripts under verification
-verif:
- by_step: "12h"
- fcst_model:
- - ref_cy43
- lead_time: seq(0,4,1)
- fcst_type: "det" #det or eps
- grps: "leadtime"
- fcst_path: "/perm/sp3c/deode_verif/cases/austria_2022_interp/FCTABLE"
- obs_path: "/perm/sp3c/deode_verif/cases/austria_2022_interp/OBSTABLE"
- verif_path: "/perm/sp3c/deode_verif/cases/austria_2022_interp/output/verif_results"
-#Section to define the paths for the output
-# This section will be used by the plotting scripts
-post:
- plot_output: "/perm/sp3c/deode_verif/cases/Ianos_2020_interp/output"
- rds_path: "/perm/sp3c/deode_verif/cases/Ianos_2020_interp/verif_rds"
-#This section if only for the scorecards
-scorecards:
- ref_model: ref_cy43
- fcst_model: ref_cy43
- params:
- - Pcp
diff --git a/config/config_atos.yml_slovakia_2021 b/config/config_atos.yml_slovakia_2021
new file mode 100644
index 0000000..206c1fc
--- /dev/null
+++ b/config/config_atos.yml_slovakia_2021
@@ -0,0 +1,86 @@
+#Section to define paths for the pre-processing
+# This section will be used by the scripts under pre_processing
+shared:
+ start_date: 2021051300
+ end_date: 2021052000
+
+pre:
+ fclen: 24 # The forecast lenghts of your vfld files
+ vfld_path: "/ec/res4/scratch/sp3c/deode_verif/cases/slovakia_2021/vflds/"
+ vobs_path: "/ec/res4/scratch/sp3c/deode_verif/cases/slovakia_2021/vobs/"
+ by_vobs_step: "1h" # If vobs frequency is less than 1 hour this can be specified here
+ vfld_template: #include one for each model if they are different.
+ - "vfld"
+ do_all: TRUE # if true, it will ignore list of parameters and do all that is available in the vfld files
+ params:
+ - Pcp
+ - AccPcp1h
+ - AccPcp3h
+ - AccPcp6h
+ - AccPcp12h
+ - AccPcp24h
+ - S10m
+ - T2m
+ - RH2m
+ - Pmsl
+ - T
+ - Cbase
+ - CChigh
+ - CClow
+ - CCmed
+ - CCtot
+ - D10m
+ - G10m
+ - Gmax
+ - Ps
+ - Smax
+ - Td2m
+ - Tmax
+ - Tmin
+ - vis
+ - DSN
+ - SD
+ - Q2m
+
+#Section to define paths for the verification
+# This section will be used by the scripts under verification
+verif:
+ by_step: "24h" # Frequency of your runs: 6,12,24...
+ fcst_model:
+ - ALA2
+ lead_time: seq(0, 24, 1) # Forecast times to produce your verification
+ fcst_type: "det" #det or eps
+ grps: "leadtime"
+ fcst_path: "/perm/sp3c/deode_verif/cases/slovakia_2021/FCTABLE"
+ obs_path: "/perm/sp3c/deode_verif/cases/slovakia_2021/OBSTABLE"
+ verif_path: "/perm/sp3c/deode_verif/cases/slovakia_2021/output/verif_results"
+#Section to define the paths for the output
+# This section will be used by the plotting scripts
+post:
+ plot_output: "/perm/sp3c/deode_verif/cases/slovakia_2021/output"
+ rds_path: "/perm/sp3c/deode_verif/cases/slovakia_2021/verif_rds"
+#This section if only for the scorecards
+scorecards:
+ ref_model: ALA2
+ fcst_model: ALA2
+ params:
+ - T2m
+ - S10m
+ - RH2m
+ - Pmsl
+ - AccPcp12h
+ - AccPcp6h
+ - AccPcp3h
+ - AccPcp1h
+ - Pcp
+ - Cbase
+ - CClow
+ - CCtot
+ - D10m
+ - Gmax
+ - AccPcp1h
+ - Ps
+ - Td2m
+ - Tmax
+ - Tmin
+ - vis
diff --git a/plot_point_verif/rsconnect/shinyapps.io/svianaj/plot_point_verif.dcf b/plot_point_verif/rsconnect/shinyapps.io/svianaj/plot_point_verif.dcf
index f62f937..326e451 100644
--- a/plot_point_verif/rsconnect/shinyapps.io/svianaj/plot_point_verif.dcf
+++ b/plot_point_verif/rsconnect/shinyapps.io/svianaj/plot_point_verif.dcf
@@ -5,7 +5,7 @@ account: svianaj
server: shinyapps.io
hostUrl: https://api.shinyapps.io/v1
appId: 8111445
-bundleId: 7118457
+bundleId: 7290783
url: https://svianaj.shinyapps.io/plot_point_verif/
-when: 1682086107.65783
-lastSyncTime: 1682086107.65784
+when: 1685608040.28333
+lastSyncTime: 1685608040.28335
diff --git a/plot_point_verif_local1/.Rhistory b/plot_point_verif_local1/.Rhistory
deleted file mode 100644
index f40bd26..0000000
--- a/plot_point_verif_local1/.Rhistory
+++ /dev/null
@@ -1,56 +0,0 @@
-library(shiny)
-library(here)
-runApp()
-library(here)
-here()
-here('/perm/sp3c/deode_verif/plot_point_verif/')
-here()
-library(shiny)
-library(here)
-runApp()
-here('/perm/sp3c/deode_verif/plot_point_verif/')
-runApp()
-library(shiny)
-library(here)
-here('/perm/sp3c/deode_verif/plot_point_verif/')
-runApp()
-here
-here()
-> here('/perm/sp3c/deode_verif/plot_point_verif/')
-> here('/perm/sp3c/deode_verif/plot_point_verif/')
-here('/perm/sp3c/deode_verif/plot_point_verif/')
-runApp()
-rlang::last_error()
-setwd('/perm/sp3c/deode_verif/plot_point_verif_local/')
-library(shiny)
-library(here)
-runApp()
-# Get path to cases directory
-basedir <- as.character(normalizePath(file.path(paste0(here(),'/cases/'))))
-# Get list of PNG files in cases directory (recursively)
-png_files <- list.files(path = file.path(basedir), pattern = "\\.png",recursive=TRUE)
-#Separate list elements into components with / and - separators
-choices_list <- lapply(png_files, function(x) {
-strsplit(x, "[-/]+")[[1]]
-})
-split_list <- lapply(choices_list, strsplit, split = "-")
-my_table <- do.call(rbind, split_list)
-my_table_df <- as.data.frame(my_table)
-View(my_table_df)
-setwd('/perm/sp3c/deode_verif/plot_point_verif_local2')
-library(here)
-library(shiny)
-runApp()
-setwd('/perm/sp3c/deode_verif/plot_point_verif_local2')
-library(here)
-library(shinyh)
-runApp()
-library(shiny)
-runApp()
-runApp()
-runApp()
-quit()
-setwd('/perm/sp3c/deode_verif/plot_point_verif_local')
-library(here)
-library(shiny)
-runApp()
diff --git a/plot_point_verif_local1/.here b/plot_point_verif_local1/.here
deleted file mode 100644
index e69de29..0000000
diff --git a/plot_point_verif_local1/global.R b/plot_point_verif_local1/global.R
deleted file mode 100644
index da252c5..0000000
--- a/plot_point_verif_local1/global.R
+++ /dev/null
@@ -1 +0,0 @@
-shinyOptions(app_start_dir = here::here("cases"))
diff --git a/plot_point_verif_local1/harp.css b/plot_point_verif_local1/harp.css
deleted file mode 100644
index 760951e..0000000
--- a/plot_point_verif_local1/harp.css
+++ /dev/null
@@ -1,56 +0,0 @@
-body {
- font-size: 12px;
- background-color: #D5D5D5;
-}
-
-.form-control {
- font-size: 12px;
-}
-
-.harp_page_header {
- display: table;
- background-color: #062F4F;
- height: 80px;
- width: 100%;
- margin: 0;
-}
-
-.harp_page_title {
- color: #D5D5D5;
- display: table-cell;
- vertical-align: middle;
- font-size: 2em;
- padding-left: 30px;
- font-family: 'Comfortaa', cursive;
-}
-
-.harp_logo {
- height: 70px;
- margin: 5px 30px 5px 5px;
- float: right;
-}
-
-.shiny-input-container {
- width: 100%;
-}
-
-#data_dir {
- margin-top: 21px;
-}
-
-#load_data {
- margin-top: 21px;
- float: right;
- color: #D5D5D5;
- background-color: green;
-}
-
-#options_bar {
- background-color: #AAA;
- padding-top: 15px;
- margin-bottom: 15px;
-}
-
-
-
-
diff --git a/plot_point_verif_local1/harp_midnight.css b/plot_point_verif_local1/harp_midnight.css
deleted file mode 100644
index c96da8c..0000000
--- a/plot_point_verif_local1/harp_midnight.css
+++ /dev/null
@@ -1,187 +0,0 @@
-body {
- font-size: 12px;
- font-family: 'Comfortaa', 'Arial', 'Sans-serif', cursive;
- background-color: #0A0A2C;
- color: #D5D5D5;
-}
-
-.dashboard-panel {
- height: 275px;
-/* background-color: #081D3E; */
- background-color: #0A0A2C;
- margin-right: 5px;
- margin-top: 5px;
- padding: 1% 2% 2% 1%;
- transition: all .2s ease-in-out;
-}
-
-dashboard-panel:hover {
- transform: scale(1.5, 1.5);
-}
-
-.form-control {
- font-size: 12px;
- /* background-color: #6D8292; */
- background-color: #0A0A2C;
- color: #D5D5D5;
-}
-
-.harp_page_header {
- display: table;
- background-color: #062F4F;
- height: 80px;
- width: 100%;
- margin: 0;
- border-collapse: collapse;
-}
-
-.harp_page_title {
- color: #D5D5D5;
- display: table-cell;
- vertical-align: middle;
- font-size: 2em;
- padding-left: 30px;
- font-weight: bold;
- width: 80%;
-}
-
-.harp_logo {
- height: 70px;
- margin: 5px 30px 5px 5px;
- float: right;
-}
-
-.selectize-dropdown {
- background-color: #0A0A2C;
- color: #D5D5D5;
-}
-
-.selectize-dropdown-content .active {
- background-color: #062F4F;
- color: #D5D5D5;
-}
-
-.selectize-dropdown-content .selected {
- background-color: #0A0A2C;
- color: #D5D5D5;
-}
-
-
-.selectize-input {
- color: #D5D5D5;
- background-color: #0A0A2C !important;
-}
-
-.selectize-input .full {
- background-color: #0A0A2C;
-}
-
-.selectize-control.multi .selectize-input > div {
- color: #D5D5D5;
- background-color: #062F4F;
-}
-
-.shiny-input-container {
- width: 100%;
-}
-
-.selectize-dropdown .optgroup-header {
- color: #0A0A2C;
- background-color: #D5D5D5;
-}
-
-.tab_buttons {
- display: table-cell;
- vertical-align: middle
-}
-
-.modal-content {
- background-color: #0A0A2C;
-}
-
-.btn-harp {
- background-color: #0A0A2C;
- border: 1px solid #CCCCCC;
-}
-
-.btn-harp:hover {
- background-color: #062F4F;
- color: #CCCCCC;
- font-weight: 700;
-}
-
-.nav-tabs {
- border-bottom: 1px solid #062F4F;
-}
-
-.nav-tabs>li>a {
- color: #D5D5D5;
-}
-
-.nav-tabs>li>a:hover {
- background-color: #062F4F;
- transform: scale(1.1);
-}
-
-.nav-tabs>li.active>a {
- background-color: #081D3E;
- color: #D5D5D5;
-}
-
-.nav-tabs>li.active>a:focus {
- background-color: #081D3E;
- color: #D5D5D5;
-}
-
-.nav-tabs>li.active>a:hover {
- background-color: #062F4F;
- color: #D5D5D5;
- transform: scale(1.1);
-}
-
-#dashboard:hover {
- background-color: #081D3E;
-}
-
-#interactive {
- background-color: #0A0A2C;
- color: #D5D5D5;
-}
-
-#interactive:hover {
- background-color: #F00;
-}
-
-
-#options_bar-data_dir {
- margin-top: 21px;
-}
-
-#options_bar-load_data {
- margin-top: 21px;
- color: #D5D5D5;
- background-color: green;
-}
-
-#options_bar {
- background-color: #081D3E;
- padding-top: 15px;
- margin-bottom: 15px;
-}
-
-#colour_choices-plot_options {
- margin-top: 21px;
- color: #D5D5D5;
- background-color: #062F4F;
-}
-
-#colour_choices-plot_button_div {
- text-align: center;
- margin-bottom: 10px;
-}
-
-#download_plot-save_plot_div {
- text-align: center;
-}
-
-
diff --git a/plot_point_verif_local1/rsconnect/shinyapps.io/svianaj/plot_point_verif_local.dcf b/plot_point_verif_local1/rsconnect/shinyapps.io/svianaj/plot_point_verif_local.dcf
deleted file mode 100644
index 38b37cf..0000000
--- a/plot_point_verif_local1/rsconnect/shinyapps.io/svianaj/plot_point_verif_local.dcf
+++ /dev/null
@@ -1,14 +0,0 @@
-name: plot_point_verif_local
-title: plot_point_verif_local
-username:
-account: svianaj
-server: shinyapps.io
-hostUrl: https://api.shinyapps.io/v1
-appId: 8488023
-bundleId: 6981455
-url: https://svianaj.shinyapps.io/plot_point_verif_local/
-when: 1679306834.80283
-lastSyncTime: 1679306834.80284
-asMultiple: FALSE
-asStatic: FALSE
-ignoredFiles: server.R_old|ui.R_old
diff --git a/plot_point_verif_local1/rsconnect/shinyapps.io/svianaj/plot_point_verif_local1.dcf b/plot_point_verif_local1/rsconnect/shinyapps.io/svianaj/plot_point_verif_local1.dcf
deleted file mode 100644
index b9eb6a1..0000000
--- a/plot_point_verif_local1/rsconnect/shinyapps.io/svianaj/plot_point_verif_local1.dcf
+++ /dev/null
@@ -1,11 +0,0 @@
-name: plot_point_verif_local1
-title: DE_330 point verification static 1
-username:
-account: svianaj
-server: shinyapps.io
-hostUrl: https://api.shinyapps.io/v1
-appId: 8694945
-bundleId: 7118415
-url: https://svianaj.shinyapps.io/plot_point_verif_local1/
-when: 1682085573.55049
-lastSyncTime: 1682085573.5505
diff --git a/plot_point_verif_local1/server.R b/plot_point_verif_local1/server.R
deleted file mode 100644
index d349cd8..0000000
--- a/plot_point_verif_local1/server.R
+++ /dev/null
@@ -1,232 +0,0 @@
-# server for shiny_plot_point_verif atos
-library(shiny)
-library(tidyverse)
-library(png)
-library(magrittr)
-library(here)
-
-server <- function(input, output, session) {
-
- # Get path to cases directory
- basedir <- as.character(normalizePath(file.path(paste0(here(),'/cases/'))))
- # Get list of PNG files in cases directory (recursively)
- png_files <- list.files(path = file.path(basedir), pattern = "\\.png",recursive=TRUE)
- #Separate list elements into components with / and - separators
- choices_list <- lapply(png_files, function(x) {
- strsplit(x, "[-/]+")[[1]]
- })
-
- split_list <- lapply(choices_list, strsplit, split = "-")
- my_table <- do.call(rbind, split_list)
- my_table_df <- as.data.frame(my_table)
- colnames(my_table_df) = c("EXP","A","B","C","D","E","F","G","H","I","J")
- my_table_df$F <- paste(my_table_df$F, my_table_df$G, sep = "-")
- my_table_df = subset(my_table_df, select = -c(J,G) )
- colnames(my_table_df) =c("EXP","Variable","Run_type","Metric","submetric","runs","period","Area","fc_length")
-
- j<-unlist(my_table_df)
- my_table_df<-matrix(j,nrow=nrow(my_table_df),ncol=length(j)/nrow(my_table_df))
- my_table_df <- as.data.frame(my_table_df)
- colnames(my_table_df) =c("var_one","var_six","var_four","var_seven","var_eight","var_five","var_two","var_three","var_nine")
- tib <- as_tibble(my_table_df)
- tib %<>% mutate(across(where(is.character),as_factor))
-
- tab <- reactive({
- tib %>%
- filter(var_one == input$var1) %>%
- filter(var_two == input$var2) %>%
- filter(var_three == input$var3) %>%
- filter(var_four == input$var4) %>%
- filter(var_five == input$var5) %>%
- filter(var_six == input$var6) %>%
- filter(var_seven == input$var7) %>%
- filter(var_seven == input$var8) %>%
- filter(var_eigth == input$var9)
- })
-
- updateSelectizeInput(
- session = session,
- inputId = "var1",
- choices = sort(unique(as.character(tib$var_one))),
- selected = head(sort(unique(as.character(tib$var_one))),1),
- options = list(placeholder = 'select'),
- server = TRUE
- )
-
- observeEvent(input$var1,{
- choice_var2 <- sort(unique(as.character(tib$var_two[which(tib$var_one==input$var1)])))
- updateSelectizeInput(
- session = session,
- inputId = "var2",
- choices = choice_var2,
- selected=head(sort(unique(as.character(tib$var_two[which(tib$var_one==input$var1)]))),1)
- )
- })
-
- observeEvent(input$var2,{
- choice_var3 <- sort(unique(as.character(tib$var_three[which(tib$var_one==input$var1 &
- tib$var_two==input$var2)])))
-
- updateSelectizeInput(
- session = session,
- inputId = "var3",
- choices = choice_var3,
- selected=head(sort(unique(as.character(tib$var_three[which(tib$var_one==input$var1 &
- tib$var_two==input$var2)]))),1)
- )
- })
-
- observeEvent(input$var3,{
- choice_var4 <- sort(unique(as.character(tib$var_four[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3)])))
- updateSelectizeInput(
- session = session,
- inputId = "var4",
- choices = choice_var4,
- selected=head(sort(unique(as.character(tib$var_four[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3)]))),1)
- )
- })
-
- observeEvent(input$var4,{
- choice_var5 <- sort(unique(as.character(tib$var_five[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3 &
- tib$var_four==input$var4)])))
-
- updateSelectizeInput(
- session = session,
- inputId = "var5",
- choices = choice_var5,
- selected=head(sort(unique(as.character(tib$var_five[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3 &
- tib$var_four==input$var4)]))),1)
- )
- })
-
- observeEvent(input$var5,{
- choice_var6 <- sort(unique(as.character(tib$var_six[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3 &
- tib$var_four==input$var4 &
- tib$var_five==input$var5)])))
-
- updateSelectizeInput(
- session = session,
- inputId = "var6",
- choices = choice_var6,
- selected=head(sort(unique(as.character(tib$var_six[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3 &
- tib$var_four==input$var4 &
- tib$var_five==input$var5)]))),1)
- )
- })
-
- observeEvent(input$var6,{
- choice_var7 <- sort(unique(as.character(tib$var_seven[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3 &
- tib$var_four==input$var4 &
- tib$var_five==input$var5 &
- tib$var_six==input$var6)])))
-
- updateSelectizeInput(
- session = session,
- inputId = "var7",
- choices = choice_var7,
- selected=head(sort(unique(as.character(tib$var_seven[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3 &
- tib$var_four==input$var4 &
- tib$var_five==input$var5 &
- tib$var_six==input$var6)]))),1)
- )
- })
-
- observeEvent(input$var7,{
- choice_var8 <- sort(unique(as.character(tib$var_eight[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3 &
- tib$var_four==input$var4 &
- tib$var_five==input$var5 &
- tib$var_six==input$var6 &
- tib$var_seven==input$var7)])))
-
- updateSelectizeInput(
- session = session,
- inputId = "var8",
- choices = choice_var8,
- selected=tail(sort(unique(as.character(tib$var_eight[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3 &
- tib$var_four==input$var4 &
- tib$var_six==input$var6 &
- tib$var_seven==input$var7)]))),1)
- )
- })
-
- observeEvent(input$var8,{
- choice_var9 <- sort(unique(as.character(tib$var_nine[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3 &
- tib$var_four==input$var4 &
- tib$var_five==input$var5 &
- tib$var_six==input$var6 &
- tib$var_seven==input$var7 &
- tib$var_eight==input$var8 )])))
-
- updateSelectizeInput(
- session = session,
- inputId = "var9",
- choices = choice_var9,
- selected=tail(sort(unique(as.character(tib$var_nine[which(tib$var_one==input$var1 &
- tib$var_two==input$var2 &
- tib$var_three==input$var3 &
- tib$var_four==input$var4 &
- tib$var_six==input$var6 &
- tib$var_seven==input$var7 &
- tib$var_eight==input$var8)]))),1)
- )
- })
-
- colnames(my_table_df) =c("var_one","var_six","var_four","var_seven","var_eight","var_five","var_two","var_three","var_nine")
- colnames(my_table_df) =c("EXP", "Variable","Run_type","Metric"," submetric","runs", "period", "Area fc_length")
-
- # Generate filename based on selected values
- filename <- reactive({
- paste(input$var6,input$var4,input$var7,input$var8,input$var5,input$var2,input$var3,
- input$var9,sep="-")
- })
- # Get the path to the PNG file
- png_path <- reactive({
- as.character(normalizePath(file.path(paste0(file.path(basedir),'/',input$var1,'/', filename(),'-NA.png'))))
- })
-
-
- # Read PNG file
- png_file <- reactive({
- readPNG(png_path())
- })
-
- # Display PNG file
- observe({
- output$png_image <- renderImage({
- list(src = as.character(png_path()),
- width = "1000",
- contentType = "image/png",
- alt = png_path)
- }, deleteFile = FALSE)
- })
-
- observeEvent(png_path(),{
- output$subdirText <- renderPrint({
- # Print selected subdirectory
- paste("Selected File:", png_path())
- })
- })
-
-}
diff --git a/plot_point_verif_local1/server.R_old b/plot_point_verif_local1/server.R_old
deleted file mode 100644
index 93dede7..0000000
--- a/plot_point_verif_local1/server.R_old
+++ /dev/null
@@ -1,212 +0,0 @@
-# server for shiny_plot_point_verif
-library(shiny)
-library(tidyverse)
-library(png)
-library(magrittr)
-library(here)
-
-
-server <- function(input, output, session) {
-
- # Get current directory
- currentDir <- as.character(normalizePath(file.path(paste0(here(),'/cases/'))))
- # Update choices in the selectInput when currentDir is changed
- observe({
- subdirList <- list.dirs(currentDir, recursive = FALSE)
- subdirList <- subdirList[!duplicated(subdirList)] # remove duplicates
- subdirList <- gsub(currentDir, "", subdirList) # remove currentDir from path
- subdirList <- substr(subdirList, 2, nchar(subdirList)) # remove leading slash
- if (length(subdirList) == 0) subdirList <- NULL
- updateSelectInput(session, "subdir", choices = subdirList, selected = head(subdirList,1),
- )
- })
-
-
-
- parcour=paste(here(),'/2022050200-2022050300/',sep='/')
-
- # Get list of PNG files in directory
- subdire <- reactive(as.character(input$subdir))
- observe(
- parcour=as.character(paste(here(),as.character(subdire()),'/2022050200-2022050300/',sep='/'))
- #parcour=as.character(paste(here(),'/2022050200-2022050300/',sep='/'))
- )
-
-
- png_files <- list.files(path = parcour, pattern = ".png", full.names = FALSE)
-
- choices_list <- lapply(png_files, function(x) {
- strsplit(x, "-")[[1]]
- })
-
- output$subdirText <- renderPrint({
- # Print selected subdirectory
- paste("Selected case study dir:", subdire())
- })
-
- split_list <- lapply(choices_list, strsplit, split = "-")
- my_table <- do.call(rbind, split_list)
- my_table_df <- as.data.frame(my_table)
- colnames(my_table_df) = c("A","B","C","D","E","F","G","H","I","J")
- my_table_df$F <- paste(my_table_df$F, my_table_df$G, my_table_df$H, sep = "-")
- my_table_df = subset(my_table_df, select = -c(G,H,J) )
- colnames(my_table_df) =c("Variable","Run_type","Metric","submetric","runs","period","fc_length")
-
- j<-unlist(my_table_df)
- my_table_df<-matrix(j,nrow=nrow(my_table_df),ncol=length(j)/nrow(my_table_df))
- my_table_df <- as.data.frame(my_table_df)
- colnames(my_table_df) =c("var_four","var_two","var_five","var_six","var_three","var_one","var_seven")
- tib <- as_tibble(my_table_df)
- tib %<>% mutate(across(where(is.character),as_factor))
-
-
-tab <- reactive({
-
-tib %>%
-filter(var_one == input$var1) %>%
-filter(var_two == input$var2) %>%
-filter(var_three == input$var3) %>%
-filter(var_four == input$var4) %>%
-filter(var_five == input$var5) %>%
-filter(var_six == input$var6) %>%
-filter(var_seven == input$var7)
-
-})
-
-
-
-updateSelectizeInput(
-session = session,
-inputId = "var1",
-choices = sort(unique(as.character(tib$var_one))),
-selected = head(sort(unique(as.character(tib$var_one))),1),
-options = list(placeholder = 'select'),
-server = TRUE
-)
-
-observeEvent(input$var1,{
-choice_var2 <- sort(unique(as.character(tib$var_two[which(tib$var_one==input$var1)])))
-
-updateSelectizeInput(
-session = session,
-inputId = "var2",
-choices = choice_var2,
-selected=head(sort(unique(as.character(tib$var_two[which(tib$var_one==input$var1)]))),1)
-)
-})
-
-observeEvent(input$var2,{
-choice_var3 <- sort(unique(as.character(tib$var_three[which(tib$var_one==input$var1 &
-tib$var_two==input$var2)])))
-
-updateSelectizeInput(
-session = session,
-inputId = "var3",
-choices = choice_var3,
-selected=head(sort(unique(as.character(tib$var_three[which(tib$var_one==input$var1 &
-tib$var_two==input$var2)]))),1)
-)
-})
-
-observeEvent(input$var3,{
-choice_var4 <- sort(unique(as.character(tib$var_four[which(tib$var_one==input$var1 &
-tib$var_two==input$var2 &
-tib$var_three==input$var3)])))
-updateSelectizeInput(
-session = session,
-inputId = "var4",
-choices = choice_var4,
-selected=head(sort(unique(as.character(tib$var_four[which(tib$var_one==input$var1 &
-tib$var_two==input$var2 &
-tib$var_three==input$var3)]))),1)
-)
-})
-
-observeEvent(input$var4,{
-choice_var5 <- sort(unique(as.character(tib$var_five[which(tib$var_one==input$var1 &
-tib$var_two==input$var2 &
-tib$var_three==input$var3 &
-tib$var_four==input$var4)])))
-
-updateSelectizeInput(
-session = session,
-inputId = "var5",
-choices = choice_var5,
-selected=head(sort(unique(as.character(tib$var_five[which(tib$var_one==input$var1 &
-tib$var_two==input$var2 &
-tib$var_three==input$var3 &
-tib$var_four==input$var4)]))),1)
-)
-})
-
-observeEvent(input$var5,{
-choice_var6 <- sort(unique(as.character(tib$var_six[which(tib$var_one==input$var1 &
-tib$var_two==input$var2 &
-tib$var_three==input$var3 &
-tib$var_four==input$var4 &
-tib$var_five==input$var5)])))
-
-updateSelectizeInput(
-session = session,
-inputId = "var6",
-choices = choice_var6,
-selected=head(sort(unique(as.character(tib$var_six[which(tib$var_one==input$var1 &
-tib$var_two==input$var2 &
-tib$var_three==input$var3 &
-tib$var_four==input$var4 &
-tib$var_five==input$var5)]))),1)
-)
-})
-
-observeEvent(input$var6,{
-choice_var7 <- sort(unique(as.character(tib$var_seven[which(tib$var_one==input$var1 &
-tib$var_two==input$var2 &
-tib$var_three==input$var3 &
-tib$var_four==input$var4 &
-tib$var_five==input$var5 &
-tib$var_six==input$var6)])))
-
-updateSelectizeInput(
-session = session,
-inputId = "var7",
-choices = choice_var7,
-selected=tail(sort(unique(as.character(tib$var_seven[which(tib$var_one==input$var1 &
-tib$var_two==input$var2 &
-tib$var_three==input$var3 &
-tib$var_four==input$var4 &
-tib$var_five==input$var5 &
-tib$var_six==input$var6)]))),1)
-)
-})
-
-
- output$table <- renderTable({
- tab()
- })
-
- # Generate filename based on selected values
- filename <- reactive({
- paste(input$var4,input$var2,input$var5,input$var6,input$var3,input$var1,input$var7,sep="-")
- })
- # Get the path to the PNG file
- png_path <- reactive({
- as.character(normalizePath(file.path(paste0(parcour,'/', filename(),'-NA.png'))))
- })
-
-
- # Read PNG file
- png_file <- reactive({
- readPNG(png_path())
- })
-
-# Display PNG file
- observe({
- output$png_image <- renderImage({
- list(src = as.character(png_path()),
- contentType = "image/png",
- alt = png_path)
- }, deleteFile = FALSE)
-})
-
-}
-
diff --git a/plot_point_verif_local1/ui.R b/plot_point_verif_local1/ui.R
deleted file mode 100644
index 3ad2e72..0000000
--- a/plot_point_verif_local1/ui.R
+++ /dev/null
@@ -1,110 +0,0 @@
-# UI for shiny_plot_point_verif_local(monitor-like web page)
-
-# Commands for easy deploying:
-# setwd('/perm/sp3c/deode_verif/plot_point_verif_local')
-# library(here)
-# library(shiny)
-
-font_link <- shiny::tags$link("")
-is_online <- shiny::getShinyOption("online")
-if (is.null(is_online)) {
- is_online <- TRUE
-}
-hostname <- Sys.getenv("HOSTNAME")
-if (is_online & (!is.null(hostname) && !grepl("^ecgb", hostname))) {
- font_link <- shiny::tags$link(
- href="https://fonts.googleapis.com/css?family=Comfortaa:400,700", rel="stylesheet"
- )
-}
-
-ui <- pageWithSidebar(
- headerPanel(
- title = a("Monitor-like HARP's visualization tool (click for more case studies)", href="https://svianaj.shinyapps.io/plot_point_verif_local2")
-),
-
-
- sidebarPanel(
-
- selectizeInput(inputId = "var1",
- label = "Case study:",
- choices = NULL,
- options = list(
- placeholder = 'select',
- onInitialize = I('function() { this.setValue(""); }')
- )),
-
- selectizeInput(inputId = "var2",
- label = "Period:",
- choices = NULL,
- options = list(
- placeholder = 'select',
- onInitialize = I('function() { this.setValue(""); }')
- )),
-
- selectizeInput(inputId = "var3",
- label = "Area:",
- choices = NULL,
- options = list(
- placeholder = 'select',
- onInitialize = I('function() { this.setValue(""); }')
- )),
-
- selectizeInput(inputId = "var4",
- label = "Run type:",
- choices = NULL,
- options = list(
- placeholder = 'select',
- onInitialize = I('function() { this.setValue(""); }')
- )),
-
-
- selectizeInput(inputId = "var5",
- label = "Runs:",
- choices = NULL,
- options = list(placeholder = 'select')
- ),
-
-
- selectizeInput(inputId = "var6",
- label = "Variable:",
- choices = NULL,
- options = list(
- placeholder = 'select',
- onInitialize = I('function() { this.setValue(""); }')
- )),
-
- selectizeInput(inputId = "var7",
- label = "Metric:",
- choices = NULL,
- options = list(
- placeholder = 'select',
- onInitialize = I('function() { this.setValue(""); }')
- )),
-
- selectizeInput(inputId = "var8",
- label = "Submetric:",
- choices = NULL,
- options = list(
- placeholder = 'select',
- onInitialize = I('function() { this.setValue(""); }')
- )),
-
- selectizeInput(inputId = "var9",
- label = "Forecast Length:",
- choices = NULL,
- options = list(
- placeholder = 'select',
- onInitialize = I('function() { this.setValue(""); }')
- )),
-
-
- h4("Selected Figure:"),
- verbatimTextOutput("subdirText")
- ,width=2),
-
-
- mainPanel(
- imageOutput(outputId = "png_image",width=50,height=50),
- uiOutput("output")
- )
-)
diff --git a/plot_point_verif_local1/ui.R_old b/plot_point_verif_local1/ui.R_old
deleted file mode 100644
index 77b0480..0000000
--- a/plot_point_verif_local1/ui.R_old
+++ /dev/null
@@ -1,97 +0,0 @@
-# UI for shiny_plot_point_verif
-
-font_link <- shiny::tags$link("")
-is_online <- shiny::getShinyOption("online")
-if (is.null(is_online)) {
- is_online <- TRUE
-}
-hostname <- Sys.getenv("HOSTNAME")
-if (is_online & (!is.null(hostname) && !grepl("^ecgb", hostname))) {
- font_link <- shiny::tags$link(
- href="https://fonts.googleapis.com/css?family=Comfortaa:400,700", rel="stylesheet"
- )
-}
-
-ui <- pageWithSidebar(
-headerPanel("Monitor-like HARP's visualization tool"),
-
-sidebarPanel(
-
-selectizeInput(
-inputId="subdir",
-label="Case study:",
-choices = NULL,
-options = list(
-placeholder = 'select',
-onInitialize = I('function() { this.setValue(""); }')
-)),
-
-selectizeInput(inputId = "var1",
-label = "Period:",
-choices = NULL,
-options = list(
-placeholder = 'select',
-onInitialize = I('function() { this.setValue(""); }')
-)),
-
-
-selectizeInput(inputId = "var2",
-label = "Run type:",
-choices = NULL,
-options = list(
-placeholder = 'select',
-onInitialize = I('function() { this.setValue(""); }')
-)),
-
-
-selectizeInput(inputId = "var3",
-label = "Runs:",
-choices = NULL,
-options = list(placeholder = 'select')
-),
-
-
-selectizeInput(inputId = "var4",
-label = "Variable:",
-choices = NULL,
-options = list(
-placeholder = 'select',
-onInitialize = I('function() { this.setValue(""); }')
-)),
-
-selectizeInput(inputId = "var5",
-label = "Metric:",
-choices = NULL,
-options = list(
-placeholder = 'select',
-onInitialize = I('function() { this.setValue(""); }')
-)),
-
-selectizeInput(inputId = "var6",
-label = "Submetric:",
-choices = NULL,
-options = list(
-placeholder = 'select',
-onInitialize = I('function() { this.setValue(""); }')
-)),
-
-selectizeInput(inputId = "var7",
-label = "Forecast Length:",
-choices = NULL,
-options = list(
-placeholder = 'select',
-onInitialize = I('function() { this.setValue(""); }')
-)),
-
-
-h4("Selected subdirectory:"),
-verbatimTextOutput("subdirText")
-
-,width=2),
-
-mainPanel(
-imageOutput(outputId = "png_image"),
-uiOutput("output")
-)
-)
-
diff --git a/plot_point_verif_local1/www/harp_logo.svg b/plot_point_verif_local1/www/harp_logo.svg
deleted file mode 100644
index f218481..0000000
--- a/plot_point_verif_local1/www/harp_logo.svg
+++ /dev/null
@@ -1,275 +0,0 @@
-
-
-
-
diff --git a/plot_point_verif_local1/www/harp_logo_dark.svg b/plot_point_verif_local1/www/harp_logo_dark.svg
deleted file mode 100644
index 39b4fb5..0000000
--- a/plot_point_verif_local1/www/harp_logo_dark.svg
+++ /dev/null
@@ -1,316 +0,0 @@
-
-
-
-
diff --git a/plot_point_verif_local2/rsconnect/shinyapps.io/svianaj/plot_point_verif_local2.dcf b/plot_point_verif_local2/rsconnect/shinyapps.io/svianaj/plot_point_verif_local2.dcf
index 21b4647..e3f8145 100644
--- a/plot_point_verif_local2/rsconnect/shinyapps.io/svianaj/plot_point_verif_local2.dcf
+++ b/plot_point_verif_local2/rsconnect/shinyapps.io/svianaj/plot_point_verif_local2.dcf
@@ -5,7 +5,7 @@ account: svianaj
server: shinyapps.io
hostUrl: https://api.shinyapps.io/v1
appId: 8598490
-bundleId: 7127164
+bundleId: 7281710
url: https://svianaj.shinyapps.io/plot_point_verif_local2/
-when: 1682325401.75154
-lastSyncTime: 1682325401.75155
+when: 1685454791.82754
+lastSyncTime: 1685454791.82755
diff --git a/plot_point_verif_local2/ui.R b/plot_point_verif_local2/ui.R
index d7c2806..1cb1b87 100644
--- a/plot_point_verif_local2/ui.R
+++ b/plot_point_verif_local2/ui.R
@@ -19,7 +19,7 @@ if (is_online & (!is.null(hostname) && !grepl("^ecgb", hostname))) {
ui <- pageWithSidebar(
headerPanel(
- title = a("Monitor-like HARP's visualization tool (click for more case studies)", href="https://svianaj.shinyapps.io/plot_point_verif_local")
+ title = a("Monitor-like HARP's visualization tool (click for more case studies)", href="https://svianaj.shinyapps.io/plot_point_verif_local3")
),
diff --git a/plot_point_verif_local3/rsconnect/shinyapps.io/svianaj/plot_point_verif_local3.dcf b/plot_point_verif_local3/rsconnect/shinyapps.io/svianaj/plot_point_verif_local3.dcf
index 557dd87..8c5015a 100644
--- a/plot_point_verif_local3/rsconnect/shinyapps.io/svianaj/plot_point_verif_local3.dcf
+++ b/plot_point_verif_local3/rsconnect/shinyapps.io/svianaj/plot_point_verif_local3.dcf
@@ -5,7 +5,7 @@ account: svianaj
server: shinyapps.io
hostUrl: https://api.shinyapps.io/v1
appId: 8693502
-bundleId: 7118486
+bundleId: 7290803
url: https://svianaj.shinyapps.io/plot_point_verif_local3/
-when: 1682086539.92577
-lastSyncTime: 1682086539.92578
+when: 1685608390.0772
+lastSyncTime: 1685608390.07721
diff --git a/plot_point_verif_local3/ui.R b/plot_point_verif_local3/ui.R
index 3ad2e72..ecc3b87 100644
--- a/plot_point_verif_local3/ui.R
+++ b/plot_point_verif_local3/ui.R
@@ -19,7 +19,7 @@ if (is_online & (!is.null(hostname) && !grepl("^ecgb", hostname))) {
ui <- pageWithSidebar(
headerPanel(
- title = a("Monitor-like HARP's visualization tool (click for more case studies)", href="https://svianaj.shinyapps.io/plot_point_verif_local2")
+ title = a("Monitor-like HARP's visualization tool (click for more case studies)", href="https://svianaj.shinyapps.io/plot_point_verif_local3")
),
diff --git a/scr/master_atos.sh b/scr/master_atos.sh
old mode 100644
new mode 100755
index 20ec895..fe8567b
--- a/scr/master_atos.sh
+++ b/scr/master_atos.sh
@@ -1,8 +1,8 @@
#!/bin/bash
#This part is only for running in SLURP at ecmwf
-#SBATCH --output=gav.out
-#SBATCH --job-name=gav
+#SBATCH --output=aude.out
+#SBATCH --job-name=aude
#SBATCH --cpus-per-task=8
#SBATCH --mem-per-cpu=16000
#SBATCH --ntasks=1
@@ -11,22 +11,23 @@
#source /home/sp3c/.bashrc
set -x
+export VERIF_DIR=/perm/sp3c/deode_verif/ #The location of your copy of DE_330's HARP point verification repo
+export CASE_STUDY=austria_2022
-export CASE_STUDY=austria_2022_interp
-cd /perm/sp3c/deode_verif/
+cd $VERIF_DIR
source config/config_atos.sh
########
-export RUN_POINT_VERF=no
-export RUN_POINT_VERF_LOCAL=no
+export RUN_POINT_VERF=yes
+export RUN_POINT_VERF_LOCAL=yes
export RUN_VOBS2SQL=no
-export RUN_INTERPOL2SQL=yes
+export RUN_INTERPOL2SQL=no
export RUN_VFLD2SQL=no
export SCORECARDS=no
export SHOW_WEB_STATIC=no
export SHOW_WEB_DYNAMIC=no
-export UPDATE_SHINYAPPSIO=no
-export SHINYAPPS_NUMBER=1
+export UPDATE_SHINYAPPSIO=yes
+export SHINYAPPS_NUMBER=3
export SHINY_PORT=3541 # Change this number if port is busy when launching web
######
diff --git a/scr/master_example.sh b/scr/master_example.sh
old mode 100644
new mode 100755