tsteps.gsf
Name
tsteps() - Get number of time steps for a particular month or year.
Synopsis
ret = tsteps( year [, month] )
Options and Return values
- year
- Year.
- month
- Month (not always necessary).
- ret
- Number of time steps for the month when month is specified, or that for year when month is not specified.
Examples
(1) Obtain number of time steps in 2008.
-
test.gs
'reinit' rc = gsfallow( 'on' ) 'open t.ctl' say tsteps( 2008 )
-
console
ga-> test 1464
Script source code
- tsteps.gsf (necessary)