appelmar/gdalcubes

Manually modify time axis of a cube

Opened this issue · 1 comments

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 !

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?