punpy.digital_effects_table.digital_effects_table_templates.DigitalEffectsTableTemplates.remove_unc_component

punpy.digital_effects_table.digital_effects_table_templates.DigitalEffectsTableTemplates.remove_unc_component#

DigitalEffectsTableTemplates.remove_unc_component(ds, variable, u_comp, err_corr_comp=None)[source]#

Function to remove an uncertainty component from a dataset

Parameters:
  • ds (xr.Dataset) – dataset from which uncertainty should be removed

  • variable (str) – variable from which uncertainty should be removed

  • u_comp (str) – name of uncertainty component that should be removed

  • err_corr_comp (str) – optionally, the name of the error correlation matrix component associated with this uncertainty component can be provided, so it is removed as well.

Returns:

dataset which uncertainty component removed

Return type:

xr.Dataset