sec_interp.exporters.profile_exporters module

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

Bases: BaseExporter

Exports the profile axes to a Shapefile.

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

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][source]

Get supported file extensions.

Returns:

List of supported extensions.

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

Bases: BaseExporter

Exports the geological profile to a Shapefile.

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

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][source]

Get supported file extensions.

Returns:

List of supported extensions.

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

Bases: BaseExporter

Exports the topographic profile line to a Shapefile.

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

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][source]

Get supported file extensions.

Returns:

List of supported extensions.

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

Bases: BaseExporter

Exports the structural profile to a Shapefile.

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

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][source]

Get supported file extensions.

Returns:

List of supported extensions.