Skip to content

Add Base.merge and Base.merge! for NCCatalog #412

Description

@ph-kev

While looking at the CompositeDataLoader in ClimaCoupler (at https://github.com/CliMA/ClimaCoupler.jl/blob/02a374599bd828383a58dd8bf61c8ccb3f04891d/src/CalibrationTools.jl#L211), I realized the code can be simplified if a merge function is available.

This function would just merge two NCCatalogs together. If there are duplicate names, then we can follow the same behavior for merging dictionaries and the rightmost argument that owns the key gets its value in the dictionary.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions