-
Notifications
You must be signed in to change notification settings - Fork 0
FGT
Cristian Lussana edited this page Mar 4, 2021
·
8 revisions
Test based on the statistics of the deviations between observations and background (or first-guess) fields in a circular region around each observation. Bad observations are those that deviate too much with respect to the statistics computed through the neighbours.
Returned values are: the p-vector of the quality flags
flag | description |
---|---|
-999 | missing flag (observation not checked) |
0 | good observation |
1 | bad observation |
11 | isolated observation, it is the only observation inside the inner circle |
12 | isolated observation, less than num_min_outer observations inside outer circle |
The constants to keep in mind are:
- M, the number of observation providers
- B, the number of background fields (see
--fg.files
) - N, the total number of tests. Each test is applied to just one background field. The N-vector
fgt_fglab.fg
matches the tests with the background fields. Example:fgt_fglab.fg
equals to (1,1,2), then: three tests are defined; the first two tests will make use of the first background file; the third test will make use of the second background field. The order of the background fields is given by the input order infg.file
The list of parameters is (type vector = it is possible to specify a sequence of buddy checks):
parameter | description | type |
---|---|---|
fgt | do it, true or false | logical |
fgt.code | code identifying bad observation flagged by the test | scalar |
i.fg | number of repetitions of the entire sequence of checks | scalar |
break.fg | break the loop over the tests if less than this number of observations has been flagged | scalar |
transf.fg | transform values before doing the check | scalar |
doit.fg | specify on a provider basis if the observations have to be tested (0=no; 1=yes) | M-vector |
prio.fg | specify on a provider basis the priorities the observations have (the smaller the number, the higher the piority) | M-vector |
fgt_fglab.fg | labels identifying which of the background fields have to be used in the test | N-vector |
circle.fg | radius (m) of the circle | N-vector |
tpos.fg | threshold when the observed value is greater than the background | (N*M)-vector |
tneg.fg | threshold when the observed value is smaller than the background | (N*M)-vector |
num_min_outer.fg | minimum number of observations required inside the outer circle | N-vector |
num_max_outer.fg | maximum number of observations used | N-vector |
aggn_radius.fg | radius defining the background aggregation area | N-vector |
num_max_aggn.fg | maximum number of points considered inside the background aggregation area | N-vector |
Notes:
- (N*M)-vectors. for each check in the sequence and for each provider, specify one value.
- doit.fg. one value for each provider. If only one value is specified, it is assumed it is the same for all providers.
- prio.fg. one value for each provider. If only one value is specified, it is assumed it is the same for all providers.
- tpos(tneg).fg. one value for each pair provider/test. If only one value is specified, it is assumed it is the same for all providers.
- other vectors, if just one scalar value is passed, then it is usually recycled for all elements.
Copyright (C) 2021 MET Norway. Titan is licensed under GPL version 3 or (at your option) any later version.