Skip to content

Bug fix in exporting extra variables, added MCMC stats#123

Merged
btobers merged 3 commits into
masterfrom
output_patch
Sep 10, 2025
Merged

Bug fix in exporting extra variables, added MCMC stats#123
btobers merged 3 commits into
masterfrom
output_patch

Conversation

@btobers
Copy link
Copy Markdown
Collaborator

@btobers btobers commented Sep 9, 2025

Resolves bug when running simulations and attempting to export extra model vars using the flag export_extra_vars. Previously, if export_extra_vars was not set as True in PyGEM's configuration file, an error would be thrown. Now, pygem.output takes export_extra_vars from the command-line argument. A simple MCMC statistics output was also added, addressing #105.

@btobers btobers marked this pull request as ready for review September 10, 2025 13:03
@btobers btobers requested a review from drounce September 10, 2025 13:03
@btobers
Copy link
Copy Markdown
Collaborator Author

btobers commented Sep 10, 2025

Closes #105 - MCMC stats function created to calculate some basic statics on each MCMC calibrated parameter. Also patches a minor bug in the output of run_simulation when the export_extra_vars option is selected.

@btobers btobers linked an issue Sep 10, 2025 that may be closed by this pull request
@btobers btobers merged commit b1830bb into master Sep 10, 2025
1 check passed
@btobers btobers deleted the output_patch branch September 10, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add MCMC stats to calibration output

2 participants