mapping data to a texture

I am trying to map some scientific data to a texture in OpenGL, so that I can process it using a fragment shader… I know how to read a bitmap from file and bind it, however I am a little at a loss as to how to generate a texture from data. What format does a texture object take in OpenGL?

any help would be appreciated,

Look at: