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

Home » Public Forums » archive » Re: Problem with for-slope
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problem with for-slope [message #48611] Thu, 04 May 2006 01:09 Go to previous message
Nexia is currently offline  Nexia
Messages: 3
Registered: May 2006
Junior Member
Hi,

thanks a lot. The problem could be solved yesterday befor i read your
answers this morning.

no the routine looks like this:

g=0
FOR k=5, nfiles_LM-1 DO BEGIN ; take the last 12 files
l=0
FOR i=0,nline_LM-1, 4. DO BEGIN ; take only every 4th value
time_LM_1h_oV(g,l)= time_LM(k,i)
t2m_LM_1h_oV(g,l)= t2m_LM(k,i)
rh2m_LM_1h_oV(g,l) = rhum_LM(k,i)
td2m_LM_1h_oV(g,l) = td2m_LM(k,i)
q2m_LM_1h_oV(g,l) = QV_2M_LM(k,i)
pres_LM_1h_oV(g,l) = pres_LM(k,i)
wspeed_LM_1h_oV(g,l)=windspeed_10m_LM(k,i)
l=l+1
ENDFOR
g=g+1
ENDFOR

This isn´t the most elegant solution for sure, but it´s doing its
job. But i will have a look at "subscript ranges" and the solution
without loops. There are so many things to learn :-).

Thanks for your help.

Nexia
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: filling an empty array
Next Topic: Re: Oh what is wrong with WHERE() ?

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

Current Time: Sat Oct 11 05:33:52 PDT 2025

Total time taken to generate the page: 1.92502 seconds