rasterfuncs should pad arrays with nans rather than zeros