- To: idvusers@xxxxxxxxxxxxxxxx
- Subject: [idvusers] What is the best way to iterate over a 3d grid using Jython?
- From: Paul Graham <meteorpaul@xxxxxxxxx>
- Date: Mon, 9 Dec 2013 14:39:03 +1100
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
- Follow-Ups:
- Re: [idvusers] What is the best way to iterate over a 3d grid using Jython?
- From: Tom Whittaker
- Re: [idvusers] What is the best way to iterate over a 3d grid using Jython?