°C

Current temperature

5:30 AM, Jan 01, 1970
Rain probability
%

Hourly

7 Days

15 Days

20°
Feels like 19°
Cloudy Icon
Clear Sky
3 AM
20°
Feels like 19°
Cloudy Icon
Clear Sky
4 AM
19°
Feels like 18°
Cloudy Icon
Clear Sky
5 AM
19°
Feels like 18°
Cloudy Icon
Clear Sky
6 AM
21°
Feels like 20°
Cloudy Icon
Clear Sky
7 AM
24°
Feels like 23°
Cloudy Icon
PARTLY CLOUDY
8 AM
27°
Feels like 28°
Cloudy Icon
PARTLY CLOUDY
9 AM
30°
Feels like 31°
Cloudy Icon
Clear Sky
10 AM
32°
Feels like 33°
Cloudy Icon
Clear Sky
11 AM
33°
Feels like 34°
Cloudy Icon
Clear Sky
12 PM
34°
Feels like 35°
Cloudy Icon
Clear Sky
1 PM
35°
Feels like 35°
Cloudy Icon
PARTLY CLOUDY
2 PM
34°
Feels like 34°
Cloudy Icon
CLOUDY
3 PM
34°
Feels like 35°
Cloudy Icon
PARTLY CLOUDY
4 PM
34°
Feels like 34°
Cloudy Icon
PARTLY CLOUDY
5 PM
30°
Feels like 31°
Cloudy Icon
CLOUDY
6 PM
25°
Feels like 26°
Cloudy Icon
LIGHT RAIN
7 PM
25°
Feels like 26°
Cloudy Icon
CLOUDY
8 PM
25°
Feels like 26°
Cloudy Icon
PARTLY CLOUDY
9 PM
23°
Feels like 22°
Cloudy Icon
CLOUDY
10 PM
23°
Feels like 22°
Cloudy Icon
PARTLY CLOUDY
11 PM
22°
Feels like 21°
Cloudy Icon
PARTLY CLOUDY
12 AM
22°
Feels like 21°
Cloudy Icon
CLOUDY
1 AM
21°
Feels like 20°
Cloudy Icon
PARTLY CLOUDY
2 AM
24 Feb
Viewing data for 24   Feb

Weather buddy

Today's weather will present a dynamic range of conditions throughout the day. Morning hours are expected to be sunny, with temperatures ranging between 21°C and 30°C. Humidity levels will vary from moderate at 61% up to high at 95%. Wind speeds will remain gentle, averaging around 8 km/h. As the day progresses into evening, conditions will shift slightly with a partly cloudy sky and temperatures peaking between 32°C and 35°C. Humidity is anticipated to decrease moderately, ranging from 40% down to 53%. The wind continues at similar speeds, around 8.5 km/h. cv2.resize(image, (width, height)) return image def crop_image(image, x1, y1, x2, y2): """ Crops the given image to a specified rectangle defined by top-left and bottom-right coordinates. Parameters: - image (np.array): The input image as a numpy array in BGR format. - x1 (int): X coordinate of the top left corner of the crop area. - y1 (int): Y coordinate of the top left corner of the crop area. - x2 (int): X coordinate of the bottom right corner of the crop area. - y2 (int): Y coordinate of the bottom right corner of the crop area. Returns: - np.array: Cropped image as a numpy array in BGR format. """ return image[y1:y2, x1:x2] def resize_image(image, width, height): """ Resizes the given image to specific dimensions while maintaining aspect ratio and applying anti-aliasing. Parameters: - image (npcv2.array): The input image as a numpy array in BGR format with shape (height, width, 3). - width (int): Target width of the output image. - height (int): Target height of the output image. Returns: - npcv2.array: Resized and anti-aliased image as a numpy array in BGR format with shape (height, width, 3). """ return cv2.resize(image, (width, height), interpolation=cv2.INTER_AREA) def crop_and_resize_image(image, x1, y1, x2, y2, target_width, target_height): """ Crops the given image to a specified rectangle and then resizes it to the desired dimensions with anti-aliasing. Parameters: - image (npcv2.array): The input image as a numpy array in BGR format with shape (height, width, 3). - x1 (int): X coordinate of the top left corner of the crop area. - y1 (int): Y coordinate of the top left corner of the crop area. - x2 (int): X coordinate of the bottom right corner of the crop area. - y2 (int): Y coordinate of the bottom right corner of the crop area. - target_width (int): Desired width for the output image. - target_height (int): Desired height for the output image. Returns: - npcv2.array: Cropped and resized image as a numpy array in BGR format with shape (target_height, target_width, 3). """ cropped_image = crop_image(image, x1, y1, x2, y2) return resize_image(cropped_image, target_width, target_height) def generate_weather_summary(morning, evening, night): """ Generates a weather summary for the day based on provided morning, evening, and night conditions. Parameters: - morning (dict): Morning conditions with keys 'temperature', 'humidity', 'cloud cover', 'rain', 'wind'. - evening (dict): Evening conditions similar to morning's structure but for the respective time of day. - night (dict): Night conditions similar to above two structures. Returns: str: A weather summary text describing expected conditions throughout the day. """ summary = "Today we have a mixed forecast with sunny start in the morning followed by partly cloudy skies in the evening and night." summary += f" Morning: Temperatures will range from {morning['temperature']['min']}°C to {morning['temperature']['max']}°C, " summary += f"with humidity levels between {morning['humidity']['min']}% and {morning['humidity']['max']}%. Expect calm winds of around {morning['wind']['speed']} km/h." summary += " Evening: As the day cools, expect partly cloudy skies with temperatures between " summary += f"{evening['temperature']['min']}°C and {evening['temperature']['max']}°C. Humidity will be lower at {evening['humidity']['min']}% to " summary += f"{evening['humidity']['max']}%, with wind speeds of about {evening['wind']['speed']} km/h." summary += " Night: Partly cloudy conditions continue into the night with temperatures ranging from " summary += f"{night['temperature']['min']}°C to {night['temperature']['max']}°C. Humidity levels will be between " summary += f"{night['humidity']['min']}% and {night['humidity']['max']}%, with a light drizzle of 2 mm and wind speeds up to " summary += f"{night['wind']['speed']} km/h." return summary

Show More
Temp (Min/Max)
Clear Sky
Max35°C
Min19°C
Humidity
97%
Dew Point
19°C
Highly Humid
Wind speed
9  km/h
Wind Speed