reject_observations selection_criteria
The reject_observations command is used to identify observations that will be rejected from the adjustment. Observations can be selected based upon observation type, observation date, stations used, and observation classifications.
Observations can also be reweighted or ignored based on selection criteria. Rejected observations are not used to calculate coordinates but do still have residuals calculated, whereas ignored observations are not included in the adjustment at all.
The selection criteria can include:
@classification=value
Specifies observations based on a classification. The classification can be one of "data_type", "data_file", or a user defined classification such as "EQUIPMENT". For classifications other than data_file multiple values can be entered separated by "/" characters (eg data_type=HA/AZ/PB). To specify values that include the "/" character the entire classification value can be included in either single or double quotes, (eg equipment="Kern/DKM2"). A single classification value can also include wildcards ? which matches any single character, and * which matches any number of characters (including none).
The "data_type" cannot include wildcards - the data type codes must be explicitly listed.
Values are interpreted slightly differently for testing "data_file" criteria. Data file critera can only specify one value - the "/" character is treated as part of a file path. Also the wildcard characters ? and * will not match a file path delimiter ("/" or "\"). However you can use ** to match any characters including path delimiters. Data file criteria can be preceded by "ignore_missing", "warn_missing", or "fail_missing" to specify the error handling if the specified data file is not in the adjustment.
before date
Selects observations dated before the specified date. The date can be formatted using the formats used in data files, except that the date cannot include spaces, and unknown is not valid.
after date
Selects observations dated after the specified date.
date_unknown
Selects observations for which the date is not specified.
using_stations station_list [end_stations]
Selects observations which connect to a station in the station list. The "end_stations" is only required if the list is followed by additional selection criteria.
between_stations station_list [end_stations]
Selects observations between stations in the station list. This also includes point observations at stations in the list. The "end_stations" is only required if the list is followed by additional selection criteria.
all_observations
Selects all observations in the adjustment
If more than one selection criterion is specified then only observations matching all criteria will be selected.
Warning: If the criteria include selection based on data files, then the data_file commands must be placed earlier in the SNAP command file.Examples of rejecting observations are:
reject_observations @equipment=DI20/TAPE
reject_observations before 2000-01-01 using_stations inside NZGD2000 affected_area.wkt
reject_observations ignore_missing @data_file=post_eq_*.dat