inst/conf/default_conf.R

# Default harpSpatial configuration
###################################

lead_time            = seq(0, 36, 3)
lt_unit              = "h"
members              = NULL
fc_file_path         = ""
fc_file_template     = ""
fc_file_format       = NULL
fc_file_opts         = list()
fc_domain            = NULL
fc_interp_method     = "closest"
fc_accumulation      = NULL

# OBS
ob_file_path         = ""
ob_file_template     = ""
ob_file_format       = NULL
ob_file_opts         = list()
ob_domain            = NULL
ob_interp_method     = "closest"
ob_accumulation      = "15m"

# VERIFICATION DOMAIN
verif_domain         = NULL
use_mask             = FALSE

# SCORE DETAILS: thresholds etc.

#scores = names(spatial_scores()) # the full list is not yet defined
# e.g. scores = c("FSS", "SAL", "mse")
scores = c("FSS", "SAL", "mse", "mae", "bias", "NACT")

# NOTE: the window_sizes must be n >= 0.
#  The actual boxes have size 2*n+1
window_sizes         = c(0, 1, 2, 4, 8, 12, 20)
thresholds           = c(0.1, 1, 5, 10)

# OUTPUT
sqlite_path          = NULL
sqlite_file          = "harp_spatial_scores.sqlite"

# SCORE OPTIONS 
# TODO: plot options as well?
sal_options <- list(thresh_scale = 15.,
                    min_rain = 0.1,
                    same_threshold = FALSE,
                    maxobj = 1000
                    )
harphub/harpSpatial documentation built on March 29, 2025, 10:56 p.m.