Revision 3a37a30d
Added by Benoit Parmentier almost 10 years ago
climate/research/oregon/interpolation/global_run_scalingup_assessment_part1.R | ||
---|---|---|
5 | 5 |
#Part 1 create summary tables and inputs for figure in part 2 and part 3. |
6 | 6 |
#AUTHOR: Benoit Parmentier |
7 | 7 |
#CREATED ON: 03/23/2014 |
8 |
#MODIFIED ON: 02/09/2015
|
|
8 |
#MODIFIED ON: 02/10/2015
|
|
9 | 9 |
#Version: 4 |
10 | 10 |
#PROJECT: Environmental Layers project |
11 | 11 |
#TO DO: |
... | ... | |
14 | 14 |
|
15 | 15 |
#First source these files: |
16 | 16 |
#source /nobackupp4/aguzman4/climateLayers/sharedModules/etc/environ.sh |
17 |
#MODULEPATH=$MODULEPATH:/nex/modules/files |
|
18 |
#module load /nex/modules/files/pythonkits/gdal_1.10.0_python_2.7.3_nex |
|
17 |
# MODULEPATH=$MODULEPATH:/nex/modules/files
|
|
18 |
# module load /nex/modules/files/pythonkits/gdal_1.10.0_python_2.7.3_nex
|
|
19 | 19 |
# These are the names and number for the current subset regions used for global runs: |
20 | 20 |
#reg1 - North America (NAM) |
21 | 21 |
#reg2 - Western Europe (WE) |
... | ... | |
66 | 66 |
#reg1 (North Am), reg2(Europe),reg3(Asia), reg4 (South Am), reg5 (Africa), reg6 (Australia-Asia) |
67 | 67 |
#master directory containing the definition of tile size and tiles predicted |
68 | 68 |
#in_dir1 <- "/nobackupp6/aguzman4/climateLayers/output1000x3000_km/" |
69 |
in_dir1 <- "/nobackupp6/aguzman4/climateLayers/output1500x4500_km"
|
|
69 |
in_dir1 <- "/nobackupp6/aguzman4/climateLayers/output1000x3000_km"
|
|
70 | 70 |
|
71 | 71 |
region_names <- c("reg1","reg2","reg3","reg4","reg5","reg6") #selected region names |
72 |
region_names <- c("reg1","reg2","reg3b","reg4","reg5","reg6") #selected region names |
|
72 | 73 |
|
73 | 74 |
in_dir_list <- list.dirs(path=in_dir1,recursive=FALSE) #get the list regions processed for this run |
74 | 75 |
#basename(in_dir_list) |
... | ... | |
97 | 98 |
|
98 | 99 |
y_var_name <- "dailyTmax" |
99 | 100 |
interpolation_method <- c("gam_CAI") |
100 |
out_prefix<-"run10_1500x4500_global_analyses_02092015"
|
|
101 |
out_prefix<-"run10_1000x3000_global_analyses_02102015"
|
|
101 | 102 |
|
102 | 103 |
#out_dir<-"/data/project/layers/commons/NEX_data/" #On NCEAS Atlas |
103 | 104 |
#out_dir <- "/nobackup/bparmen1/" #on NEX |
Also available in: Unified diff
modifications, run 10 NEX accuracy assessment 1000x3000km