modules.thirdPartyIntegrations
Classes
- class modules.thirdPartyIntegrations.LizhengKanChaProcess
Process Lizheng KanCha (勘察) table data for GDIM import.
Typical pipeline:: MdbReader.OutputTables -> LizhengKanChaProcess.InputTables LizhengKanChaProcess.OutputTables -> GdimTableWriter.InputTables Reads a ``TableCollection`` produced by ``MdbReader``, and maps Lizheng table / field names to GDIM reserved table / field names so the result can be written back to GDIM with ``GdimTableWriter``. Mapping is driven by CSV config files passed via module attributes.- Inherits from:
PipeModule
Methods:
- __init__(mname: str = 'LizhengKanChaProcess', auto_run: bool = True, tables: PortTypeHint.TableCollection | None = None, texture_mapping_path: str | Path | dict[str, Any] | None = None, fill_color_mapping_path: str | Path | dict[str, Any] | None = None, table_fields_map_path: str | Path | dict[str, Any] | None = None, age_latex_mapping_path: str | Path | dict[str, Any] | None = None) None
Initialize LizhengKanChaProcess.
Parameters
- tablesPortTypeHint.TableCollection | None, default: None
待处理的理正勘察表集合。也可通过
InputTables端口传入。- texture_mapping_pathstr | Path | dict | None, default: None
岩性名称 → GDIM 岩性 ID 映射文件路径。
- fill_color_mapping_pathstr | Path | dict | None, default: None
填充色映射文件路径。
- table_fields_map_pathstr | Path | dict | None, default: None
表字段映射文件路径。
- age_latex_mapping_pathstr | Path | dict | None, default: None
地质年代 LaTeX 映射文件路径。 Ports
- InputTablesPortTypeHint.TableCollection
理正勘察原始表集合。
- OutputTablesPortTypeHint.TableCollection
映射为 GDIM 保留表名和字段名后的表集合。
Attributes:
- InputTables: PortReference[PortTypeHint.TableCollection]
- OutputTables: PortReference[PortTypeHint.TableCollection]