metobs_toolkit.gap.Gap.flag_can_be_filled#
- Gap.flag_can_be_filled(overwrite: bool = False) bool[source]#
Determine if the gap can be filled.
By default, a gap can be filled if it is not already filled or if the previous gapfill method failed for the gap. A gap that is already filled can only be updated if the overwrite flag is set to True.
- Parameters:
overwrite (bool, optional) – If True, allows filling regardless of the current fill status. Default is False.
- Returns:
True if the gap can be filled, False otherwise.
- Return type:
bool