[gradsusr] time dimension increment
Djordje Romanic
djordje8 at gmail.com
Wed Apr 6 05:00:12 EDT 2011
Thanks a lot... (I had to put END statment after the endwhile line)
However, when I ran the script, I receive the following error message:
SET error: Invalid operand
Operand = t1
SET error: Invalid operand
Operand = t11
SET error: Invalid operand
Operand = t21
SET error: Invalid operand
Operand = t31
SET error: Invalid operand
Operand = t41
SET error: Invalid operand
Operand = t51
SET error: Invalid operand
Operand = t61
SET error: Invalid operand
Operand = t71
SET error: Invalid operand
Operand = t81
SET error: Invalid operand
Operand = t91
SET error: Invalid operand
Operand = t101
have any idea what where is the problem?
Regards,
Djordje
2011/4/5 Jeffrey Duda <jdduda at iastate.edu>
> Use a while loop:
>
> n = 0
> while (n <= 10)
> tt = 1+10*n
> 'set t 'tt
> 'd var'
> n = n + 1
> endwhile
>
> Jeff Duda
>
> On Tue, Apr 5, 2011 at 4:45 AM, Djordje Romanic <djordje8 at gmail.com>wrote:
>
>> Dear Users,
>>
>> I have a time series of 100 data and I want to exclude (or to display,
>> whatever) each 10-th member (value) of the series (1,10,20,30,40,...,100).
>> Please, can someone help me with this?
>>
>> Kind regards,
>> Djordje
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> Jeff Duda
> Iowa State University
> Meteorology Graduate Student
> 3134 Agronomy Hall
> www.meteor.iastate.edu/~jdduda
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110406/10f09bca/attachment-0003.html
More information about the gradsusr
mailing list