Project

General

Profile

« Previous | Next » 

Revision 3a0e0ca2

Added by Benoit Parmentier almost 9 years ago

debugging of accuracy metric function from tile

View differences:

climate/research/oregon/interpolation/global_run_scalingup_mosaicing.R
5 5
#Analyses, figures, tables and data are also produced in the script.
6 6
#AUTHOR: Benoit Parmentier 
7 7
#CREATED ON: 04/14/2015  
8
#MODIFIED ON: 12/02/2015            
8
#MODIFIED ON: 12/04/2015            
9 9
#Version: 5
10 10
#PROJECT: Environmental Layers project     
11 11
#COMMENTS: analyses run for reg4 1992 for test of mosaicing using 1500x4500km and other tiles
......
58 58

  
59 59
#### FUNCTION USED IN SCRIPT
60 60

  
61
function_mosaicing <-"global_run_scalingup_mosaicing_function_12022015.R"
61
function_mosaicing <-"global_run_scalingup_mosaicing_function_12042015.R"
62 62

  
63 63
#in_dir_script <-"/home/parmentier/Data/IPLANT_project/env_layers_scripts" #NCEAS UCSB
64 64
in_dir_script <- "/nobackupp8/bparmen1/env_layers_scripts" #NASA NEX
......
122 122
algorithm <- "python" #if R use mosaic function for R, if python use modified gdalmerge script from Alberto Guzmann
123 123
#algorithm <- "R" #if R use mosaic function for R, if python use modified gdalmerge script from Alberto Guzmann
124 124
 
125
match_extent <- "TRUE" #try without matching!!!
125
match_extent <- "FALSE" #try without matching!!!
126 126

  
127 127
########################## START SCRIPT ##############################
128 128

  
......
203 203
  
204 204
  mosaic_method <- "use_edge_weights" #this is distance from edge
205 205
  out_suffix_tmp <- paste(interpolation_method,y_var_name,day_to_mosaic[i],out_suffix,sep="_")
206
  debug(mosaicFiles)
206
  #debug(mosaicFiles)
207 207
  #can also loop through methods!!!
208 208
  #python_bin <- "/usr/bin/" #python gdal bin, on Atlas NCEAS
209 209
  #python_bin <- "/nobackupp6/aguzman4/climateLayers/sharedModules/bin" #on NEX
210
  #gdal_merge_sum_noDataTest.py
211

  
210 212
  mosaic_edge_obj_prediction <- mosaicFiles(lf_mosaic[[i]],
211 213
                                        mosaic_method="use_edge_weights",
212 214
                                        num_cores=num_cores,

Also available in: Unified diff