Under the Köppen climate classification, Buenos Aires has a humid subtropical climate (''Cfa'') with four distinct seasons. As a result of maritime influences from the adjoining Atlantic Ocean, the climate is temperate with extreme temperatures being rare. Because the city is located in an area where the Pampero and Sudestada winds pass by, the weather is variable due to these contrasting air masses.