Thresholds

QC test thresholds for measured depth were based on historical Coastal Monitoring Program data submitted to the Nova Scotia Open Data Portal in December 2022. Preliminary QC was applied to the historical data. Obvious outliers and freshwater stations were omitted.

Gross Range Test

Sensor Thresholds

The sensor thresholds were determined based on the aquaMeasure and VR2AR manufacturer specifications (Table 1).

Table 1: Depth sensor thresholds for the Gross Range Test.

User Thresholds

Measured sensor depth is a function of where the sensor is located on the string and is not necessarily related to the historical measurements (Figure 1). For example, sensors in Antigonish County have typically been moored in relatively shallow depths, but deeper sensors could be deployed there in the future.

To avoid flagging future observations at unusual depths, a single set of user thresholds was manually selected and applied to the pooled data (0–120 m; Table 2).

Figure 1: Distribution of depth observations (binwidth = 2 m). Dotted orange lines indicate the user thresholds.
Table 2: Gross Range Test statistics and user thresholds for measured depth.

Climatological Test

The Climatological Test was not applied to the measured depth data because depth has no expected or observed seasonal cycle (Figure 2; Figure 3).

Figure 2: Mean ± 3 standard deviations of the monthly depth observations.
Figure 3: Monthly distribution of measured depth observations (binwidth = 2 m).

Spike Test

Separate thresholds were calculated for each county and sensor type to account for the substantial spatial differences in tidal range around the province and the difference in precision between the types of sensors that measure depth (Figure 4; Figure 5).

For all groups, the distribution of the spike value is skewed right, and so several upper percentile values (90th, 95th, and 99.7th percentile) were evaluated to use as the \(\text{spike}_\text{low}\). There were relatively few large single-value spikes in the depth data, and so the 99.7th percentile was selected to avoid false positives. \(\text{spike}_\text{high}\) was defined as \(3 \times \text{spike}_\text{low}\) to identify especially large spike values.

In Digby and Pictou counties, the only depth observations have been from VR2AR sensors. In the future, depth may be measured with aquaMeasure sensors in these counties. If this happens, the VR2AR thresholds will be used for the Spike Test until the threshold calculation exercise is repeated.

Figure 4: Distribution of the spike value of depth observations measured by aquaMeasure sensors (binwidth = 0.1 m). Dotted orange line indicates \(\text{spike}_\text{low}\); dotted red line indicates \(\text{spike}_\text{high}\). Note difference in y-axis scale.
Figure 5: Distribution of the spike value of depth observations measured by VR2AR sensors (binwidth = 0.1 m). Dotted orange line indicates \(\text{spike}_\text{low}\); dotted red line indicates \(\text{spike}_\text{high}\). Note difference in y-axis scale.
Table 3: Spike thresholds for measured depth.

Rolling Standard Deviation Test

The Rolling Standard Deviation Test thresholds were calculated and applied separately for each county due to spatial differences in tidal range.

The distribution of rolling standard deviation is approximately normal for each county (Figure 6), and so the mean and standard deviation were used to calculate \(\text{rolling\_sd}_\text{max}\).

\(\text{rolling\_sd}_\text{max} = \text{rolling\_sd}_\text{mean} + 3 \times \text{rolling\_sd}_\text{sd}\)

Figure 6: Distribution of the 24-hour rolling standard deviation of depth observations (binwidth = 0.1 m). Dotted orange line indicates \(\text{rolling\_sd}_\text{max}\).
Table 4: Rolling standard deviation threshold for measured depth.

Depth Crosscheck Test

Figure 7 shows the minimum measured depth and the estimated sensor depth at low tide. Figure 8 shows a histogram of the absolute difference between these measurements (\(\text{depth\_diff}\)).

The distribution of \(\text{depth\_diff}\) is skewed right, and so several upper percentile values (90th, 95th, and 99.7th percentile) were evaluated to use as the threshold. The 90th percentile was considered too stringent, while the 99.7th percentile was too lenient. The 95th percentile was considered the most useful threshold.

Figure 7: The minimum measured depth and the estimated sensor depth at low tide.
Figure 8: Distribution of the absolute difference between the minimum measured depth and the estimated sensor depth at low tide (binwidth = 1 m).
Table 5: Depth Crosscheck Test threshold for measured depth.