Documentation of get_time


Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)


Function Synopsis

tind = get_time(yr1,yr2,startyr);

Help text

  tind = get_time(yr1, yr2, startyr);

  yr1 = first year (returns Jan as 1)
  yr2 = last year (returns Dec as 12)
  startyr = first year of data set

  Returns monthly indices for a data set starting
  in year startyr, for years yr1-yr2.  This assumes
  12 months per year.

Cross-Reference Information

This function is called by

Listing of function get_time

function tind = get_time(yr1,yr2,startyr);

tind = (12*(yr1-startyr)+1):(12*(yr2-startyr)+12);