Skip to content

Convert

convert

Convert named-column population catalogues between CSV and HDF5.

Functions

convert_command

convert_command(input_path_arg: Annotated[Path, Option('--input', help='Source .csv, .h5, or .hdf5 population file.')], output: Annotated[Path, Option('--output', help='Destination .csv, .h5, or .hdf5 population file.')], column_map: Annotated[Path | None, Option('--column-map', help='Optional JSON/YAML mapping from source columns to canonical names.')] = None) -> None

Convert a named-column population file between CSV and HDF5 formats.