Difference between revisions of "Differences of Calculated Results"

Introduction

For data generated by

Various differences can be computed. Input data can be typically categorized as follows:

• Category K0: ${\displaystyle f(x,y,z)}$, time-independent quantities;
• Category K1: ${\displaystyle f(x,y,z,t_{1})}$, time-dependent quantities, one time step;
• Category KC: ${\displaystyle f(x,y,z,t_{i})}$, time-dependent quantities, several discrete time steps, constant time step ${\displaystyle \Delta _{t}}$;
• Category KN: ${\displaystyle f(x,y,z,t_{i})}$, time-dependent quantities, several discrete time steps, varying time step ${\displaystyle \Delta _{t}(i)}$.

For geophysical data categories K1, KC and KN are of significance. Examples:

• Category K1: topography/bathymetry ${\displaystyle h(x,y,z,t_{1})}$ for a specific instant in time;
• Category KC: water level ${\displaystyle \eta (x,y,z,t_{i})}$ at discrete times ${\displaystyle t_{i}}$ with constant time step, e. g. computed by a mathematical model;
• Category KN: tidal high water ${\displaystyle \eta ^{\rm {HW}}(x,y,z,t_{i})}$ for times ${\displaystyle t_{i}}$ at non-equidistant time intervals, e.g. derived from a water level time serie.

Definitions

• reference data ${\displaystyle r}$: with respect to ${\displaystyle r}$ various deviations for ${\displaystyle f}$ can be evaluated. Typical data are either observational data or computational as well as analysis results for a specific (reference) state (situation);
• variant data ${\displaystyle f}$: can be also either observational data or computational as well as analysis results, for which deviations shall be computed with respect to the reference state. Typically variant data are given for a different period in time (natural variation) or a different state of the system under study.
• valid operator 1: ${\displaystyle V(r_{i})}$ returns .T. or .F., in dependence whether ${\displaystyle r_{i}}$ is valid or invalid. Can be also applied to ${\displaystyle f_{i}}$.
• valid operator 2: ${\displaystyle V(r_{I},f_{i})}$ returns .T. or .F., in dependence whether ${\displaystyle V(r_{i})\land V(f_{i})}$ is valid or invalid.
• integer operator 1: ${\displaystyle P(r_{i})}$ returns 1 if ${\displaystyle V(r_{i})}$ else 0. Similar for ${\displaystyle f_{i}}$.
• integer operator 2: ${\displaystyle P(r_{i},f_{i})}$ returns 1 if ${\displaystyle V(r_{i})\land V(f_{i})}$ .T. else 0.

Requirements for the computation of differences

The following requirements must be fulfilled by ${\displaystyle r}$ and ${\displaystyle f}$:

1. ${\displaystyle r}$ and ${\displaystyle f}$ must belong to the same category (see above);
2. the number of times ${\displaystyle t_{i}}$ must be identical for ${\displaystyle r}$ and ${\displaystyle f}$;
3. for data belonging to category KC constant time steps must coincide ${\displaystyle \Delta t}$ for ${\displaystyle r}$ and ${\displaystyle f}$;
4. (physical) dimension as well as meaning must be equivalent for ${\displaystyle r}$ and ${\displaystyle f}$;
5. ${\displaystyle r_{i}}$ (short for ${\displaystyle r(x,y,z,t_{i})}$) as well as ${\displaystyle f_{i}}$ (short for ${\displaystyle r(x,y,z,t_{i})}$) must be valid data for the same instant ${\displaystyle i}$ in time; otherwise the dervied results will become invalid.

Computational results

Program NCDELTA can be used to compute all subsequent results. Locations of ${\displaystyle r}$ are not required to coincide with those of ${\displaystyle f}$. Values ${\displaystyle r}$ are interpolated to locations of ${\displaystyle f}$, as long as the geographical distance between the different locations does not exceed ${\displaystyle R^{\max }}$. In case the distance exceeds that limit, no results will be computed. In such a situation an invalid result value will be generated. The follwing results can be computed using NCDELTA.

Ordinary differences

Difference

A result is computed for all times (one value for time-independent data) at all locations ${\displaystyle (x,y,z)}$:

1. The difference between ${\displaystyle f_{i}}$ and ${\displaystyle r_{i}}$ is calculated in case ${\displaystyle V(r_{i},f_{i})}$ returns .T.:
${\displaystyle d_{i}=f_{i}-r_{i}}$, if ${\displaystyle V(r_{i},f_{i})}$;
2. Result will be invalid, if ${\displaystyle V(r_{i},f_{i})}$ returns .F.:
${\displaystyle d_{i}={\rm {invalid}}}$ if ${\displaystyle \lnot V(r_{i},f_{i})}$.

Results are computed for data belonging to categories K0, K1, KC und KN, which means for all types of data.

Percentiles

back to Pre- and Postprocessing