According to the Köppen climate classification, New York City features a humid subtropical climate (Cfa). The city experiences long, hot, humid summers with frequent late day thundershowers, and moderately cold winters, with snow or a mix of snow and rain on occasion. New York's location in the southernmost part of the state, its proximity to the Atlantic Ocean, and its large population (and, consequentially, a strong urban heat island effect) all shape its climate. Thus, New York City has a marginal humid subtropical climate, in contrast to the rest of the state, which features a humid continental climate.
Meteorological records have been kept at Central Park since 1821, although the station was relocated to a different part of the park on January 1, 1920.