Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)
tind = get_time(yr1,yr2,startyr);
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.
This function is called by | |
---|---|
function tind = get_time(yr1,yr2,startyr); tind = (12*(yr1-startyr)+1):(12*(yr2-startyr)+12);