private function getEnglishIntensity($intensity)
    {
        $desc = 'no';

        if ($intensity >= 2 && $intensity < 15) {
            $desc = 'sporadic';
        } else if ($intensity >= 15 && $intensity < 30) {
            $desc = 'light';
        } else if ($intensity >= 30 && $intensity < 45) {
            $desc = 'moderate';
        } else if ($intensity > 45) {
            $desc = 'heavy';
        }

        return $desc . ' rain';
    }
private function getEnglishIntensity($intensity)
    {
        $desc = 'no';

        if ($intensity >= 2 && $intensity < 15) {
            $desc = 'sporadic';
        } else if ($intensity >= 15 && $intensity < 30) {
            $desc = 'light';
        } else if ($intensity >= 30 && $intensity < 45) {
            $desc = 'moderate';
        } else if ($intensity > 45) {
            $desc = 'heavy';
        }

        return $desc . ' rain';
    }
private function getEnglishIntensity ( $ intensity ) { $ desc = 'no' ; if ( $ intensity >= 2 && $ intensity < 15 ) { $ desc = 'sporadic' ; } else if ( $ intensity >= 15 && $ intensity < 30 ) { $ desc = 'light' ; } else if ( $ intensity >= 30 && $ intensity < 45 ) { $ desc = 'moderate' ; } else if ( $ intensity > 45 ) { $ desc = 'heavy' ; } return $ desc . ' rain' ; }
Converts an intensity value to a string.

@param float $intensity The intensity value to convert to a string

@return string
Converts an intensity value to a string .