Interpolating data based on inpaint_nans