SciTools/iris — pull request #854 by kwilliams-mo (2013-11-21 15:33:28+00:00)
Title: Bug fix - iris.unit.monotonic return direction value. 

`iris.unit.monotonic` return direction value was 1 when array elements are descending, and some are identical. Fixed this to be -1. Added some tests for return direction value in TestMonotonic. This fix is for issue #837.