This feels like something that should be abstracted and would find reuse, but it's not a big enough deal to hold back. _Originally posted by @ZwFink in https://github.com/Olympus-HPC/proteus/pull/426#discussion_r2920152586_