sec_interp.exporters.profile_exporters module

Profile export façade.

Specific exporters for profile data (Shapefiles).

class sec_interp.exporters.profile_exporters.AxesShpExporter(settings: dict[str, Any])

Bases: BaseExporter

Exports the profile axes to a Shapefile.

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

Export the profile axes to a Shapefile.

Parameters:
  • output_path – Path to the output Shapefile.

  • data – Dictionary containing ‘profile_data’ and ‘crs’.

get_supported_extensions() list[str]

Get supported file extensions.

Returns:

List of supported extensions.

class sec_interp.exporters.profile_exporters.GeologyShpExporter(settings: dict[str, Any])

Bases: BaseExporter

Exports the geological profile to a Shapefile.

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

Export the geological profile to a Shapefile.

Parameters:
  • output_path – Path to the output Shapefile.

  • data – Dictionary containing ‘geology_data’ and ‘crs’.

get_supported_extensions() list[str]

Get supported file extensions.

Returns:

List of supported extensions.

class sec_interp.exporters.profile_exporters.ProfileLineShpExporter(settings: dict[str, Any])

Bases: BaseExporter

Exports the topographic profile line to a Shapefile.

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

Export the topographic profile line to a Shapefile.

Parameters:
  • output_path – Path to the output Shapefile.

  • data – Dictionary containing ‘profile_data’ and ‘crs’.

get_supported_extensions() list[str]

Get supported file extensions.

Returns:

List of supported extensions.

class sec_interp.exporters.profile_exporters.StructureShpExporter(settings: dict[str, Any])

Bases: BaseExporter

Exports the structural profile to a Shapefile.

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

Export the structural profile to a Shapefile.

Parameters:
  • output_path – Path to the output Shapefile.

  • data – Dictionary containing ‘structural_data’, ‘crs’, ‘dip_scale_factor’, and ‘raster_res’.

get_supported_extensions() list[str]

Get supported file extensions.

Returns:

List of supported extensions.