Fix resampling bug leading to NaNs in output
Fix resampling bug leading to NaNs in output

We used to interpolate "in place", which may lead to wrong results.

The solution is to use a (reused) interpolation buffer and write
to the target variable when done interpolating the block.

stcorp/harp,stcorp/harp,stcorp/harp,stcorp/harp,stcorp/harp,stcorp/harp