Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concatenate cubes in time #381

Open
MartinuzziFrancesco opened this issue Mar 14, 2024 · 2 comments
Open

Concatenate cubes in time #381

MartinuzziFrancesco opened this issue Mar 14, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@MartinuzziFrancesco
Copy link
Collaborator

In the docs there's an example on how to concatenate cubes with different variables, so I was wondering if it is possible to concatenate cubes with same variables but on different years (eg 2011-2012) in the same cube. Also if there is a way to do it, I think it would be a nice addition to the docs

@felixcremer
Copy link
Member

If you have two cubes that have the same dimensions except for the Time axis you should be able to use cat(c1, c2, dims=Ti) for the concatenation.

@lazarusA
Copy link
Collaborator

what about providing a complete MWE here?

@lazarusA lazarusA added the documentation Improvements or additions to documentation label Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants