[gradsusr] the different between averaging dan time series

Jeff Duda jeffduda319 at gmail.com
Wed Aug 8 23:15:47 EDT 2012


Yes.  'set t #' would work for any value of #.

Jeff

On Wed, Aug 8, 2012 at 8:28 PM, wendi harjupa <wendiharjupa at gmail.com>wrote:

> Dear Mr Jeff
>
> Thank you very much for the checking my script,
> Yes, for the first exercise I want to plot it as a horizontal cross
> section,
> but I am confuse to set the time,
>
> If I am not wrong to interpreting your explanation,
> so, I have to make 'set t 1'
> and the script should be like this?
>
> 'set lon 100 100.8'
> 'set lat -0.45'
> 'set t 1'
> 'd ave(ref, t=1, t=15)'
>
> Thank you
>
> Best regards,
> wendi
>
>
>
> On Thu, Aug 9, 2012 at 2:05 AM, Jeff Duda <jeffduda319 at gmail.com> wrote:
>
>> Be careful how you set your dimension environment.  For the first
>> exercise, it appears your dimension environment is varying in time, fixed
>> in the y-direction, but varying slightly in the x-direction.  The resulting
>> plot you'll get is then a horizontal cross section of the 1-hr averaged
>> reflectivity at each point.  It will display the same variables 15 times
>> since your time dimension is varying.  You could simplify that and still
>> get the same response by keeping your time dimension fixed (the specific
>> value for t doesn't matter since you're specifying the time indices of the
>> average).
>>
>> For the second exercise, you need to set your x-dimension to fixed in
>> order to get a time series.  Otherwise you'll again get a horizontal cross
>> section as in the first exercise.  Otherwise, the code is fine.
>>
>> Jeff Duda
>>
>> On Wed, Aug 8, 2012 at 12:15 AM, wendi harjupa <wendiharjupa at gmail.com>wrote:
>>
>>> Dear Sir/Madam
>>>
>>> I need your help
>>>
>>> I have ctl file as below :
>>>
>>> DSET
>>> /misc/home/wendi/data1/radar/kototabang/XDR/data/%y4%m2%d2/%d2%h2.dat
>>> TITLE  RADAR
>>> OPTIONS  TEMPLATE LITTLE_ENDIAN
>>> UNDEF  -1000
>>> XDEF    321 LINEAR    99.688120996    0.004492369
>>> YDEF    321 LINEAR    -1.083708891    0.004522556
>>> ZDEF    39  LINEAR   1.0 0.5
>>> TDEF    15 LINEAR 14:00Z10apr2004  4mn
>>> VARS    2
>>> ref 39  99  Reflectivity(dBZ)
>>> vel 39  99  Doppler Velocity(m/s)
>>> ENDVARS
>>>
>>> If I want to make average for one hour, is it ok if my gs file as below?
>>>
>>> 'set lon 100 100.8'
>>> 'set lat -0.45'
>>> 'set t 1 15'
>>> 'set t 1'
>>> 'd ave(ref, t=1, t=15)'
>>>
>>> Then I want to display time series of data (not averaging), is it ok if
>>> my gs file as below?
>>>
>>> 'set lon 100 100.8'
>>> 'set lat -0.45'
>>> 'set t 1 15'
>>> 'set t 15'
>>> 'd ref'
>>>
>>> Please give me any comment, I am very confuse about it,
>>>
>>> Thank you
>>>
>>> best regards,
>>> wendi
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> -------------
>>> Wendi Harjupa. ST
>>> Shimane University Graduate School of Engineering Sciences
>>> Department of Electronic Control Systems
>>> Remote Sensing Laboratory
>>> s119447
>>> Cellphone : +81-080-4268-6676
>>> email : wendi at rslab.riko.shimane-u.ac.jp
>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>>
>> --
>> Jeff Duda
>> Graduate research assistant
>> University of Oklahoma School of Meteorology
>> Center for Analysis and Prediction of Storms
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> -------------
> Wendi Harjupa. ST
> Shimane University Graduate School of Engineering Sciences
> Department of Electronic Control Systems
> Remote Sensing Laboratory
> s119447
> Cellphone : +81-080-4268-6676
> email : wendi at rslab.riko.shimane-u.ac.jp
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120808/4f647eb2/attachment-0003.html 


More information about the gradsusr mailing list