meteo-core/src/main/java/no/api/meteo/service/locationforecast/extras/WindSymbolHelper.java
public static Optional<BeaufortLevel> findBeaufortLevel(PointForecast pointForecast) {
        if (pointForecast == null || pointForecast.getWindSpeed() == null) {
            return Optional.empty();
        }
        return Optional.ofNullable(findUnitById(pointForecast.getWindSpeed().getBeaufort()));
    }
public static Optional<BeaufortLevel> findBeaufortLevel(PointForecast pointForecast) {
        if (pointForecast == null || pointForecast.getWindSpeed() == null) {
            return Optional.empty();
        }
        return Optional.ofNullable(findUnitById(pointForecast.getWindSpeed().getBeaufort()));
    }
Find matching Beaufort level for a given point forecast.

This provides you with extra information about the wind speed specified in the forecast.

@param pointForecast
Point forecast containing information about the wind speed.

@return Matching Beaufort level object. <code>null</code> if wind speed information is missing from the given
forecast.