Project

General

Profile

« Previous | Next » 

Revision 9a490864

Added by Benoit Parmentier over 9 years ago

global assessment part1 1500x4500km tile size predictions first attempt

View differences:

climate/research/oregon/interpolation/global_run_scalingup_assessment_part1.R
5 5
#Part 1 create summary tables and inputs files for figure in part 2 and part 3.
6 6
#AUTHOR: Benoit Parmentier 
7 7
#CREATED ON: 03/23/2014  
8
#MODIFIED ON: 03/05/2015            
8
#MODIFIED ON: 03/11/2015            
9 9
#Version: 4
10 10
#PROJECT: Environmental Layers project  
11 11
#TO DO:
......
75 75
region_names <- c("reg1","reg2","reg3","reg4","reg5","reg6") #selected region names, #PARAM2
76 76
y_var_name <- "dailyTmax" #PARAM3
77 77
interpolation_method <- c("gam_CAI") #PARAM4
78
out_prefix<-"run10_1500x4500_global_analyses_03052015" #PARAM5
78
out_prefix<-"run10_1500x4500_global_analyses_03112015" #PARAM5
79 79

  
80 80
#out_dir<-"/data/project/layers/commons/NEX_data/" #On NCEAS Atlas
81 81
#out_dir <- "/nobackup/bparmen1/" #on NEX
......
551 551

  
552 552
Atlas_dir <- file.path("/data/project/layers/commons/NEX_data/",basename(out_dir),"mosaics")
553 553
Atlas_hostname <- "parmentier@atlas.nceas.ucsb.edu"
554
lf_cp_f <- list.files(out_dir,full.names=T,pattern="*world*.tif")#copy all files can filter later
554
lf_cp_f <- list.files(out_dir,full.names=T,pattern="*world.*.tif")#copy all files can filter later
555 555
filenames_NEX <- paste(lf_cp_f,collapse=" ")  #copy raster prediction object
556 556
cmd_str <- paste("scp -p",filenames_NEX,paste(Atlas_hostname,Atlas_dir,sep=":"), sep=" ")
557 557
system(cmd_str)

Also available in: Unified diff