Skip to content

make a new dimension with dataset.merge #6618

Closed
@PLSeuJ

Description

@PLSeuJ

Is your feature request related to a problem?

I was trying to combine datasets with a field data (i.e. radar signal data on a lat and lon grid) each dataset being from a different point of time. As far as I could understand, there currently is no straight forward way to do this in xarray (or at least I did not find it).

Describe the solution you'd like

Maybe this would be a nice thing to add internally (e.g. xr.merge([ds1, ds2], newaxis='time')). Or in case I just did not find it, lets add it to the Combining data Documentation site for easy access.

Describe alternatives you've considered

I added a new coordinate and dimension (i.e. 'time') to every dataset individually before using merge for the datasets.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan to closeMay be closeable, needs more eyeballs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions