Consider using ```iris.utils.monotonic```, which can return the direction.