Commit 513e64e3 authored by Louis HERAUT's avatar Louis HERAUT
Browse files

Winodws importation and test

parent 02c9923f
No related merge requests found
Showing with 15 additions and 6 deletions
+15 -6
...@@ -2,15 +2,18 @@ ...@@ -2,15 +2,18 @@
### A MODIFIER ### ### A MODIFIER ###
# Path to the data # Path to the data
computer_data_path = "/home/louis/Documents/bouleau/INRAE/CDD_stationnarite/data" computer_data_path = #"/home/louis/Documents/bouleau/INRAE/CDD_stationnarite/data"
"C:\\Users\\louis.heraut\\Documents\\CDD_stationnarite\\data"
# Work path # Work path
computer_work_path = "/home/louis/Documents/bouleau/INRAE/CDD_stationnarite/ASH" computer_work_path = #"/home/louis/Documents/bouleau/INRAE/CDD_stationnarite/ASH"
"C:\\Users\\louis.heraut\\Documents\\CDD_stationnarite\\ASH"
filedir = "" # Path to data that will be analysed
filedir = "test"
filename = c("H5920011_HYDRO_QJM.txt", "K4470010_HYDRO_QJM.txt") filename = #c("H5920011_HYDRO_QJM.txt", "K4470010_HYDRO_QJM.txt")
# filename = "all" "all"
################## ##################
...@@ -28,10 +31,16 @@ source('plotting/panel.R') ...@@ -28,10 +31,16 @@ source('plotting/panel.R')
# Result directory # Result directory
resdir = file.path(computer_work_path, 'results') resdir = file.path(computer_work_path, 'results')
if (!(file.exists(resdir))) {
dir.create(resdir)
}
print(paste('resdir :', resdir)) print(paste('resdir :', resdir))
# Figure directory # Figure directory
figdir = file.path(computer_work_path, 'figures') figdir = file.path(computer_work_path, 'figures')
if (!(file.exists(figdir))) {
dir.create(figdir)
}
print(paste('figdir :', figdir)) print(paste('figdir :', figdir))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment