, with cold winters, during which the average temperature is a few degrees below freezing, and mild to pleasantly warm summers.
The city is located in the west of Latvia, on the Baltic Sea coast, the mildest area of the country.
In winter, snowfalls are quite frequent, although they are generally not abundant. Cold spells from Russia, which were once more frequent, can be intense. The cold record is -32.9 °C (-27.2 °F), set in January 1942.
In summer, there can be hot days, with temperatures above 30 °C (86 °F). The highest record is 35.6 °C (96.1 °F) and was set in August 2014.
, from June to August, since it is the mildest season. However, some rainy days and a bit of cold at night must be taken into account.
. Here are the average temperatures.
January is generally a very cold month. The average temperature is of
-1.2 °C, with a minimum of
-3.4 °C and a maximum of
1.1 °C.

On the coldest nights of the month, the temperature usually drops to around
-15 °C. However, it dropped to
-26 °C in January 1997.

On the warmest days of the month, the temperature usually reaches around
5.5 °C. However, it reached
9 °C in January 2007.

Precipitation amounts to
57.8 mm, distributed over 13 days.
The day lasts on average 7 hours and 35 minutes. So the days are short.

There are on average 1.5 hours of sunshine per day. So, the sun shines 18% of the time.
The average humidity is 88%. Hence, the air is normally humid.
The average wind speed is of
15.5 kph.

The average sea temperature is of
3.8 °C. Therefore, the sea is very cold for swimming.
February, the coldest month of the year, is generally a very cold month. The average temperature is of
-1.3 °C, with a minimum of
-3.8 °C and a maximum of
1.2 °C.

On the coldest nights of the month, the temperature usually drops to around
-13 °C. However, it dropped to
-24.7 °C in February 2012.

On the warmest days of the month, the temperature usually reaches around
6 °C. However, it reached
10 °C in February 2020.

Precipitation amounts to
41.9 mm, distributed over 10 days.
The day lasts on average 9 hours and 35 minutes.

There are on average 2.5 hours of sunshine per day. So, the sun shines 26% of the time.
The average humidity is 86%. Hence, the air is normally humid.
The average wind speed is of
14.6 kph.

The average sea temperature is of
2.6 °C. Therefore, the sea is very cold for swimming.
March is generally a cold month. The average temperature is of
1.2 °C, with a minimum of
-1.8 °C and a maximum of
4.2 °C.

On the coldest nights of the month, the temperature usually drops to around
-9 °C. However, it dropped to
-19.5 °C in March 2005.

On the warmest days of the month, the temperature usually reaches around
11 °C. However, it reached
19 °C in March 2010.

Precipitation amounts to
37.4 mm, distributed over 10 days.
The day lasts on average 11 hours and 55 minutes.

There are on average 5 hours of sunshine per day. So, the sun shines 40% of the time.
The average humidity is 82%. Hence, the air is normally humid.
The average wind speed is of
13.6 kph.

The average sea temperature is of
2.5 °C. Therefore, the sea is very cold for swimming.
April is generally a quite cold month. The average temperature is of
6.3 °C, with a minimum of
2.3 °C and a maximum of
10.3 °C.

On the coldest nights of the month, the temperature usually drops to around
-3.5 °C. However, it dropped to
-7.8 °C in April 1996.

On the warmest days of the month, the temperature usually reaches around
20.5 °C. However, it reached
27 °C in April 2019.

Precipitation amounts to
28.6 mm, distributed over 6 days.
The day lasts on average 14 hours and 20 minutes.

There are on average 7.5 hours of sunshine per day. So, the sun shines 52% of the time.
The average humidity is 74%. Hence, the air is normally humid.
The average wind speed is of
12.4 kph.

The average sea temperature is of
4.1 °C. Therefore, the sea is very cold for swimming.
May is generally a mild month. The average temperature is of
11 °C, with a minimum of
6.6 °C and a maximum of
15.4 °C.

On the coldest nights of the month, the temperature usually drops to around
0 °C. However, it dropped to
-3.7 °C in May 2017.

On the warmest days of the month, the temperature usually reaches around
25.5 °C. However, it reached
30.2 °C in May 2014.

Precipitation amounts to
37.5 mm, distributed over 7 days.
The day lasts on average 16 hours and 30 minutes. So the days are long.

There are on average 9.5 hours of sunshine per day. So, the sun shines 59% of the time.
The average humidity is 73%. Hence, the air is normally humid.
The average wind speed is of
11.7 kph.

The average sea temperature is of
8 °C. Therefore, the sea is very cold for swimming.
June is generally a very mild month. The average temperature is of
14.6 °C, with a minimum of
10.7 °C and a maximum of
18.6 °C.

On the coldest nights of the month, the temperature usually drops to around
4.5 °C. However, it dropped to
0.7 °C in June 1993.

On the warmest days of the month, the temperature usually reaches around
27 °C. However, it reached
33 °C in June 1997.

Precipitation amounts to
50.7 mm, distributed over 8 days.
The day lasts on average 17 hours and 40 minutes. So the days are very long. June 21, the summer solstice, is the longest day of the year in the Northern Hemisphere.

