numpy_util: handle differen vrt data formats
numpy_util fixes