Module for generating count masks

class eolearn.mask.mask_counting.ClassFrequencyTask(input_feature, output_feature, classes, no_data_value=0)[source]

Bases: eolearn.core.core_tasks.MapFeatureTask

Calculates frequencies of each provided class through the temporal dimension.

  • input_feature (an object supported by the FeatureParser) – A source feature from which to read the values.

  • output_feature (an object supported by the FeatureParser) – An output feature to which to write the frequencies.

  • classes (a list of integers) – Classes of which frequencies to calculate.


Map method being applied to the feature that calculates the frequencies.