Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SIMO_output
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clblatte
SIMO_output
Commits
85d56368
Commit
85d56368
authored
4 years ago
by
clblatte
Browse files
Options
Downloads
Patches
Plain Diff
latest version data extraction of SIMO DBs
parent
667079c0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Main_cPouta.R
+4
-5
4 additions, 5 deletions
Main_cPouta.R
MultiForest/check_simulated_db.R
+2
-4
2 additions, 4 deletions
MultiForest/check_simulated_db.R
prepare_opt_data_KE.R
+1
-5
1 addition, 5 deletions
prepare_opt_data_KE.R
with
7 additions
and
14 deletions
Main_cPouta.R
+
4
−
5
View file @
85d56368
...
...
@@ -12,7 +12,6 @@ start_time <- Sys.time()
## load libraries
.libPaths
(
"C:/Devel/R/library"
)
library
(
dplyr
)
...
...
@@ -21,7 +20,7 @@ library(dplyr)
path
<-
paste0
(
getwd
())
### Running on cPouta or WIN local
on_cPouta
<-
FALS
E
on_cPouta
<-
TRU
E
### Do the SQL queries for the DB (only needed first time!)
Process_SQL_Query
<-
TRUE
...
...
@@ -35,7 +34,7 @@ Process_CSV_export_from_DB <- TRUE
# Define name of genereated Optimization CSV file
# ------------------------------------------------
outp_name
<-
"rslt_RCP
85
_FIN_V1"
outp_name
<-
"rslt_RCP
26
_FIN_V1"
...
...
@@ -54,8 +53,8 @@ if(on_cPouta == TRUE) {
numCores
<-
detectCores
()
numCores
inputFolder
<-
"/media/volume/outp_rcp
0_test
/simulated"
outputFolder
<-
"/media/volume/outp_rcp
0_test
"
inputFolder
<-
"/media/volume/outp_rcp
26
/simulated"
outputFolder
<-
"/media/volume/outp_rcp
26
"
}
else
{
# for Windows
...
...
This diff is collapsed.
Click to expand it.
MultiForest/check_simulated_db.R
+
2
−
4
View file @
85d56368
...
...
@@ -28,14 +28,12 @@ if(on_cPouta == TRUE) {
library
(
doParallel
)
numCores
<-
detectCores
()
numCores
inputFolder
<-
"/media/volume/outp_rcp
85
"
inputFolder
<-
"/media/volume/outp_rcp
26
"
}
else
{
# for Windows
inputFolder
<-
paste
(
path
,
"input_data/FIN"
,
sep
=
"/"
)
# .libPaths()
.libPaths
(
"C:/Devel/R/library"
)
}
...
...
This diff is collapsed.
Click to expand it.
prepare_opt_data_KE.R
+
1
−
5
View file @
85d56368
...
...
@@ -14,8 +14,6 @@ library(tidyr)
library
(
ggplot2
)
library
(
kableExtra
)
#Check time:
start_time
<-
Sys.time
()
# README:
...
...
@@ -674,9 +672,7 @@ print("*** csv with XY-coordinates saved ***")
print
(
"*** All data preperation is done ***"
)
print
(
"TIME TAKEN FOR CREATING OPTIMIZATION DATA: "
)
end_time
<-
Sys.time
()
end_time
-
start_time
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment