diff --git a/r_app/CI_report_dashboard_planet.Rmd b/r_app/CI_report_dashboard_planet.Rmd index 2982dfc..0eeff83 100644 --- a/r_app/CI_report_dashboard_planet.Rmd +++ b/r_app/CI_report_dashboard_planet.Rmd @@ -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") diff --git a/r_app/ci_extraction.R b/r_app/ci_extraction.R index 5d37554..bc08d3a 100644 --- a/r_app/ci_extraction.R +++ b/r_app/ci_extraction.R @@ -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) diff --git a/r_app/interpolate_growth_model.R b/r_app/interpolate_growth_model.R index 1cf843d..3518929 100644 --- a/r_app/interpolate_growth_model.R +++ b/r_app/interpolate_growth_model.R @@ -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") diff --git a/r_app/mosaic_creation.R b/r_app/mosaic_creation.R index 53de9e2..6e8ac56 100644 --- a/r_app/mosaic_creation.R +++ b/r_app/mosaic_creation.R @@ -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")