verify_hira.Rd
Run spatial verification on a (for now) deterministic forecast
verify_hira(
dttm,
parameter,
lead_time = harpSpatial_hira_conf$lead_time,
lt_unit = harpSpatial_hira_conf$lt_unit,
stations = harpSpatial_hira_conf$stations,
padding_i = harpSpatial_hira_conf$padding_i,
padding_j = harpSpatial_hira_conf$padding_j,
scores = harpSpatial_hira_conf$scores,
obs_path = harpSpatial_hira_conf$obs_path,
obsfile_template = harpSpatial_hira_conf$obsfile_template,
fcst_model = harpSpatial_hira_conf$fcst_model,
fc_file_path = harpSpatial_hira_conf$fc_file_path,
fc_file_template = harpSpatial_hira_conf$fc_file_template,
fc_file_format = harpSpatial_hira_conf$fc_file_format,
fc_file_opts = harpSpatial_hira_conf$fc_file_opts,
fc_accumulation = harpSpatial_hira_conf$fc_accumulation,
window_sizes = harpSpatial_hira_conf$window_sizes,
thresholds = harpSpatial_hira_conf$thresholds,
sqlite_path = harpSpatial_hira_conf$sqlite_path,
sqlite_file = harpSpatial_hira_conf$sqlite_file,
return_data = FALSE
)
A vector of date time strings to read. Can be in YYYYMMDD,
YYYYMMDDhh, YYYYMMDDhhmm, or YYYYMMDDhhmmss format. Can be numeric or
character. seq_dttm
can be used to generate a
vector of equally spaced date-time strings.
The parameters to read as a character vector.
The lead times to read as a numeric vector. Should be in the units that are also used in fc_file_template.
The unit used for lead_time. Can be "h" (hours), "m" (minutes), "s" (seconds)
The IDs of the stations to read from the files. By default this is full list from harpCore::station_list, the stations outside the domain interior will be excluded.
Number of grid points to define the domain interior in the x direction.
Number of grid points to define the domain interior in the y direction.
HiRA and basic scores me: Multi Event pragm: Pragramtic csrr: Conditional Square Root RPS td: Theate Detection (not published yet) bias: Bias from area mean. mse: Mean Squared Error from area mean. mae: Mean Absolute Error from area mean. if NULL then all available scores will be calculated.
Path to the observation files
Template of observation files.
The name of the (deterministic or EPS) model.
The top level path for the forecast files to read.
The file type to generate the template for. Can be "harmoneps_grib", "harmeoneps_grib_fp", "harmoneps_grib_sfx", "meps_met", "harmonie_grib", "harmonie_grib_fp", "harmone_grib_sfx", "vfld", "vobs", or "fctable". If anything else is passed, it is returned unmodified. In this case substitutions can be used. Available substitutions are {YYYY} for year, {MM} for 2 digit month with leading zero, {M} for month with no leading zero, and similarly {DD} or {D} for day, {HH} or {H} for hour, {mm} or {m} for minute. Also {LDTx} for lead time and {MBRx} for ensemble member where x is the length of the string including leading zeros - can be omitted or 2, 3 or 4. Note that the full path to the file will always be file_path/template.
The format of the files to read. Can be e.g. "fa" or "grib".
A list with format-specific options for the reader function.
The accumulation type of the forecast. This is only used for accumulated parameters (e.g. precipitation). NULL signifies that the field is accumulated from the start of the model run. Otherwise this should be a string containing a numerical value and a time unit, e.g. "15m" or "1h".
Scales used for fuzzy methods like FSS. A vector of box sizes. All values must be odd integers (so the central point is really in the center of a box).
Thresholds used for FSS, ...
If specified, SQLite files are generated and written to this directory.
Name of SQLite file.
If TRUE, the result is returned as a list of tables.
Not used at thispoint (more info to be added).
A list containting tibbles for all scores.