aiqclib.classify.step2_calc_stats package

Submodules

aiqclib.classify.step2_calc_stats.dataset_all module

This module defines the SummaryDataSetAll class, a specialized class for calculating summary statistics specifically for BO NRT (Near Real-Time) and Cora test datasets using the Polars data manipulation library.

It extends SummaryStatsBase to provide a concrete implementation for these specific data contexts, integrating with a ConfigBase object for path and parameter management, and defining default output file names.

class aiqclib.classify.step2_calc_stats.dataset_all.SummaryDataSetAll(config, input_data=None)[source]

Bases: SummaryStatsBase

Subclass of SummaryStatsBase for calculating summary statistics for BO NRT and Cora test datasets (Copernicus CTD data) using Polars.

Sets expected_class_name to ‘SummaryDataSetAll’ to match the relevant YAML configuration.

Variables:

expected_class_name (str) – The name of the class used for configuration matching.

Parameters:
  • config (ConfigBase)

  • input_data (DataFrame | None)

default_file_name: str

Default output file name for summary statistics; can be overridden if necessary.

expected_class_name: str = 'SummaryDataSetAll'
output_file_name: str

The resolved absolute path for writing the summary statistics file, based on the configuration and self.default_file_name.