source(utils) aangepast voor online versie

This commit is contained in:
Timon 2024-08-30 09:52:02 +02:00
parent bd9b7d4ab0
commit 4dd84b10a5
4 changed files with 17 additions and 17 deletions

View file

@ -50,8 +50,8 @@ library(caret)
library(randomForest)
library(CAST)
source(here("r_app/report_utils.R"))
# source("report_utils.R")
# source(here("r_app/report_utils.R"))
source("report_utils.R")
# Define the log file path
log_file <- here("laravel_app/storage/app/rmd_log.txt")

View file

@ -53,23 +53,23 @@ weekly_CI_mosaic <- here(laravel_storage_dir, "weekly_mosaic")
daily_vrt <- here(data_dir, "vrt")
harvest_dir <- here(data_dir, "HarvestData")
source(here("r_app/parameters_project.R"))
source(here("r_app/ci_extraction_utils.R"))
# source(here("r_app/parameters_project.R"))
# source(here("r_app/ci_extraction_utils.R"))
# source(here("r_app/mosaic_creation_utils.R"))
source("parameters_project.R")
source("ci_extraction_utils.R")
# source("mosaic_creation_utils.R")
# dir.create(here(laravel_storage_dir))
# dir.create(here(data_dir))
# dir.create(here(extracted_CI_dir))
# dir.create(here(daily_CI_vals_dir))
# dir.create(here(cumulative_CI_vals_dir))
# dir.create(here(weekly_CI_mosaic))
# dir.create(here(daily_vrt))
# dir.create(merged_final)
# dir.create(harvest_dir)
dir.create(here(laravel_storage_dir))
dir.create(here(data_dir))
dir.create(here(extracted_CI_dir))
dir.create(here(daily_CI_vals_dir))
dir.create(here(cumulative_CI_vals_dir))
dir.create(here(weekly_CI_mosaic))
dir.create(here(daily_vrt))
dir.create(merged_final)
dir.create(harvest_dir)
end_date <- lubridate::dmy("28-08-2024")
week <- week(end_date)

View file

@ -37,8 +37,8 @@ weekly_CI_mosaic <- here(laravel_storage_dir, "weekly_mosaic")
daily_vrt <- here(data_dir, "vrt")
harvest_dir <- here(data_dir, "HarvestData")
source(here("r_app/parameters_project.R"))
source(here("r_app/ci_extraction_utils.R"))
# source(here("r_app/parameters_project.R"))
# source(here("r_app/ci_extraction_utils.R"))
# source(here("r_app/mosaic_creation_utils.R"))
source("parameters_project.R")

View file

@ -62,8 +62,8 @@ weekly_CI_mosaic <- here(laravel_storage_dir, "weekly_mosaic")
daily_vrt <- here(data_dir, "vrt")
harvest_dir <- here(data_dir, "HarvestData")
source(here("r_app/parameters_project.R"))
source(here("r_app/mosaic_creation_utils.R"))
# source(here("r_app/parameters_project.R"))
# source(here("r_app/mosaic_creation_utils.R"))
source("parameters_project.R")
source("mosaic_creation_utils.R")