SciTools/iris — pull request #1140 by cpelley (2014-05-28 14:18:09+00:00)
Title: BUG: Extraction of scalar cubes

Fixes the issue with performing extraction on scalar cubes or cube lists containing scalar cubes.

*Approach taken:* Utilise existing index based code (_ColumnIndexManager) by taking a copy of the original cube and reshaping it (ndim=1). Taking this copy allows us to return the original scalar cube (this is consistent with the current behaviour of non scalar cubes where the constraint matches the entire cube).

*Note:* The approach taken copies the scalar cube and also touches the data in reshaping it.