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

Manually modify time axis of a cube #67

Open
SarahVal opened this issue Aug 31, 2022 · 1 comment
Open

Manually modify time axis of a cube #67

SarahVal opened this issue Aug 31, 2022 · 1 comment

Comments

@SarahVal
Copy link

Hi,
I am trying to join two cubes with join_bands function, by they do not have the same time axis values, thus raising an error from join_bands.
Is there a way to artificially modify the time axis from one cube to make the join_bands function working?
Thanks !

@appelmar
Copy link
Owner

Sorry for the late reply! In some cases, aggregate_time() can help to align the time axes of two cubes. If not, the only way is to use the same dimensions when creating the cubes , i.e., use the higher temporal resolution of the two data cubes for both cubes and accept lots of "empty slices". Does this help?

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

No branches or pull requests

2 participants