[[calibration.objective_blocks]]#

Weighted metric block used by a composite objective.

  • calibration.objective_blocks [[array of tables]] · optional · 6 user keys

Repeat the table: one [[calibration.objective_blocks]] block per item.

name = ‹string›Unique block identifier used in logs and persistence. required experimental
Path
calibration.objective_blocks.name
Accepted
string
metric = ‹"rmse" | "nse" | "kge" | "mae" | "nse_log" | "nse_delta" | "nse_seasonal" | "reservoir" | "distance_gap" | "distance_mean" | "bfi_error"›Metric that scores this block against its observations. required experimental
Path
calibration.objective_blocks.metric
Values
  • "rmse" : Root-mean-square error, in the observed unit; penalizes large misfits most.
  • "nse" : Nash-Sutcliffe efficiency against the observed mean; the standard choice for a level or discharge series.
  • "kge" : Kling-Gupta efficiency, 2009 form (bias as the ratio of sums, variability as the ratio of standard deviations); separates correlation, variability and bias when NSE alone is ambiguous.
  • "mae" : Mean absolute error, in the observed unit; less sensitive to outliers than RMSE.
  • "nse_log" : NSE on log-transformed series; weights low flows as heavily as peaks, good for recessions.
  • "nse_delta" : NSE on the increments of the series rather than its level; a level is an integral and can hide flux errors that compensate, which only its increments show.
  • "nse_seasonal" : NSE against the seasonal cycle rather than the overall mean; asks whether the model beats climatology.
  • "reservoir" : Half nse_seasonal plus half nse_delta, built for an impounded level: a plain NSE there is beaten by the seasonal cycle, and the increments are what carry the flux errors.
  • "distance_gap" : Balances the simulated stream network against the mapped one; zero marks the crossing.
  • "distance_mean" : Mean spatial offset between simulated and mapped streams; a diagnostic, not a substitute for distance_gap.
  • "bfi_error" : Distance between the simulated and observed baseflow indices (Wallingford, daily discharge only); asks whether the stream is fed by its aquifer in the right share. Blind to volume and timing, so it goes beside a fit, never alone.
Accepted
"rmse" | "nse" | "kge" | "mae" | "nse_log" | "nse_delta" | "nse_seasonal" | "reservoir" | "distance_gap" | "distance_mean" | "bfi_error"
uses_outputs = ‹list of string›Outputs (by name) consumed by this block. required at least 1 item experimental
Path
calibration.objective_blocks.uses_outputs
More

An error metric (rmse, mae) or a network distance may read several, pooled into one cost. A metric that rises with the fit (nse, kge and the other efficiencies) reads exactly one: write one block per output, each with its weight, so the costs average per station.

Accepted
list of string
Valid range
at least 1 item (refused outside)
# weight = 1.0Weight of this block in the sum of the block costs. - > 0 experimental
Path
calibration.objective_blocks.weight
More

Only the ratios between weights matter.

Accepted
number
Valid range
> 0 (refused outside)
Unit
-
# normalize_cost = falseWhen True, divide the block cost by a reference scale, so it adds to other blocks as a pure number and a share means a share. experimental
Path
calibration.objective_blocks.normalize_cost
More

On a residual metric (rmse, mae) the scale is the standard deviation of the observations, their mean absolute value if that is zero. On a network distance (distance_gap, distance_mean) it is the output's validity_length, 2 h_obs under 'auto': a gap of one validity length costs 1, as much as an NSE of 0 on nse_log. Refused on an efficiency score, already a pure number.

Accepted
true | false
# cost_transform = "identity"Transform applied to the cost of this block before weighting. experimental
Path
calibration.objective_blocks.cost_transform
More

Note that cost_transform='log' takes the logarithm of the cost, which is not the same thing as metric='nse_log', an NSE computed on log-transformed series.

Values
  • "identity" : Uses the block cost as computed, with no transform.
  • "log" : Takes log10 of the cost plus a small epsilon, compressing large costs before weighting.
  • "inverse" : Takes -1 / (cost + epsilon), sharpening the gradient near a cost of zero.
Accepted
"identity" | "log" | "inverse"
Was
calibration.objective_blocks.transform

calibration.objective_blocks.name name Unique block identifier used in logs and persistence. calibration.objective_blocks.metric metric rmse nse kge mae nse_log nse_delta nse_seasonal reservoir distance_gap distance_mean bfi_error rmse Root-mean-square error, in the observed unit; penalizes large misfits most. nse Nash-Sutcliffe efficiency against the observed mean; the standard choice for a level or discharge series. kge Kling-Gupta efficiency, 2009 form (bias as the ratio of sums, variability as the ratio of standard deviations); separates correlation, variability and bias when NSE alone is ambiguous. mae Mean absolute error, in the observed unit; less sensitive to outliers than RMSE. nse_log NSE on log-transformed series; weights low flows as heavily as peaks, good for recessions. nse_delta NSE on the increments of the series rather than its level; a level is an integral and can hide flux errors that compensate, which only its increments show. nse_seasonal NSE against the seasonal cycle rather than the overall mean; asks whether the model beats climatology. reservoir Half nse_seasonal plus half nse_delta, built for an impounded level: a plain NSE there is beaten by the seasonal cycle, and the increments are what carry the flux errors. distance_gap Balances the simulated stream network against the mapped one; zero marks the crossing. distance_mean Mean spatial offset between simulated and mapped streams; a diagnostic, not a substitute for distance_gap. bfi_error Distance between the simulated and observed baseflow indices (Wallingford, daily discharge only); asks whether the stream is fed by its aquifer in the right share. Blind to volume and timing, so it goes beside a fit, never alone. Metric that scores this block against its observations. calibration.objective_blocks.weight weight 1.0 - Weight of this block in the sum of the block costs. Only the ratios between weights matter. calibration.objective_blocks.uses_outputs uses_outputs Outputs (by name) consumed by this block. An error metric (rmse, mae) or a network distance may read several, pooled into one cost. A metric that rises with the fit (nse, kge and the other efficiencies) reads exactly one: write one block per output, each with its weight, so the costs average per station. calibration.objective_blocks.normalize_cost normalize_cost false When True, divide the block cost by a reference scale, so it adds to other blocks as a pure number and a share means a share. On a residual metric (rmse, mae) the scale is the standard deviation of the observations, their mean absolute value if that is zero. On a network distance (distance_gap, distance_mean) it is the output’s validity_length, 2 h_obs under ‘auto’: a gap of one validity length costs 1, as much as an NSE of 0 on nse_log. Refused on an efficiency score, already a pure number. calibration.objective_blocks.cost_transform cost_transform “identity” identity log inverse identity Uses the block cost as computed, with no transform. log Takes log10 of the cost plus a small epsilon, compressing large costs before weighting. inverse Takes -1 / (cost + epsilon), sharpening the gradient near a cost of zero. Transform applied to the cost of this block before weighting. Note that cost_transform=’log’ takes the logarithm of the cost, which is not the same thing as metric=’nse_log’, an NSE computed on log-transformed series.