Format registry#

load_case(path, *, skip_unmodeled=False)#

Parse a case from a file path, dispatching by lower-case suffix.

Raises ValueError for unknown extensions — that is the contract the CLI relies on to emit a readable error. Callers that want silent fallback behavior should index PARSER_BY_SUFFIX themselves.

skip_unmodeled forwards to the RAW parser's allow_unmodeled_sections; ignored for non-RAW formats.

gpf.PARSER_BY_SUFFIX: dict#
gpf.PRESET_BY_SUFFIX: dict#