[idvusers] What is the best way to iterate over a 3d grid using Jython?

Hi IDV'ers,

I have written a Jython function which takes temperature, dewpoint and
pressure as arguments and evaluated at each point in a 3d domain to
calculate the wet bulb temperature.  What is the best way using Jython to
iterate over my domain so I can set the wetbulb result for each point?
Eg. wetbulbresult[i][j][k] =
where i,j are subscripts for the latitude and longitude and k for the

Thanks in advance,