metobs_toolkit.Dataset.update_titan_qc_settings#

Dataset.update_titan_qc_settings(obstype='temp', buddy_radius=None, buddy_num_min=None, buddy_threshold=None, buddy_max_elev_diff=None, buddy_elev_gradient=None, buddy_min_std=None, buddy_num_iterations=None, buddy_debug=None, sct_num_min_outer=None, sct_num_max_outer=None, sct_inner_radius=None, sct_outer_radius=None, sct_num_iterations=None, sct_num_min_prof=None, sct_min_elev_diff=None, sct_min_horizontal_scale=None, sct_max_horizontal_scale=None, sct_kth_closest_obs_horizontal_scale=None, sct_vertical_scale=None, sct_mina_deviation=None, sct_maxa_deviation=None, sct_minv_deviation=None, sct_maxv_deviation=None, sct_eps2=None, sct_tpos=None, sct_tneg=None, sct_basic=None, sct_debug=None)[source]#

Update the TITAN QC settings for the specified observation type.

If a argument value is None, the default settings will not be updated.

For a detailed explanation of the settings, we refer to the [TITAN documetation](metno/titanlib)

Parameters:
  • for. (The observation type to update the quality control settings)

  • 'temp'. (The default is)

  • buddy_radius (int (> 0), optional) – Search radius in m. The default is None.

  • buddy_num_min (int (> 0), optional) – The minimum number of buddies a station can have. The default is None.

  • buddy_threshold (num (> 0), optional) – The variance threshold for flagging a station. The default is None.

  • buddy_max_elev_diff (num, optional) – The maximum difference in elevation for a buddy (if negative will not check for heigh difference). The default is None.

  • buddy_elev_gradient (num, optional) – Linear elevation temperature gradient with height. The default is None.

  • buddy_min_std (num (> 0), optional) – If the standard deviation of values in a neighborhood are less than min_std, min_std will be used instead. The default is None.

  • buddy_num_iterations (int (> 0), optional) – The number of iterations to perform. The default is None.

  • buddy_debug (bool, optional) – If True, print out debug information. The default is None.

  • sct_num_min_outer (int (> 0), optional) – Minimal points in outer circle. The default is None.

  • sct_num_max_outer (int (> 0), optional) – Maximal points in outer circle. The default is None.

  • sct_inner_radius (num (> 0), optional) – Radius of inner circle. The default is None.

  • sct_outer_radius (num (> 0), optional) – Radius of outer circle. The default is None.

  • sct_num_iterations (int (> 0), optional) – Number of iterations. The default is None.

  • sct_num_min_prof (int (> 0), optional) – Minimum number of observations to compute vertical profile. The default is None.

  • sct_min_elev_diff (num (> 0), optional) – Minimum elevation difference to compute vertical profile. The default is None.

  • sct_min_horizontal_scale (num (> 0), optional) – Minimum horizontal decorrelation length. The default is None.

  • sct_max_horizontal_scale (num (> 0), optional) – Maximum horizontal decorrelation length. The default is None.

  • sct_kth_closest_obs_horizontal_scale (int (> 0), optional) – Number of closest observations to consider. The default is None.

  • sct_vertical_scale (num (> 0), optional) – Vertical decorrelation length. The default is None.

  • sct_mina_deviation (num (> 0), optional) – Minimum admissible value deviation. The default is None.

  • sct_maxa_deviation (num (> 0), optional) – Maximum admissible value deviation. The default is None.

  • sct_minv_deviation (num (> 0), optional) – Minimum valid value deviation. The default is None.

  • sct_maxv_deviation (num (> 0), optional) – Maximum valid value deviation. The default is None.

  • sct_eps2 (num (> 0), optional) – Ratio of observation error variance to background variance. The default is None.

  • sct_tpos (num (> 0), optional) – Positive deviation allowed. The default is None.

  • sct_tneg (num (> 0), optional) – Positive deviation allowed. The default is None.

  • sct_basic (bool, optional) – Basic mode. The default is None.

  • sct_debug (bool, optional) – If True, print out debug information. The default is None.

Return type:

None.