Skip to content

Commit

Permalink
Move plot_albedo, other config to config.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ashiklom committed Aug 30, 2017
1 parent ef01559 commit bdb7b60
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
13 changes: 9 additions & 4 deletions config.example.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# EDR data assimilation
# Configuration script
#
# Copy this script to 'config.R' and `source` it at the
# Copy this script to 'config.R' and `source` it at the
# beginning of any EDR script
############################################################

############################################################
# Set paths
############################################################
# NOTE: `normalizePath` is called to generate a complete
# path, which should make this script working
# NOTE: `normalizePath` is called to generate a complete
# path, which should make this script working
# directory-agnostic.

# This directory should contain the following:
Expand All @@ -25,7 +25,7 @@ common_inputs_dir <- normalizePath(common_inputs_dir)
site_met_dir <- file.path('ed-inputs', 'met3', 'US-WCr')
site_met_dir <- normalizePath(site_met_dir)

# These are the paths to the executables for the full ED2
# These are the paths to the executables for the full ED2
# model and EDR, respectively
ed_exe_path <- '/home/ashiklom/Projects/ED2/ED/build/ed_2.1'
edr_exe_path <- '/home/ashiklom/Projects/ED2/EDR/build/ed_2.1'
Expand All @@ -40,3 +40,8 @@ site_lon <- -90.5

# Date-time for EDR runs
datetime <- as.POSIXlt('2004-07-01 12:00:00')

# Inversion settings
plot_albedo <- FALSE #TRUE/FALSE
generate_summary_figs <- FALSE #TRUE/FALSE
hidden <- TRUE #TRUE/FALSE
5 changes: 0 additions & 5 deletions examples/inversion_bayestools.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ library(redr)
data(css_ex1)
data(pss_ex1)
data(site_ex1)

plot_albedo <- FALSE #TRUE/FALSE
generate_summary_figs <- FALSE #TRUE/FALSE
hidden <- TRUE #TRUE/FALSE
PEcAn.logger::logger.setLevel("INFO")
#--------------------------------------------------------------------------------------------------#


Expand Down

0 comments on commit bdb7b60

Please sign in to comment.