Skip to content
Snippets Groups Projects
Commit b875dd1e authored by clblatte's avatar clblatte
Browse files

start chaning for FBE

parent 79096771
No related branches found
No related tags found
No related merge requests found
......@@ -20,16 +20,14 @@ library(dplyr)
path <- paste0(getwd())
### Running on cPouta or WIN local
on_cPouta <- TRUE
on_cPouta <- FALSE
### Do the SQL queries for the DB (only needed first time!)
Process_SQL_Query <- FALSE
Process_SQL_Query <- TRUE
### Export the defined columns from DB as CSV
Process_CSV_export_from_DB <- FALSE
Process_CSV_export_from_DB <- TRUE
### Create optimization data for Jupyter notebook
Process_opt_data <- TRUE
......@@ -37,7 +35,7 @@ Process_opt_data <- TRUE
# Define name of genereated Optimization CSV file
# ------------------------------------------------
outp_name <- "rslt_inoutmetsaan_V12"
outp_name <- "rslt_test"
......@@ -61,8 +59,8 @@ if(on_cPouta == TRUE) {
} else {
# for Windows
inputFolder <- paste(path, "input_data/test_Keski_Suomi/rcp0", sep = "/")
outputFolder <- paste(path, "output/combine_MetsaanMSNFI", sep = "/")
inputFolder <- paste(path, "input_data/MariaFBE", sep = "/")
outputFolder <- paste(path, "output/MariaFBE", sep = "/")
}
......@@ -159,75 +157,16 @@ if(Process_SQL_Query == TRUE){
columns <- paste0("id,
year,
branching_group,
V,
V_penbirch,
V_pubbirch,
V_aspen,
V_populus,
V_Alnus_incana,
V_Alnus_glutinosa,
V_o_decidious,
i_Vm3,
Harvested_V,
Harvested_V_log_under_bark,
Harvested_V_pulp_under_bark,
DEVEL_CLASS,
Biomass,
ALL_MARKETED_MUSHROOMS,
Age,
BILBERRY,
COWBERRY,
ES_GAME,
HSI_MOOSE,
CAPERCAILLIE,
HSI_CAPERCAILLIE,
HAZEL_GROUSE,
COMBINED_HSI,
ALL_MARKETED_MUSHROOMS,
Harvested_V,
V_total_deadwood,
N_where_D_gt_40,
HSI_RL_S1,
HSI_RL_S2,
HSI_RL_S3,
HSI_RL_S4,
HSI_RL_S5,
HSI_RL_S6,
HSI_RL_S7,
HSI_RL_S8,
HSI_RL_S9,
HSI_RL_S10,
HSI_RL_S11,
HSI_RL_S12,
HSI_RL_S13,
HSI_RL_S14,
HSI_RL_S15,
HSI_RL_S16,
HSI_RL_S17,
HSI_RL_S18,
HSI_RL_S19,
HSI_RL_S20,
HSI_RL_S21,
HSI_RL_S22,
HSI_RL_S23,
HSI_RL_S24,
HSI_RL_S25,
HSI_RL_S26,
HSI_RL_S27,
PEAT,
clearcut,
CARBON_STORAGE,
CARBON_STORAGE_Update,
BM_total,
Carbon_soil,
CARBON_STORAGE_Ojanen,
Recreation,
Scenic" )
COMBINED_HSI,
N_where_D_gt_40,
Scenic_beauty")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment