SciTools/iris — pull request #1170 by esc24 (2014-06-10 14:50:33+00:00)
Title: Mdtol for area weighted

Area weighted regridding (iris.experimental.regrid.regrid_area_weighted_rectilinear_src_and_grid()) currently masks any element in the resulting cube if any contributing cells are masked. This PR allows a threshold on the fraction of missing data to be set (paralleling the behaviour of iris.analysis.Aggregator), so a user e.g. can accept up to 90% missing data by setting mdtol=0.9. I've set the default mdtol to 0 to maintain the existing behaviour, although this differs from the Aggregator default.

Replaces #1118 with the fraction of masked elements now being calculated based on the area of masked cells within each target cell rather than the number as before.