stilt.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
receptors.csv: the averaging kernels of satellite soundings, for one, which a transform names astable: kernels. It is kept astables/<name>.parquet, created if needed and otherwise added to. When the table has areceptorcolumn, rows of a receptor 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.
- Return type:
Examples
>>> receptors, kernels = receptors_from_soundings( ... df, "slant", top=3000 ... ) >>> project.add_receptors(receptors) >>> project.add_table("kernels", kernels)