sec_interp.exporters.interpretation_exporters module

Interpretation export façade.

class sec_interp.exporters.interpretation_exporters.Interpretation2DExporter(settings: dict[str, Any])

Bases: BaseExporter

Exports interpretations in 2D profile coordinates.

__init__(settings: dict[str, Any]) None

Initialize with settings.

Parameters:

settings – Dictionary of configuration settings.

export(output_path: Path, data: dict[str, Any]) bool

Export interpretations to Shapefile.

Parameters:
  • output_path – Path to the output Shapefile (.shp)

  • data – Dictionary containing: - interpretations: List of InterpretationPolygon objects

Returns:

True if export successful, False otherwise

Return type:

bool

get_supported_extensions() list[str]

Get list of supported file extensions.

Returns:

List of supported extensions.