Commit 4c5d773
feat(stats_temporal): add barn-temperature columns to thi_daily_profile
Extend compute_thi_daily_profile to also compute mean / SD / Q25 / Q75 of
barn temperature per (year, month, hour), alongside the existing THI
statistics, plus the herd median barn-temperature breakpoint as a
reference line. Output CSV gains temp_mean / temp_std / temp_q25 /
temp_q75 / herd_median_temp_bp columns.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 545f2d3 commit 4c5d773
1 file changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
244 | 249 | | |
245 | 250 | | |
246 | 251 | | |
| |||
251 | 256 | | |
252 | 257 | | |
253 | 258 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
258 | 267 | | |
259 | 268 | | |
| 269 | + | |
260 | 270 | | |
261 | 271 | | |
262 | 272 | | |
| |||
0 commit comments