Output Fluid Velocity Vector Field to Texture, Hint needed

So i was looking over some GDC slides and I came across the Naughty Dog talk about Flow Maps and how they used Fluids in Maya, specifically the Paint Fluid Velocity tool.

In the talk it is mentioned that a script was written to output the Velocity Vectors as Red and Green values in a texture map.

I’m looking for a hint to where I can find these velocity vectors. I’ve been digging through the attrs on fluid shapes and combing through maya ascii files to figure out where these values are stored…