PyOTIS: an open-source Python package for stream solute transport with transient storage
OTIS and OTIS-P provide transient-storage transport and parameter estimation, whereas E-OTIS adds coupled water-quality reactions in a separate MATLAB implementation. PyOTIS brings these workflows into an open-source Python package with legacy OTIS input support. Its contribution is software integration: a scriptable interface, structured simulation outputs, Jacobian-based parameter uncertainty, sensitivity analysis, and selectable transport schemes. A browser-based graphical user interface (GUI) provides example loading, custom parameter entry, breakthrough-curve and storage-zone plots, reference overlays, and calibration of supplied cases with confidence intervals. The package retains the OTIS Crank--Nicolson formulation and the E-OTIS reaction network; these are inherited model components rather than new process formulations. Evaluation distinguishes code comparisons, analytical convergence, and fits to observations. For the six OTIS manual examples, the comparisons distinguish model outputs from field observations and include agreement to seven significant figures for the steady-state iron profile. The nine-species E-OTIS comparison reports maximum absolute differences of order $10^{-14}$\,mg\,L$^{-1}$ against MATLAB. The conservative analytical benchmark shows approximately second-order convergence. For Clackamas River calibration, residual sums of squares differ from OTIS-P by 3.65--5.12\%, although individual parameter estimates differ by up to 39.1\%. These results support implementation consistency for the tested cases without establishing unique parameter estimates or validating every reaction pathway. Source code, example inputs, and verification scripts accompany the package.