Errors of point coordinate observations can be expressed either by a data definition statement #gx_enu_error, or explicitly for each vector.
The format for the #gx_enu_error data definition command is
#gx_enu_error value value value mm value value value mmr value value value ppmr
Note The use of the mmr and ppmr components requires care, as the current implementation can result in invalid (not positive definite) covariance matrices. This feature may not be available, or may change incompatibly, in future versions of SNAP.
The error is expressed as the millimetre error (mm) for the east north and up components of the vector. Optionally there can also be a covariance between components,expressed in terms of a millimetres (mmr) and part per million (ppmr) for the east, north and up dirextions. SNAP assumes that there is no correlation between the east, north, and up components or between the millimetre and part per million errors. The part per million error is calculated from the total length of the vector between the points, not from components of the lengths in the east, north and up directions.
The east north and up directions can be calculated either for the midpoint of each baseline individually or for a single reference point in the network. This is controlled by the gps_vertical command in the command file. If a single point is used then by default it is the midpoint of the network. It can be explicitly defined in the command file using the topocentre command.
The default values for the error can be overridden for a specific point observation. This is done by following the value of the vector by the word error and then the east, north, and up components of the error in metres. For example:
50939 -5017447.3274 2541871.5325 -2999379.7199 error 0.03 0.06 0.09
Errors cannot be overridden for grouped sets of point coordinates.
Point coordinate errors are entered explicitly for each vector if the #data data definition command includes "error" with the definition of the GPS observation. The format used to express the error is defined by the #gps_error_type data definition command. The format differs between individual point observations (line format) and correlated sets of point observations (grouped data format).
For individual point observations the errors of each vector are listed with the observation. The format defined by #gps_error_type can be one of full (the default), correlation, diagonal, or enu. The data required for each format is as follows:
Cxx Cyx Cyy Czx Czy Czz
Sx Sy Sz cyx czx czz
Sx Sy Sz
Se Sn Su
In all cases covariances are expressed in metres squared, and standard errors in metres.
For grouped point coordinate observations the errors must express the correlation between the vectors as well as between the components of each vector. This is done with the grouped with covariance format. That is, the set of observations is followed by a covariance matrix. The covariance matrix starts with a data definition command #end_set, which marks the end of the data. Subsequent lines contain the matrix values. These values may be spread over as many lines as are required.
Errors of grouped observations can be expressed in any of the four formats listed above.
For the full format the lower triangle of the covariance matrix follows the set of observations. The rows of the matrix represent the X, Y, and Z components of the first vector, then of the second vector, and so on. The order of elements is thus
C(x1,x1)
C(y1,x1) C(y1,y1)
C(z1,x1) C(z1,y1) C(z1,z1)
C(x2,x1) C(x2,y1) C(x2,z1) C(x2,x2)
C(y2,x1) ....
where C(x2,y1) represents the covariance between the x component of the second vector and the y component of the first.
For the correlation format the standard errors of the XYZ components of the vector are listed on the same line as the vectors as three numbers (Sx, Sy, Sz). The set of observations is followed by the lower triangle of the correlation matrix. In this case the leading diagonal of the matrix is omitted, since each element must be 1. The order of elements in the matrix is thus
c(y1,x1)
c(z1,x1) c(z1,y1)
c(x2,x1) c(x2,y1) c(x2,z1)
c(y2,x1) ....
where c(x2,y1) represents the correlation between the x component of the second vector and the y component of the first.
The diagonal and enu formats are entered just the same way as for individual observations (and indeed there is no advantage to grouping the observations, as there is no correlation between them.