title: Resample array from high resolution to low
body: <p>I have an issue that I have not been able to solve correctly using scipy. I would like to 
  resample and array such that I reduce the resolution (going from higher to lower) but, and here's where things get problematic, the new array shape is not a factor of the old one.
  For example:</p>
  
  <pre><code> lat = scipy.mgrid[-14.0:14+0.25:0.25]
   lon = scipy.mgrid[100.0:300+0.25:0.25]
   z = rand((lat.shape[0],lon.shape[0]))
   new_res = 0.70135
  </code></pre>
  
  <p>Now I have an array z with a spatial resolution of 0.25 and I want to decrease this to new_res. any ideas how this can be done using scipy or by hand? A futher complication is that bad data will often exist in the array z, i.e., z[0.20] might be nan.</p>
  
  <p>Appreciate your help and thoughts</p>