def __get_type_CMA(code):
    """
    Get the intensity category according to "Chinese National Standard for
    Grade of Tropical Cyclones", which was put in practice since 15 June 2006.
    
    Reference:
    http://tcdata.typhoon.org.cn/zjljsjj_sm.html
    
    0 - weaker than TD or unknown
	1 - tropical depression	  (TD , 10.8-17.1 m/s)
	2 - tropical storm	      (TS , 17.2-24.4 m/s)
	3 - severe tropical storm (STS, 24.5-32.6 m/s)
	4 - typhoon				  (TY , 41.4-32.7 m/s)
	5 - severe typhoon		  (STY, 41.5-50.9 m/s)
	6 - super typhoon		  (superTY, >=51.0 m/s)
	9 - extratropical cyclone (EC)

    Parameters
    ----------
    code : str
        A string code represents the type.

    Returns
    -------
    re : str
        One of the type in ['TD', 'TS', 'STS', 'TY', 'STY', 'EC', 'OTHERS'].
    """
    if   code == '0':
        return 'OTHERS'
    elif code == '1':
        return 'TD'
    elif code == '2':
        return 'TS'
    elif code == '3':
        return 'STS'
    elif code == '4':
        return 'TY'
    elif code == '5':
        return 'STY'
    elif code == '6':
        return 'STY'
    elif code == '9':
        return 'EC'
    else:
        raise Exception('unknown code ' + code)