prometheus_equilibrium.tools.build_db

CLI for building thermodynamic databases from raw source files.

Entry point registered in pyproject.toml as Prometheus-build.

Subcommands

nasa7

Parse a Burcat7 .thr file → nasa7.json

nasa9

Parse Burcat9 .thr and/or CEA thermo.inp → unified nasa9.json

janaf

Parse a JANAF .jnf file → janaf.csv

shomate

Validate and merge a hand-authored shomate.json

all

Run all of the above from a source directory

Modes

--mode overwrite

Rebuild from scratch; existing output is replaced.

--mode append

Add new species only; keep existing records on conflict (default for nasa9).

--mode interactive

Prompt for each conflicting species (default for all).

Source labels

Every subcommand asks for a --source label (or --burcat-source / --cea-source for the nasa9 dual-source case). If the flag is omitted the script prompts for it interactively, because the label is embedded in every compiled record and is shown during conflict resolution.

Functions

main()

prometheus_equilibrium.tools.build_db.main() None