Often an adjustment is done to test whether a survey or set of observations meet some accuracy criteria. SNAP provides a number of functions to help with such tests.
Before any tests are done the data should be checked for gross errors (see using a minimum constraints adjustment to find gross errors).
There are two types of accuracy specifications that may be tested:
The accuracy is generally defined in terms of a constant component and a distance dependent component (for example 3 mm ± 1 ppm). This accuracy is associated with a given confidence level - for example a 95% confidence level.
Observation accuracies can be tested with the following (simplistic) procedure:
flag_significance 95 maximum 95
In this case the second flag level is set at "maximum 95", so observations exceeding the tolerance for the survey will be marked with "???"
================================================================
MOST SIGNIFICANT RESIDUALS
================================================================
The 123 residuals from this data are classified as follows:
Under 95.00% significant Used: 110 Unused: 1
Under 95.00%M significant Used: 8 Unused: 1
Over 95.00%M significant Used: 3 Unused: 0
The 'M'indicates that the significance applies to the maximum
of all residuals rather than to the individual residuals.
Note: Only the overall residual for vector data is counted
The following table lists the 10 worst residuals of used data
From To Type S.R. Sig (%) Line File
221 79 SD 4.233 99.999 ??? 18 mat_sd.dat
221 3 ZD 4.150 99.999 ??? 47 mat_zd.dat
74 260 HA 3.825 99.993 ??? 30 mat_ha.dat
245 260 HA 2.589 99.112 ? 89 mat_ha.dat
83 4 SD 2.472 98.740 ? 23 mat_sd.dat
SNAP has some facilities for more sophisticated quality assurance of observations. In particular it can be configured to calculate the minimum detectable error for each observation (see add_residual_column).
Testing the relative accuracies of calculated coordinates is done using the specification and test_specification commands. The specification command defines the accuracy specifications that are to be tested. For example the command file could define the following specifications
specification order_1 confidence 95% horizontal 3mm 0.1ppm vertical 3mm 0.3ppm
specification order_2 confidence 95% horizontal 3mm 1ppm vertical 10mm 3ppm
As the specifications could be used for many different adjustments they may be included in a configuration file.
The test_specification command defines which stations are to be tested with each specification. The command file could include the following commands:
test_specification order_1 A123 AZB1 AA8X
test_specification order_2 A01C B0XP B1FG
test_specification order_2 B09A AZ01 A123
Note that there more than one order (specification) can be tested in an adjustment, and that a station can be included in more than order for the purposes of testing. Also there may be many commands for each specification. In this case every vector between the six stations listed for order_2 will be calculated and tested against the order_2 specifications. Similarly every vector between the three stations listed for order_1 testing will be tested. This results in a report in the listing file detailing how well the survey matched against the specifications. The content of the report may be modified with the spec_test_options command. This command is also used to choose whether apriori or aposteriori errors are used in the test.
The relative accuracy of the coordinates depends very much upon the accuracies specified for the observations. In particular if the apriori accuracies are used, then scaling all the observation accuracies will have the effect of scaling the apparent relative accuracy of the coordinates by the same amount. Clearly it is meaningless to apply these tests unless the specified observation accuracies are about correct (see Improving estimates of observation errors).
If apriori accuracies are tested, then the tests are only valid if the standard error of unit weight is one or less.
The procedure for testing the relative accuracies of stations in the adjustment is thus:
This will result in a listing similar to that shown below:
================================================================
RELATIVE ACCURACY TESTS
================================================================
Testing order specifications: ORDER_3
Based on 95.00 apriori confidence limits
Horizontal accuracy: 10.0 mm 3.000 ppm (error multiplier: 1.73)
Ratio of calculated error to tolerance
===================================
From To Length Horizontal
===================================
4 239 1927 1.52
79 236 1951 1.22
83 239 3985 1.18
Horizontal tolerance:
Stations tested: 15
Vectors tested: 120
Vectors exceeding tolerance: 3
Largest error/tolerance: 1.52 (4 to 239)