[gradsusr] setting time with intervals

Jeff Duda jeffduda319 at gmail.com
Tue Jan 15 11:03:21 EST 2013


What do you want to do with the data?  Do you want to make plots in Grads
or just extract the data?  If it's the latter, then you don't really even
need to use Grads.

Jeff

On Tue, Jan 15, 2013 at 8:47 AM, Sagar P Parajuli <psagar at utexas.edu> wrote:

> Hi Jeff,
> I think I didn't clarify my question. I am writing control file for
> extracting some wind speed data corresponding to particular time of a day.
> What I could do in grads is:
>  set t 1 last
> But I want to do this skipping certain values eg. I want values
> corresponding to t = 1, 3, 5, 7, 9, etc (i.e. with certain interval). So, I
> need to skip some data and only extract those datas.
> How can I do this?
>
>
> Thank you so much again.
>
>
>
> Sagar
>
>
>
> On Mon, Jan 14, 2013 at 11:13 PM, Jeff Duda <jeffduda319 at gmail.com> wrote:
>
>> Time interval is specified in the control file used to open the data
>> file.  However, if you used xdfopen or sdfopen, there may be a different
>> way to determine the time interval.  In those cases, you should be able to
>> find it by dumping the contents.  If your data are in netCDF format, for
>> example, you could use ncdump -h (data file) to find out.
>>
>> Jeff Duda
>>
>> On Mon, Jan 14, 2013 at 9:47 PM, Sagar P Parajuli <psagar at utexas.edu>wrote:
>>
>>> Hi all,
>>> I need to extract wind speed data at a particular time (12:00 pm only)
>>> everyday from the 6 hourly data of one year. So I need to set time as,
>>> t = 1, 1460, 2 (start, end, interval). How is the time interval
>>> specified in grads?
>>>
>>> Thank you very much for your help.
>>>
>>>
>>> **
>>>
>>>
>>> * *
>>>
>>> *Sagar P. Parajuli*
>>>
>>> **Graduate Research Assistant
>>>
>>> The University of Texas at Austin
>>> Jackson School of Geosciences
>>> e-mail: psagar at utexas.edu
>>> Contact: +1 512 965 4093
>>> _______________________________________________
>>> 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
>>
>>
>
>
> --
>
> **
> Best regards,
>
>
> * *
>
> *Sagar P. Parajuli*
>
> **Graduate Research Assistant
>
> The University of Texas at Austin
> Jackson School of Geosciences
> e-mail: psagar at utexas.edu
> Contact: +1 512 965 4093
>
> _______________________________________________
> 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/20130115/7d859bad/attachment-0003.html 


More information about the gradsusr mailing list