comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to make IDL faster
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How to make IDL faster [message #36775] Tue, 28 October 2003 21:35 Go to previous message
parkkw is currently offline  parkkw
Messages: 4
Registered: October 2003
Junior Member
Hello
I write message first time.
If I want to compare trmm satellite data with ground point data,
I used to this line.

geo(0,207,2985) : trmm latitute
geo(1,*,*) : trmm longitute
lat : ground location(latitute)
lon : ground location(longitute)
rain : automatic weather system rainfall data
highf(0,207,2985) : trmm brightness temperature data

for i=0,207 do begin
for j=1200,1700 do begin
for k=0,di(0)-1 do begin

if geo(0,i,j) gt lat(k)-0.04 and geo(0,i,j) lt lat(k)+0.04 and $
geo(1,i,j) gt lon(k)-0.04 and geo(1,i,j) lt lon(k)+0.04 then begin
printf,lun3,loc(k),lon(k),lat(k),rain1(k),rain(k),highf(0,i, j)
endif

endfor
endfor
endfor

When I caculate 26 trmm data, I wait almost 2hour.
How can I change this program?
Help me.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Solving nonlinear equations
Next Topic: vector t-test?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:50:29 PDT 2025

Total time taken to generate the page: 0.00452 seconds