|
| 1 | +# Archive: Temperature-departure methodology lit review (#58) |
| 2 | + |
| 3 | +## Outcome |
| 4 | + |
| 5 | +Established the citation backbone for the **temperature-departure** |
| 6 | +sections of the regional vignettes — Issue 1 of the climate-departure |
| 7 | +3-split lit reviews (precip+drying = #61, interpretation framing |
| 8 | +forthcoming). 10 peer-reviewed papers added to the |
| 9 | +`NewGraphEnvironment/climate` Zotero collection (key `8MH9LCC9`), |
| 10 | +local ragnar DuckDB at `data/rag/temp_methodology.duckdb` (gitignored, |
| 11 | +677 chunks, 10 sources), and a synthesis-plus-citation-map |
| 12 | +`findings.md` ready for the downstream vignette branch to consume |
| 13 | +selectively per the plain-language philosophy |
| 14 | +(`feedback_vignette_citations_sparse.md`). Released as **v0.2.2** |
| 15 | +(patch). |
| 16 | + |
| 17 | +## Headline findings |
| 18 | + |
| 19 | +1. **`cd_trend()`'s raw Mann-Kendall + Theil-Sen aligns with Vincent |
| 20 | + et al. 2018's Canadian temperature trend methodology** (Sen slope |
| 21 | + + Kendall's τ). Vincent's iterative lag-1 AC handling is a |
| 22 | + refinement we don't apply, but raw MK is the correct call for our |
| 23 | + 76-year strong-trend series per Yue & Wang 2002 (cross-rag from |
| 24 | + snow methodology store). **Our methodology is consistent with the |
| 25 | + literature consensus on the trend-test question for both snow and |
| 26 | + temperature.** |
| 27 | +2. **Karl 1993 is the canonical DTR-asymmetry quote**: minimum |
| 28 | + temperature rose at 3× the rate of maximum (0.84 vs 0.28 °C |
| 29 | + 1951–90 NH); Vose 2005 updates to 0.141 / 0.204 / -0.066 °C/dec |
| 30 | + for max / min / DTR over 1950-2004 (71% global land coverage). |
| 31 | +3. **EDW (elevation-dependent warming) is real but heterogeneous** |
| 32 | + per Pepin 2015 + Rangwala & Miller 2012 — important caveat for any |
| 33 | + "BC mountain AOI warmed faster" claim in the vignette. Mechanism |
| 34 | + review covers snow-albedo, water vapour, latent heat, aerosols. |
| 35 | +4. **Salmonid thermal envelope citations are now bedded down**: |
| 36 | + Eaton & Scheller 1996 (foundational US 57-species analysis), |
| 37 | + Mantua 2010 (PNW salmon climate-stress framing), and Richter & |
| 38 | + Kolmes 2005 (PNW maximum-temperature criteria for chinook, coho, |
| 39 | + chum, steelhead). Direct backing for the v0.1.1 "summer daytime |
| 40 | + maximum is the salmonid thermal envelope" claim. |
| 41 | +5. **No direct ERA5-Land 2m-temperature validation paper for BC** in |
| 42 | + our corpus — documented as a known caveat. Cross-references via |
| 43 | + Vincent 2018 / Karl 93 / Vose 05 trend benchmarks instead. |
| 44 | + |
| 45 | +## Citation map |
| 46 | + |
| 47 | +The "cite this for that" table at the end of `findings.md` is an |
| 48 | +**18-row menu**, not an order. Per the plain-language vignette |
| 49 | +philosophy (memory `feedback_vignette_citations_sparse.md`), the |
| 50 | +downstream vignette branch picks sparingly — citations only for |
| 51 | +authorities on findings actually visible in the AOI's graphs/tables. |
| 52 | +BBT-auto-derived keys are baked into the table, ready for `[@key]` |
| 53 | +markers downstream. |
| 54 | + |
| 55 | +## Reproducing the rag store |
| 56 | + |
| 57 | +`data/rag/temp_methodology.duckdb` is gitignored. To rebuild: |
| 58 | + |
| 59 | +1. Download the 10 PDFs from Zotero Web API to |
| 60 | + `data/rag/temp_methodology_pdfs/` (one file per local label, |
| 61 | + filename `<label>.pdf`). The `attachKey` for each paper is |
| 62 | + hardcoded in `scripts/rag_temp_methodology_build.R`. |
| 63 | +2. `ollama serve` + `ollama pull nomic-embed-text` (one-time). |
| 64 | +3. `Rscript scripts/rag_temp_methodology_build.R` — ~28 s, produces |
| 65 | + 677 chunks across 10 sources. |
| 66 | + |
| 67 | +To re-mine: `Rscript scripts/rag_temp_methodology_query.R` → |
| 68 | +regenerates `temp_methodology_quotes.md` (raw retrieval, archived |
| 69 | +here at the time of merge). |
| 70 | + |
| 71 | +## Side-channel issues filed during this work |
| 72 | + |
| 73 | +- **`soul#43`** — convention update for `/lit-search` + `/zotero-api` |
| 74 | + skills: citation keys must be BBT-auto-derived, never manually set |
| 75 | + in the `extra` field. Caught when the user reviewed my initial |
| 76 | + Phase 2 adds; PATCH'd all 10 to clear the override. Future runs |
| 77 | + will avoid this by following the updated skill guidance. |
| 78 | +- **`#59`** — BEC zone-shift lit-review tracker, parked until after |
| 79 | + the 3-split lands. |
| 80 | + |
| 81 | +## Notable execution wrinkles |
| 82 | + |
| 83 | +- **BBT plugin compat split** caught during key-capture: BBT 8.x is |
| 84 | + for Zotero 7, BBT 9.x is for Zotero 8/9. User had BBT 8.0.25 on |
| 85 | + Zotero 9, which auto-disabled the plugin. Updating to BBT 9.x |
| 86 | + restored key generation. |
| 87 | +- **Corporate-only authorship** caught for Pepin 2015 (Mountain |
| 88 | + Research Initiative EDW Working Group). CrossRef returned no |
| 89 | + individual authors, so BBT initially fell back to a title-based |
| 90 | + key. PATCH'd in the 21 working-group members from the paper roster |
| 91 | + (N. Pepin first), BBT regenerated to |
| 92 | + `pepin_etal2015Elevationdependentwarming` matching convention. |
| 93 | +- **Phase 0 prep** renamed the existing `rag_build_*.R` / |
| 94 | + `rag_query_*.R` scripts to `rag_*_build.R` / `rag_*_query.R` |
| 95 | + (`noun_verb` per cd convention), establishing the pattern before |
| 96 | + adding the 2 new temperature scripts. Touches CLAUDE.md and the |
| 97 | + snow-archive README's "how to reproduce" section. |
| 98 | + |
| 99 | +## Closing ref |
| 100 | + |
| 101 | +- Issue: NewGraphEnvironment/cd#58 |
| 102 | +- PR: NewGraphEnvironment/cd#60 (squash `fa8d74a`, merged 2026-05-05) |
| 103 | +- Release: v0.2.2 (tag pushed) |
| 104 | +- Downstream consumer: future vignette wire-up branch (out of scope |
| 105 | + for this issue) |
0 commit comments