runtraj.Project.add_table#
- Project.add_table(name, table)[source]#
Add rows to one of the project’s input tables, and return its path.
A table is an input, like
releases.csv, that a stage’s settings name, as intable: kernels. It is kept astables/<name>.parquet, created if needed and otherwise added to. When the table has areleasecolumn, rows of a release it already holds are left out, so adding the same kernels again changes nothing.- Parameters:
- Raises:
ValueError – If table has other columns than the table it adds to, or the table was written with a
receptorcolumn, nowrelease.- Return type:
Examples
>>> releases, kernels = releases_from_soundings( ... df, "slant", top=3000 ... ) >>> project.add_releases(releases) >>> project.add_table("kernels", kernels)