source(utils) aangepast voor online versie
This commit is contained in:
parent
bd9b7d4ab0
commit
4dd84b10a5
|
|
@ -50,8 +50,8 @@ library(caret)
|
||||||
library(randomForest)
|
library(randomForest)
|
||||||
library(CAST)
|
library(CAST)
|
||||||
|
|
||||||
source(here("r_app/report_utils.R"))
|
# source(here("r_app/report_utils.R"))
|
||||||
# source("report_utils.R")
|
source("report_utils.R")
|
||||||
|
|
||||||
# Define the log file path
|
# Define the log file path
|
||||||
log_file <- here("laravel_app/storage/app/rmd_log.txt")
|
log_file <- here("laravel_app/storage/app/rmd_log.txt")
|
||||||
|
|
|
||||||
|
|
@ -53,23 +53,23 @@ weekly_CI_mosaic <- here(laravel_storage_dir, "weekly_mosaic")
|
||||||
daily_vrt <- here(data_dir, "vrt")
|
daily_vrt <- here(data_dir, "vrt")
|
||||||
harvest_dir <- here(data_dir, "HarvestData")
|
harvest_dir <- here(data_dir, "HarvestData")
|
||||||
|
|
||||||
source(here("r_app/parameters_project.R"))
|
# source(here("r_app/parameters_project.R"))
|
||||||
source(here("r_app/ci_extraction_utils.R"))
|
# source(here("r_app/ci_extraction_utils.R"))
|
||||||
# source(here("r_app/mosaic_creation_utils.R"))
|
# source(here("r_app/mosaic_creation_utils.R"))
|
||||||
|
|
||||||
source("parameters_project.R")
|
source("parameters_project.R")
|
||||||
source("ci_extraction_utils.R")
|
source("ci_extraction_utils.R")
|
||||||
# source("mosaic_creation_utils.R")
|
# source("mosaic_creation_utils.R")
|
||||||
|
|
||||||
# dir.create(here(laravel_storage_dir))
|
dir.create(here(laravel_storage_dir))
|
||||||
# dir.create(here(data_dir))
|
dir.create(here(data_dir))
|
||||||
# dir.create(here(extracted_CI_dir))
|
dir.create(here(extracted_CI_dir))
|
||||||
# dir.create(here(daily_CI_vals_dir))
|
dir.create(here(daily_CI_vals_dir))
|
||||||
# dir.create(here(cumulative_CI_vals_dir))
|
dir.create(here(cumulative_CI_vals_dir))
|
||||||
# dir.create(here(weekly_CI_mosaic))
|
dir.create(here(weekly_CI_mosaic))
|
||||||
# dir.create(here(daily_vrt))
|
dir.create(here(daily_vrt))
|
||||||
# dir.create(merged_final)
|
dir.create(merged_final)
|
||||||
# dir.create(harvest_dir)
|
dir.create(harvest_dir)
|
||||||
|
|
||||||
end_date <- lubridate::dmy("28-08-2024")
|
end_date <- lubridate::dmy("28-08-2024")
|
||||||
week <- week(end_date)
|
week <- week(end_date)
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,8 @@ weekly_CI_mosaic <- here(laravel_storage_dir, "weekly_mosaic")
|
||||||
daily_vrt <- here(data_dir, "vrt")
|
daily_vrt <- here(data_dir, "vrt")
|
||||||
harvest_dir <- here(data_dir, "HarvestData")
|
harvest_dir <- here(data_dir, "HarvestData")
|
||||||
|
|
||||||
source(here("r_app/parameters_project.R"))
|
# source(here("r_app/parameters_project.R"))
|
||||||
source(here("r_app/ci_extraction_utils.R"))
|
# source(here("r_app/ci_extraction_utils.R"))
|
||||||
# source(here("r_app/mosaic_creation_utils.R"))
|
# source(here("r_app/mosaic_creation_utils.R"))
|
||||||
|
|
||||||
source("parameters_project.R")
|
source("parameters_project.R")
|
||||||
|
|
|
||||||
|
|
@ -62,8 +62,8 @@ weekly_CI_mosaic <- here(laravel_storage_dir, "weekly_mosaic")
|
||||||
daily_vrt <- here(data_dir, "vrt")
|
daily_vrt <- here(data_dir, "vrt")
|
||||||
harvest_dir <- here(data_dir, "HarvestData")
|
harvest_dir <- here(data_dir, "HarvestData")
|
||||||
|
|
||||||
source(here("r_app/parameters_project.R"))
|
# source(here("r_app/parameters_project.R"))
|
||||||
source(here("r_app/mosaic_creation_utils.R"))
|
# source(here("r_app/mosaic_creation_utils.R"))
|
||||||
|
|
||||||
source("parameters_project.R")
|
source("parameters_project.R")
|
||||||
source("mosaic_creation_utils.R")
|
source("mosaic_creation_utils.R")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue