sec_interp.exporters.interpretation_exporters module

Interpretation exporters for SecInterp.

This module provides exporters for 2D interpretation data.

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

Bases: BaseExporter

Exports interpretations in 2D profile coordinates.

Initialize with settings.

Parameters:

settings – Dictionary of configuration settings.

__init__(settings: dict[str, Any])

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 was successful, False otherwise

Return type:

bool

get_supported_extensions() list[str]

Get list of supported file extensions.

Returns:

List of supported extensions.