SciTools/iris — pull request #1379 by rhattersley (2014-10-09 11:19:58+00:00)
Title: Break regrid circular dependency

This is a step on the road to getting rid of `iris.experimental.regrid` and bringing the functionality into `iris.analysis._...`. It breaks the circular dependency between the new-style linear and area-weighted interpolation modules and the old experimental regrid module.

In short:
- `iris.analysis._interpolator` is renamed as `iris.analysis._linear` (to mirror `iris.analysis._area_weighted`).
- A new `iris.analysis._interpolation` module is created to house common utility functions:
- Some from `iris.experimental.regrid`
- Some from `iris.analysis._linear`
- `_LINEAR_EXTRAPOLATION_MODES` is duplicated in `iris.experimental.regrid`. This is intended to be temporary, pending the move of the remaining interpolation routines.

Mostly it's just shuffling deckchairs, so it's not as complicated as it looks. :wink: