I'm a bit unsure about what you mean here. Can you explain what you mean by:
>It might be nicer to have an interface similar to vector_to_grid which instead of taking u, v as arguments, takes a list of scalar arrays to be transformed.