Revision 38eb57f2
Added by Benoit Parmentier over 8 years ago
climate/research/oregon/interpolation/global_run_scalingup_mosaicing.R | ||
---|---|---|
335 | 335 |
days_to_process <- day_to_mosaic[i] |
336 | 336 |
|
337 | 337 |
#browser() |
338 |
browser() |
|
339 |
print("debug") |
|
340 |
#debug(generate_ac_assessment_layers_by_tile) |
|
338 |
|
|
341 | 339 |
lf_accuracy_testing_raster <- generate_ac_assessment_layers_by_tile(lf,layers_option,df,df_tile_processed,metric_name, |
342 | 340 |
var_pred,list_models,use_autokrige,pred_mod_name, |
343 | 341 |
y_var_name,interpolation_method,region_selected, |
344 | 342 |
days_to_process,num_cores,NA_flag_val,file_format, |
345 | 343 |
out_dir,out_suffix) #### create a function to generate accuracy layers by tiles |
346 |
|
|
344 |
#if (inherits(mod,"try-error")) |
|
347 | 345 |
## Now accuracy based on center of centroids |
348 | 346 |
mosaic_method <- "use_edge_weights" #this is distance from edge |
349 | 347 |
#Adding metric name in the name... |
... | ... | |
356 | 354 |
|
357 | 355 |
#undebug(mosaicFiles) |
358 | 356 |
#can also loop through methods!!! |
359 |
#browser() |
|
360 | 357 |
mosaic_obj <- mosaicFiles(unlist(lf_accuracy_testing_raster), |
361 | 358 |
mosaic_method="use_edge_weights", |
362 | 359 |
num_cores=num_cores, |
Also available in: Unified diff
running debugged generate accuracy layers function