| Environments | PYTHON :: EASI :: MODELER |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Example |
| Back to top |
| Back to top |
chipdbmerge(mfile, chipfile, recursive)
| Name | Type | Caption | Length | Value range |
|---|---|---|---|---|
| MFILE * | str | Input file name, directory, or text file | 1 - | |
| CHIPFILE * | str | Path to output merged chip database | 1 - | |
| RECURSIVE | str | Whether to search input directory recursively | 0 - | Default: NO |
| Back to top |
MFILE
Specifies the name of a folder, chip database file, or text file that contains the chip databases to be merged. The input files must be chip databases (.cdb). Wildcards(*) can be used
CHIPFILE
Specifies the name of the merged chip database
RECURSIVE
Whether to search input directory recursively
| Back to top |
Merge all chip database listed in the mfile into a single chip database.
| Back to top |
The following example merges all chip database under test into a chip database called "merged.cdb".
Note that the output folder "test/output" must exist.
from pci.chipdbmerge import chipdbmerge
mfile = "test/*.cdb" # input mfile
chipfile = "test/output/merged.cdb" # output file
chipdbmerge(mfile, chipfile)
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.