pycsamt.format.borehole.relational#
Manifest-driven relational CSV import and export for PCBH.
Functions
|
Import joined collar, survey, log, structure, sample, assay tables. |
|
Export supported PCBH content as a relational CSV directory. |
Classes
|
Validated description of a PCBH relational CSV directory. |
- class pycsamt.format.borehole.relational.RelationalManifest(crs_horizontal, tables, depth_unit='m', resistivity_unit='ohm.m', version='0.1.0')[source]
Bases:
PyCSAMTObjectValidated description of a PCBH relational CSV directory.
- Parameters:
- crs_horizontal: str
- depth_unit: str = 'm'
- resistivity_unit: str = 'ohm.m'
- version: str = '0.1.0'
- classmethod read(path)[source]
Read a manifest with
yaml.safe_loadand validate it.
- validate()[source]
Validate version, units, table names, and safe relative paths.
- Return type:
None
- pycsamt.format.borehole.relational.boreholes_from_csv_directory(directory, *, manifest='import.yaml', strict=True, document_id=None, created_by='pycsamt relational CSV importer')[source]
Import joined collar, survey, log, structure, sample, assay tables.