input code/RULES_reproduce.txt 4ca0f5538882b3a353c75b0460ef5fbb6a46277f215fcb3d00ed43e94c08df95 input downloads/bas-asl-v3/asli_calculation_latest.csv 876642028a80437de8547ab3a207b7d8b927ec445ee6fe384c9f8e8a08838535 input downloads/bas-asl-v2/ASL-index-Version2-Monthly-ERA-Interim_Hosking2016.txt b6f210aee5dbded60f87a8cc37cc1bce98b41af1e099b90971a5dc9a6b67696e input downloads/silso/SN_m_tot_V2.0.csv 1cf8a1f6f28ff9ee479783d72fa323eb70a824056450ccf60d0152fa28abd72f input downloads/ms2017/workbook.csv 7445d980d9683e68107ba27dd8e132330649d0bbcd9e6322c714bb000f5968c9 input code/ms2017_table3_transcribed.csv 61f9dd6e1044bfe6f46cc6743c1ae6a0f5576b7ae9398e2ed34890b86a30d82c v3 id: asli_3.20240813_20261110 | product: 3.20240813 | coverage: 1959-01 to 2026-08 v2 coverage: 1979-01 to 2018-03 | SILSO coverage: 1749-01 to 2026-10 SILSO provisional months: 2026-07 to 2026-10 (4) workbook coverage: 1979-01 to 2016-11 n = 455 [satellite] ASL 1979-01..2026-07, SSN 1979-01..2026-10 5y/33m: r = 0.8032, n = 479, n_eff = 10.331, p_eff = 0.00425; SSN t 1981-07..2021-05, ASL 1984-04..2024-02 5-year lag sweep peak: lag 34 m, r = 0.8034, n = 478 grid (8x49) peak: 7-year CMA, lag 30 m, r = 0.8121, n = 458; max |r|: 7y/30m r = 0.8121 5-year column, lags 30..36: 30:0.7978 31:0.8006 32:0.8024 33:0.8032 34:0.8034 35:0.8026 36:0.8002 [full] ASL 1959-01..2026-07, SSN 1959-01..2026-10 5y/33m: r = 0.3914, n = 719, n_eff = 15.712, p_eff = 0.13807; SSN t 1961-07..2021-05, ASL 1964-04..2024-02 5-year lag sweep peak: lag 29 m, r = 0.3943, n = 723 grid (8x49) peak: 8-year CMA, lag 19 m, r = 0.5151, n = 697; max |r|: 8y/19m r = 0.5151 [pre1979] ASL 1959-01..1978-12, SSN 1959-01..1978-12 5y/33m: r = -0.8152, n = 148, n_eff = 4.616, p_eff = 0.12017; SSN t 1961-07..1973-10, ASL 1964-04..1976-07 5-year lag sweep peak: lag 0 m, r = -0.0803, n = 181 grid (8x49) peak: 8-year CMA, lag 0 m, r = 0.0040, n = 145; max |r|: 8y/31m r = -0.9572 [1996 mask] 5y/33m: r = 0.7890, n = 414, n_eff = 11.155, p_eff = 0.00358 [rolling 132-pair r] labels 1969-10..2018-09 (588 windows) first label: 1969-10 r = -0.859 last label with r < 0 before 1990: 1984-06 max r = 0.976 at 1997-07 min r in 2005-2020 labels = -0.472 at 2013-11 labels with r <= -0.40 (2005 on): ('2013-07', '2014-02', 8) last r = 0.818 at 2018-09 r at selected labels: 1970-01 -0.862; 1971-01 -0.850; 1972-01 -0.786; 1973-01 -0.747; 1974-01 -0.758; 1975-01 -0.718; 1976-01 -0.769; 1977-01 -0.872; 1978-01 -0.895; 1979-01 -0.916; 1980-01 -0.927; 1981-01 -0.877; 1982-01 -0.717; 1983-01 -0.435; 1984-01 -0.136; 1985-01 0.203; 1986-01 0.384; 1987-01 0.484; 1988-01 0.519; 1989-01 0.604; 1990-01 0.786; 1991-01 0.870; 1992-01 0.919; 1993-01 0.918; 1994-01 0.927; 1995-01 0.938; 1996-01 0.965; 1997-01 0.974; 1998-01 0.975; 1999-01 0.971; 2000-01 0.965; 2001-01 0.974; 2002-01 0.964; 2003-01 0.923; 2004-01 0.915; 2005-01 0.915; 2006-01 0.942; 2007-01 0.959; 2008-01 0.947; 2009-01 0.916; 2010-01 0.852; 2011-01 0.590; 2012-01 0.123; 2013-01 -0.204; 2014-01 -0.449; 2015-01 -0.040; 2016-01 0.288; 2017-01 0.538; 2018-01 0.777; 2018-09 0.818 [v2 replication] ASL v2 1979-01..2016-11 (455 months) 60-month window: r = 0.9029, n = 363, n_eff = 7.789, p_eff = 0.00258 odd 61-month window: r = 0.9039, n = 362, n_eff = 7.782, p_eff = 0.00253 number of 5-year CMA values: 60-month form 396 | odd form 395 [data checks] workbook ASL vs v2: max |diff| = 0.0000 hPa over 455 months workbook SSN vs current SILSO: max |diff| = 0.00; months differing by > 0.05: 0 v2 vs v3 sector pressure 1979-01..2018-03: r(raw) = 0.9937, mean(v3 - v2) = +0.138 hPa, sd diff = 0.560 5-year CMAs: r = 0.9362, max |diff - mean diff| = 0.635 hPa 2017 table vs workbook, 60-month-type windows: max |diff| = 0.018, cells within 0.001: 61/392; 5y peak lag 33 r = 0.9029; 5y/33 = 0.9029 n = 363 2017 table vs workbook, odd windows: max |diff| = 0.000, cells within 0.001: 392/392; 5y peak lag 33 r = 0.9039; 5y/33 = 0.9039 n = 362 2017 table vs v2+SILSO now, 60-month-type windows: max |diff| = 0.018, cells within 0.001: 61/392; 5y peak lag 33 r = 0.9029; 5y/33 = 0.9029 n = 363 2017 table vs v2+SILSO now, odd windows: max |diff| = 0.000, cells within 0.001: 392/392; 5y peak lag 33 r = 0.9039; 5y/33 = 0.9039 n = 362 [comparison with the note] satellite r ours 0.80321 note 0.803 REPRODUCES satellite n ours 479.00000 note 479 REPRODUCES satellite n_eff ours 10.33092 note 10.33 REPRODUCES satellite p_eff ours 0.00425 note 0.00425 REPRODUCES satellite band peak lag ours 34.00000 note 34 REPRODUCES satellite band peak r ours 0.80341 note 0.803 REPRODUCES satellite global peak width (y) ours 7.00000 note 7 REPRODUCES satellite global peak lag ours 30.00000 note 30 REPRODUCES satellite global peak r ours 0.81211 note 0.812 REPRODUCES full r ours 0.39138 note 0.391 REPRODUCES full n ours 719.00000 note 719 REPRODUCES full n_eff ours 15.71208 note 15.7 REPRODUCES full p_eff ours 0.13807 note 0.138 REPRODUCES full band peak lag ours 29.00000 note 29 REPRODUCES full band peak r ours 0.39433 note 0.394 REPRODUCES full band peak n ours 723.00000 note 723 REPRODUCES full global peak width (y) ours 8.00000 note 8 REPRODUCES full global peak lag ours 19.00000 note 19 REPRODUCES full global peak r ours 0.51506 note 0.515 REPRODUCES full global peak n ours 697.00000 note 697 REPRODUCES pre-1979 r ours -0.81524 note -0.815 REPRODUCES pre-1979 n ours 148.00000 note 148 REPRODUCES pre-1979 n_eff ours 4.61589 note 4.6 REPRODUCES pre-1979 p_eff ours 0.12017 note 0.12 REPRODUCES 1996 mask r ours 0.78902 note 0.789 REPRODUCES 1996 mask n ours 414.00000 note 414 REPRODUCES v2 r ours 0.90292 note 0.903 REPRODUCES v2 n ours 363.00000 note 363 REPRODUCES v2 n_eff ours 7.78920 note 7.79 REPRODUCES v2 p ours 0.00258 note 0.00258 REPRODUCES