Skip to content

Comparer.merge keeps time steps where only an auxiliary value is missing - #738

Open
ecomodeller wants to merge 1 commit into
mainfrom
merge-keep-aux-nan
Open

ecomodeller wants to merge 1 commit into
mainfrom
merge-keep-aux-nan

Conversation

@ecomodeller

Copy link
Copy Markdown
Member

Closes #726.

merge() dropped every time step with a NaN in any variable, auxiliary ones included. It now drops only where the observation or a model is missing, as match() does. The docstring states that merging restricts all models to the time steps they share.

🤖 Generated with Claude Code

Closes #726

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comparer.merge drops time steps where an auxiliary variable is NaN

1 participant