Re: ncl advance time

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 02 2011 - 05:42:56 MDT

I think this is more appropriate for wrfhelp@ucar.edu

==
Still, it is not clear what your objective is.

There are numerous "date" functions in NCL.

http://www.ncl.ucar.edu/Document/Functions/date.shtml

On 11/1/11 11:48 AM, JiangZiqiang wrote:
> Hello,
>
> In WRFDA, there is a program "advance_time.exe" for time cycle.
> ./advance_time.exe
> Usage: advance_time ccyymmddhh[nnss] [+|-]dt[d|h|m|s] [-w|-W|-wrf|-WRF]
> [-f|-F date_format] [-j|-J] [-g|-G]
> Option: -w|-W|-wrf|-WRF output in wrf date format as ccyy-mm-dd_hh:nn:ss
> -f|-F specify output date format, such as ccyy-mm-dd_hh:nn:ss, or
> 'ccyy/mm/dd hh:nn:ss'
> -j|-J print Julian day
> -g|-G print Gregorian days and seconds (since year 1601)
> Example: advance_time 20070730 12 # advance 12 h
> advance_time 2007073012 -1d2h30m30s # back 1 day 2 hours 30 min and 30 sec
> &n bsp; advance_time 2007073012 1s-3h30m # back 3 hours 30 minutes less
> 1 second
> advance_time 200707301200 1d1s -w # advance 1 day 1 sec, output in wrf
> date format
> advance_time 2007-07-30_12:00:00 2d1s -w # same as previous example
> advance_time 200707301200 2d1s -f ccyy-mm-dd_hh:nn:ss # same as previous
> advance_time 2007073006 120 -j # advance 120 h, and print year and
> Julian day
> advance_time 2007073006 120 -J & nbsp; # advance 120 h, print year,
> Julian day, hour, minute and second
> advance_time 2007073006 0 -g # print Gregorian day and second (since
> year 1601)
>
> So, I want to know if there is a similar function in NCL, that is
> convenient for time series.
>
> Thanks for your help
>
> Ziqiang
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 2 05:43:01 2011

This archive was generated by hypermail 2.1.8 : Fri Nov 04 2011 - 08:43:41 MDT