SEASON_NAME Name
SEASON_NAME Purpose
This function returns the initials of the months contained in a given
season. Category
Calendar Calling Sequence
Result = season_name( Season [, Len_season] )
Inputs
Season: The index (January=0,...) value of the middle month of
the season. 0=January, ..., 11=December
Optional Inputs
Len_season: The number of months in a season. The default value is
"3". If Len_Season is even the extra month is added at the end.
Uses
-
Procedure
This function builds the season's lettered abbreviation.
Example
Get the lettered abbreviation for the summer months.
result = season_name( 6, 3 )
Result = 'JJA'
Modification History
Written by: Daithi A. Stone (stoned@csag.uct.ac.za), 2000-08-30
Modified: DAS, 2010-01-05 (Allowed input outside-24<season<23; editted
documentation and formatting; removed dependency on constants.pro)