Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[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] =
findwetbulb(temperature[i][j][k],dewpoint[i][j][k],pressure[i][j][k]),
where i,j are subscripts for the latitude and longitude and k for the
height.

Thanks in advance,

Paul


  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvusers archives: