pub struct GbtEventErrors {
pub peak_rel_err_pct: f64,
pub time_to_peak_err_steps: i64,
pub runoff_depth_rel_err_pct: f64,
}Expand description
Per-event GB/T 22482-2008 flood-forecast errors (relative errors in %, peak-timing error in time-steps).
Fields§
§peak_rel_err_pct: f64Peak-discharge relative error, 100 · (Qpk_sim − Qpk_obs) / Qpk_obs (%).
time_to_peak_err_steps: i64Peak-timing error in time-steps, argmax(sim) − argmax(obs).
Positive means the simulated peak is late (lagging); negative means early.
runoff_depth_rel_err_pct: f64Runoff-depth relative error, 100 · (D_sim − D_obs) / D_obs (%).
D (mm) is converted from discharge volume via
D = ΣQ · dt_h · 3.6 / area_km2 (Q in m³/s, dt_h in hours).
Trait Implementations§
Source§impl Clone for GbtEventErrors
impl Clone for GbtEventErrors
Source§fn clone(&self) -> GbtEventErrors
fn clone(&self) -> GbtEventErrors
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GbtEventErrors
impl Debug for GbtEventErrors
Source§impl Default for GbtEventErrors
impl Default for GbtEventErrors
Source§fn default() -> GbtEventErrors
fn default() -> GbtEventErrors
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GbtEventErrors
impl<'de> Deserialize<'de> for GbtEventErrors
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GbtEventErrors, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GbtEventErrors, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GbtEventErrors
impl Serialize for GbtEventErrors
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for GbtEventErrors
impl RefUnwindSafe for GbtEventErrors
impl Send for GbtEventErrors
impl Sync for GbtEventErrors
impl Unpin for GbtEventErrors
impl UnsafeUnpin for GbtEventErrors
impl UnwindSafe for GbtEventErrors
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more