handle case when no data could be interpolated (return None)