Concatenation failed #5203
-
Dear SciTools iris team, I contact you because I've been doing some tests to concatenate 2 files without success and it would be nice if you could give me some hint. It seems that the metadata is the same but there is no way to concatenate them. The code I use to concatenate is the next one:
I attach the files: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It looks like the problem may be due to the time coordinates.
and
So the time bounds are overlapping and one has the bounds increasing and the other has it decreasing. Iris requires dimension coords to be monotonic. Due to the bounds of the input cubes overlapping and increasing vs decreasing, Iris can't create a dimension coordinate for time for the concatenate cube and so it fails. To confirm this was the only problem preventing concatenation, I tried removing the bounds (i.e. |
Beta Was this translation helpful? Give feedback.
-
Hi @lbdreyer Thank you very much for the information. Removing time_bnds and re-adding them solved the issue and concatenation worked properly. Thanks a lot! Best regards, |
Beta Was this translation helpful? Give feedback.
It looks like the problem may be due to the time coordinates.
tasmax_201403.nc
produces a time coordinate:and
tasmax_201404.nc
produces a time coordinate:So the time bounds are overlapping and one has the bounds increasing and the other has it decreasing.
Iris requires dimension coords to be monotonic. Due to the bounds of the input cubes overlapping an…