Catalog format and provenance

For trigger fields, units, and the output directory layout, start with Reading and Analyzing Results. The complete current trigger schema is documented by pycwb.types.trigger.Trigger.

Catalog job provenance

New master catalogs keep job descriptions in an immutable jobs.parquet next to catalog.parquet. The catalog footer contains a versioned pycwb_jobs_manifest reference with a relative path and manifest identity. The reader checks that identity when loading jobs. Older catalogs and batch fragments with inline jobs metadata remain supported. Ordinary Parquet inputs with neither inline jobs nor an explicit reference have no job metadata; they do not implicitly use a nearby jobs.parquet.

Selection, simulation matching and filtering, and scoring preserve source provenance in their single-run trigger outputs. A selected or scored catalog in another directory references the original manifest through a rebased relative path. It does not copy the full job list into each output. Different runs can therefore write outputs into the same temporary directory without sharing job metadata accidentally.

The manifest describes the full source run. It does not describe selection membership or selected exposure. Use the selection’s job-ID, progress, interval, and livetime outputs for those quantities; jobs with no triggers may still contribute exposure. Multi-run combined tables retain their separate per-run provenance model.

When transferring results, include the referenced manifest and preserve the relative directory layout. Moving only a manifest-backed catalog is insufficient. A missing, corrupt, or mismatched explicit manifest is an error, including when building a report. Do not remove its reference to suppress the error.

Pre-release files produced with an unmarked sibling manifest must be regenerated from their run inputs before using this format. The reader deliberately does not guess whether an unmarked Parquet file was intended to depend on that manifest.

Merge validation memory

Catalog merges use a shared, single-threaded DuckDB scratch database with a default memory budget of 128MB. Override it on the command line with an explicit positive size, for example:

pycwb merge --work-dir /path/to/run --duckdb-memory-limit 512MB

Python callers can pass duckdb_memory_limit="512MB" to merge_catalog or merge_progress. YAML workflows accept the same argument:

steps:
- id: merge
  action: pycwb.workflow.merge.merge_catalog
  args:
    working_dir: /path/to/run
    duckdb_memory_limit: 512MB

Sizes accept decimal or binary byte units, such as MB, GB, or MiB. This setting controls DuckDB’s internal budget; it does not cap total process memory or change the Condor memory request. Arrow arrays, Python objects and other merge buffers need additional memory. Large job descriptions remain in a separate temporary file regardless of this setting. Waveform merging does not use this option. Resuming a valid published merge reuses its outputs without opening a new DuckDB database.