login

t2time.gsf

Top / GrADS / script / t2time.gsf

Japanese / English

Name

t2time() - Convert time step to time.

Synopsis

ret = t2time( t )

Options and Return values

t
Time step.
ret
Time corresponding to the time step. e.g. '01jan2000'.

Examples

(1) Show time at T=10.

  • test.gs
    'reinit'
    rc = gsfallow( 'on' )
    'open t.ctl'
    say t2time( 10 )
    
  • console
    ga-> test
    06Z03JAN2008
    

Script source code