Skip to content

Comments

Merge instead of + for combining comparers and collections, remove concatenation in time.#521

Merged
ecomodeller merged 13 commits intomainfrom
unique_comparer_name
Oct 31, 2025
Merged

Merge instead of + for combining comparers and collections, remove concatenation in time.#521
ecomodeller merged 13 commits intomainfrom
unique_comparer_name

Conversation

@ecomodeller
Copy link
Member

@ecomodeller ecomodeller commented Jun 12, 2025

Similar to:

Merge

Concat

Concat is a top-level function in pandas and Xarray (and a static method on Dataset in MIKEIO) that takes a list of objects to concatenate. If concatenation in time should be part of ModelSkill it makes sense if it behaves in a similar fashion.

Update: remove concatenation from ModelSkill, better to concatenate the model results using above libraries.

@ecomodeller ecomodeller changed the title Require unique names for comparers, to enforce explicit concat/merge. Concat, merge instead of + Jun 13, 2025
@ecomodeller ecomodeller changed the title Concat, merge instead of + Merge & concat instead of +for combining comparers and collections. Jun 13, 2025
@ecomodeller ecomodeller changed the title Merge & concat instead of +for combining comparers and collections. Merge & concat instead of + for combining comparers and collections. Jun 13, 2025
@ecomodeller ecomodeller changed the title Merge & concat instead of + for combining comparers and collections. Merge instead of + for combining comparers and collections, remove concatenation in time. Jun 13, 2025
@ecomodeller ecomodeller merged commit 24b85e3 into main Oct 31, 2025
2 checks passed
@ecomodeller ecomodeller deleted the unique_comparer_name branch October 31, 2025 13:21
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.

2 participants