There are on average 10 hours of sunshine per day. So, the sun shines 57% of the time.
The average humidity is 77%. Hence, the air is normally humid.
The average wind speed is of
11.7 kph.

The average sea temperature is of
13.2 °C. Therefore, the sea is very cold for swimming.
July, the warmest month of the year, is generally a very mild month. The average temperature is of
17.7 °C, with a minimum of
13.8 °C and a maximum of
21.6 °C.

On the coldest nights of the month, the temperature usually drops to around
8.5 °C. However, it dropped to
4 °C in July 2011.

On the warmest days of the month, the temperature usually reaches around
29 °C. However, it reached
32.6 °C in July 2002.

Precipitation amounts to
64.3 mm, distributed over 8 days.
The day lasts on average 17 hours and 0 minutes. So the days are very long.

There are on average 10 hours of sunshine per day. So, the sun shines 59% of the time.
The average humidity is 77%. Hence, the air is normally humid.
The average wind speed is of
11.4 kph.

The average sea temperature is of
17.2 °C. Therefore, the sea is cold for swimming.
August is generally a very mild month. The average temperature is of
17.6 °C, with a minimum of
13.6 °C and a maximum of
21.6 °C.

On the coldest nights of the month, the temperature usually drops to around
8 °C. However, it dropped to
3 °C in August 2019.

On the warmest days of the month, the temperature usually reaches around
28 °C. However, it reached
35.6 °C in August 2014.

Precipitation amounts to
76.3 mm, distributed over 10 days.
The day lasts on average 15 hours and 0 minutes. So the days are long.

There are on average 8.5 hours of sunshine per day. So, the sun shines 57% of the time.
The average humidity is 78%. Hence, the air is normally humid.
The average wind speed is of
11.2 kph.

The average sea temperature is of
18.4 °C. Therefore, the sea is very cool for swimming.
September is generally a mild month. The average temperature is of
13.5 °C, with a minimum of
9.9 °C and a maximum of
17.1 °C.

On the coldest nights of the month, the temperature usually drops to around
3.5 °C. However, it dropped to
-1 °C in September 1993.

On the warmest days of the month, the temperature usually reaches around
23 °C. However, it reached
29 °C in September 2019.

Precipitation amounts to
74.1 mm, distributed over 11 days.
The day lasts on average 12 hours and 40 minutes.

There are on average 6.5 hours of sunshine per day. So, the sun shines 49% of the time.
The average humidity is 80%. Hence, the air is normally humid.
The average wind speed is of
12.3 kph.

The average sea temperature is of
15.9 °C. Therefore, the sea is cold for swimming.
October is generally a quite mild month. The average temperature is of
8.4 °C, with a minimum of
5.4 °C and a maximum of
11.3 °C.

On the coldest nights of the month, the temperature usually drops to around
-2 °C. However, it dropped to
-7 °C in October 1997.

On the warmest days of the month, the temperature usually reaches around
17 °C. However, it reached
23 °C in October 2000.

Precipitation amounts to
84.2 mm, distributed over 13 days.
The day lasts on average 10 hours and 20 minutes.

There are on average 3.5 hours of sunshine per day. So, the sun shines 35% of the time.
The average humidity is 83%. Hence, the air is normally humid.
The average wind speed is of
13.6 kph.

The average sea temperature is of
12.1 °C. Therefore, the sea is very cold for swimming.
November is generally a quite cold month. The average temperature is of
4 °C, with a minimum of
1.9 °C and a maximum of
6.1 °C.

On the coldest nights of the month, the temperature usually drops to around
-5 °C. However, it dropped to
-14.9 °C in November 1993.

On the warmest days of the month, the temperature usually reaches around
11 °C. However, it reached
14 °C in November 2018.

Precipitation amounts to
72.7 mm, distributed over 14 days.
The day lasts on average 8 hours and 5 minutes.

There are on average 1.5 hours of sunshine per day. So, the sun shines 17% of the time.
The average humidity is 87%. Hence, the air is normally humid.
The average wind speed is of
14.2 kph.

The average sea temperature is of
8.6 °C. Therefore, the sea is very cold for swimming.
December is generally a cold month. The average temperature is of
0.9 °C, with a minimum of
-1.2 °C and a maximum of
3 °C.

On the coldest nights of the month, the temperature usually drops to around
-10 °C. However, it dropped to
-24.4 °C in December 2001.

On the warmest days of the month, the temperature usually reaches around
7 °C. However, it reached
10.5 °C in December 2006.

Precipitation amounts to
67.5 mm, distributed over 13 days.
The day lasts on average 6 hours and 55 minutes. So the days are short. December 21, the winter solstice, is the shortest day of the year in the Northern Hemisphere.

There is an average of 1 hour of sunshine per day. So, the sun shines 12% of the time.
The average humidity is 88%. Hence, the air is normally humid.
The average wind speed is of
15.1 kph.

The average sea temperature is of
5.7 °C. Therefore, the sea is very cold for swimming.