Abstract
Mediterranean dairy goat farms can use routine records to support climate-adaptation learning, but single-year data require cautious interpretation. This case study combined four individual yield snapshots, monthly farm production records, 155 bulk-tank certificates, and hourly ERA5-Land climate data from a farm in central Greece in 2025. Because snapshot-day yields in November and December were partial-day values, yield was expressed as each doe’s mean daily yield over the preceding 30 days. Among 274 ear-tag-matched does still lactating in December, yield increased from January to December (median +0.69 kg d−1; p < 0.001)—a within-animal change conditional on parity transition and lactation stage rather than a pure seasonal effect. Yield increased most in does that kidded during the year (+1.29 to +1.42 kg d−1) and least in does in extended lactation (+0.41 kg d−1). Monthly yield per doe was not lower in the hottest months. Milk fat, protein, and total solids were lowest in late summer and correlated negatively with the Temperature–Humidity Index (THI) at one- to two-month lags, but these associations reflected a shared annual cycle and did not survive adjustment for serial autocorrelation and multiple testing. Farm-specific equations, which are descriptive in-sample calibrations that predicted no better than a seasonal benchmark rather than a validated indicator framework, were packaged in an open browser tool for training, not forecasting. The framework shows how farm records can potentially support climate-smart learning while making the limits of single-farm, single-year inference explicit.
1. Introduction
Small-ruminant dairying is a pillar of rural economies around the Mediterranean Basin. In Greece, sheep and goat milk underpins Feta and other cheeses of protected designation of origin and sustains employment in less-favoured areas. The sector now faces two pressures at once: it must adapt to a hotter climate, and it must lower the greenhouse gas (GHG) emissions attached to each kilogram of milk it sells. Both pressures meet at the farm level, where herd structure, feeding, animal health, and housing determine how much milk each animal produces and, therefore, how efficiently feed, labour, and emissions are converted into food [1,2].
The relationship between milk yield and GHG emissions is central to this study and is worth stating explicitly. Enteric methane and manure emissions are driven mainly by the number of animals kept and by their maintenance requirements, which are incurred whether an animal produces much milk or little. Emission intensity—the emissions per kilogram of fat- and protein-corrected milk (FPCM)—therefore falls as the yield per animal rises, because the maintenance-related share of emissions is spread over more product [2,3]. The converse also holds: any factor that depresses yield or milk solids per animal while the herd stays the same—such as heat load, subclinical mastitis, or an unfavourable parity structure—raises emission intensity even if emissions per head do not change. Our group recently estimated that heat stress raises the environmental impact per kilogram of milk by roughly 3–12% during heat-stress periods, mainly because fixed resource use is spread over less output [4]. Adaptation and mitigation are thus linked through productivity per animal, and routine productivity records become a sustainability indicator in their own right.
Milk composition is a second dimension of this link. Fat and protein concentrations determine the price paid for bulk-tank deliveries and the cheese-yield potential of the milk, and they enter the FPCM yield used in life-cycle assessment [5]. In Greece, where most goat milk is processed into cheese, a summer decline in milk solids has direct economic consequences for farmers and processors alike.
The pathway from climate to goat productivity runs through the animal. When the combination of air temperature and humidity exceeds the animal’s capacity to lose heat, goats increase their respiration rate and water intake, reduce their dry matter intake, and divert energy to thermoregulation [6,7]. Changes in rumen fermentation and mammary metabolism follow, and their effects on milk yield and composition typically appear with a delay of several weeks [6,8]. Dairy goats tolerate heat better than dairy cows [9], but they are not immune: Murciano-Granadina goats exposed to heat in climatic chambers maintained their milk yield by mobilising body reserves, yet the milk protein and casein contents fell by about 12% [7]. In dairy sheep, heat stress has also been associated with impaired immune function and udder health [10]. In commercial herds, these responses are superimposed on the effects of lactation stage, parity, diet, and udder health, which also vary with season [11]; separating climate from these factors requires repeated measurements on identified animals across several seasons and farms [12].
Exposure to heat is already substantial in central Greece. Using ERA5-Land reanalysis for 2020–2025, our group showed that the Temperature–Humidity Index (THI) in the Thessaly Plain regularly exceeds livestock heat-stress thresholds between May and September [13]. Outdoor reanalysis data, however, describe ambient exposure rather than conditions inside a barn: in a commercial Greek pig unit, indoor THI measured with calibrated dataloggers was 3.7 to 14.3 units lower than outdoor THI because of building cooling [14]. Udder health is another determinant that most farm datasets do not capture. In a survey of 83 sheep and goat farms in north-western Greece, bulk-tank somatic cell counts indicated widespread and largely undiagnosed subclinical mastitis [15]. These earlier studies define the gap addressed here: translating regional climate exposure into farm-level productivity indicators while keeping the confounding roles of housing, physiology, and udder health in view.
The Excellence Farm concept responds to this gap. A commercial farm operates as a “live lab” in which its own digital records, official milk-quality certificates, and external climate datasets are analysed jointly with farmers, advisors, and students during structured training sessions. It belongs to the wider family of agricultural living labs, which co-produce knowledge under real farming conditions and are expected to accelerate the adoption of sustainable practices [16,17]. It corresponds to the farm demonstration and knowledge-exchange activities that the Common Agricultural Policy supports through the Agricultural Knowledge and Innovation System (AKIS) [18]. The data for such work are increasingly available: electronic identification, milk recording, and farm management software are widespread in dairy cattle [19] and are being adopted in small-ruminant dairying [20]. In contrast, reanalysis datasets such as ERA5-Land provide hourly climate estimates at 0.1° resolution [21,22]. These data streams are rarely combined on the farm, and when they are, a single season of records invites causal readings that the data cannot support.
This paper reports a one-year case study of Farma Domokos, a commercial dairy goat farm in central Greece run as an Excellence Farm. It does not attempt to estimate the causal effect of heat stress, which would require barn-level microclimate data, physiological measurements, and multi-year, multi-farm records. Its purpose is narrower and practical: to show how routine records can be organised into indicators for climate-smart training, and how the limits of those indicators can themselves be taught. Four objectives are addressed: (i) to separate within-animal changes in milk yield from changes in herd composition, using animals matched by ear tag; (ii) to describe the seasonal co-variation between ambient THI and bulk-tank milk composition at lags of 0–2 months, and to quantify how far that evidence weakens once serial correlation is taken into account; (iii) to construct and explicitly frame an emission-intensity proxy that links yield variability to GHG reasoning; and (iv) to package the farm-specific results in an open, browser-based training tool.
2. Materials and Methods
2.1. Farm Description
Farma Domokos is a commercial dairy goat farm in the municipality of Domokos, Phthiotis, central Greece (39.12° N, 22.33° E; elevation ~590 m a.s.l.). The herd consists of Alpine dairy goats. On 31 January 2025, the farm management system recorded 533 female records, of which 308 were in milk; the total inventory also included replacement doelings, kids, and bucks. The farm expanded rapidly in the years before the study, explaining the young parity structure reported in Section 3.2. The herd was built up mainly through purchases of Alpine does from France, the latest on 13 January 2025, when 134 adult does in lactation entered the herd (Section 2.3). Animals are housed indoors year-round in a naturally ventilated, steel-framed barn with straw-bedded group pens and a space allowance of 2.5 m2 per doe. The barn belongs to the approved greenhouse-type steel-frame design used on the farm: 13 m clear span, gable roof with an 18° pitch and the long axis running approximately east–west, clad with 40 mm polyurethane sandwich panels on the roof and 30 mm panels on the side walls. Ventilation is natural, through a continuous 35 cm ridge opening fitted with a motorised ridge vent and continuous netted side-wall openings of 1.70 m on the south side and 1.30 m on the north side, closed with external roll-up PVC curtains; the openings amount to about 26% of the floor area. The barn has no mechanical ventilation fans; a low-pressure water-misting line along the pens is operated manually on hot summer afternoons. Goats are milked twice daily in a 60-seat rotary parlour. The diet is a partly mixed ration based on locally produced forage and purchased concentrate. The main forages are alfalfa hay and straw, and the concentrate contains 16% crude protein; the forage-to-concentrate ratio was 50.5:49.5. The ration formulation and forage sources were reported as unchanged during 2025; batch-to-batch variation in forage nutrient composition was not assessed. Udder-health management includes teat disinfection, dry-off treatment, and mastitis recording. The herd consists exclusively of dairy goats, and bulk-tank deliveries are pure goat milk. The description of ventilation and misting is based on the farm technical documents and farm-provided information.
2.2. Climate Data and Outdoor Temperature-Humidity Index
Hourly 2 m air temperature and 2 m dew-point temperature for the ERA5-Land grid cell containing the farm were retrieved for the full calendar year 2025 [21,22] and converted from kelvin to °C. Relative humidity was derived from air and dew-point temperature with the Magnus equation, es(T) = 6.112 × exp(17.62 T/(243.12 + T)) and RH = es(T_d)/es(T), and bounded to 0–1. Hourly outdoor THI was calculated as follows [23]:
where T is air temperature (°C), and RH is relative humidity expressed as a proportion. Daily summaries (mean and maximum THI) and monthly summaries (mean and standard deviation of hourly THI, and highest daily maximum) were calculated for January–December 2025; days with a daily maximum THI > 72 were counted as heat-load days.
THI = 0.8 × T + RH × (T − 14.4) + 46.4
For descriptive screening, five operational heat-load classes were retained: no stress (THI < 68), mild (68 ≤ THI < 72), moderate (72 ≤ THI < 78), high (78 ≤ THI < 82), and severe (THI ≥ 82), following the bands used in our regional ERA5-Land analysis [13]. A value of exactly 72.0 is therefore classed as moderate in all analyses and in the training tool. THI was computed as a continuous variable from hourly reanalysis values, and no daily maximum fell exactly on a class limit, so the count of heat-load days (daily maximum THI > 72) is identical to the number of days reaching the moderate class. These cut-offs were retained for two reasons: they are the NRC-based classes [23] used in our regional ERA5-Land assessment of Thessaly [13], which allows the farm to be placed in its regional context and the same classes to be used across species in the live-lab programme; and THI = 72 is the classical lower limit of heat load in dairy ruminants, whereas goat-specific limits are generally higher [9,24] (Section 4, limitation vii). These categories are screening bands and should not be interpreted as goat-specific, experimentally validated thresholds. The published small-ruminant literature uses different THI formulations and proposed thresholds; therefore, these categories are used here only to describe relative outdoor heat-load conditions, not to diagnose heat stress in the goats.
No temperature, relative humidity, or air-velocity measurements were made inside the barn during 2025, so THI could not be computed for the animals’ immediate environment. ERA5-Land 2 m air temperature describes free-air, shaded conditions at the grid scale (~9 km) and does not account for solar radiation, wind speed, ventilation rate, stocking density, or the building’s thermal behaviour. Indoor THI may be lower or higher than outdoor THI, depending on ventilation, cooling, and animal density; therefore, the ERA5-Land-derived THI should be interpreted as an indicator of outdoor climatic exposure rather than a direct measure of barn microclimate.
Therefore, throughout this paper, THI denotes ambient heat load—a climatic proxy of potential thermal exposure—and the term heat stress is reserved for the physiological state that THI may indicate but that was not measured. No physiological indicators (rectal temperature, respiration rate, panting score, feed or water intake) were recorded in 2025, and the index should be read as an indicator of heat-stress risk rather than a quantification of the animals’ biological response.
2.3. Individual-Animal Datasets and the Cross-Sectional Design Constraint
Four cross-sectional snapshots of individual-animal yield records were extracted from the farm management system: 31 January 2025 (n = 533 records), 30 June 2025 (n = 498), 3 November 2025 (n = 483), and 31 December 2025 (n = 464). Each record contained the serial number, ear-tag ID, group code, age in months, lactation number (Lac Num), daily milk yield on the snapshot date, seven-day average yield, days in lactation, and the recorded daily yields of the 31 days preceding the export. Lac Num is the lactation number recorded by the farm software and increases at each kidding: Lac 0 denotes does with no kidding recorded in the software (nulliparous does, or does whose kiddings predate their entry into the herd), Lac 1 does with one recorded kidding, and Lac 2 does after their second kidding. Lac 0 does in milk had no kidding date in the farm software and days in lactation recorded as 0. In January, 107 of the 319 does with a positive snapshot-day yield were in this category; most (93) had only 3–5 days of recorded milking, and their median age was 35 months. The purchase register of the farm explains these records. On 13 January 2025, the farm bought 166 animals from four dairy goat herds in France and one Greek herd, among them 134 adult does born in January–February 2022 that were already in lactation. Of the 107 Lac 0 does in milk, 105 belonged to this consignment (96 identified by their official identification numbers and 9 by identification series, birth date, and arrival date); the remaining two had been bought as yearlings in January 2024 and were in milk without a recorded kidding. The earlier kiddings of the purchased does took place in the herds of origin and are not held in the farm software, which therefore records them as Lac 0, and their milking records on this farm began when they entered the milking groups after arrival, on 27–28 January. Lac 0 thus denotes does with no kidding recorded on this farm, not nulliparous does; given their age, most were probably in their second lactation. In December, 35 of the 108 Lac 0 does had recorded lactation milk (median 606 kg). These records were checked against the reproductive and management fields of the same exports. Of the 107 Lac 0 does with a positive snapshot-day yield in January, 105 belonged to one management group; all were recorded as not mated, and none had a kidding, abortion, hormonal-treatment (CIDR), or pregnancy-test entry. Of the 99 still present in December, 66 had a first kidding recorded in 2025, mostly in May–June (44 does), and had moved to Lac 1. These kiddings are consistent with matings in the herds of origin before purchase. Because the parity and lactation stage of these does are unknown, and because their January yields also reflect the first days after transport and regrouping, the main within-animal analysis was repeated without them (Section 3.3). Individual somatic cell counts and clinical mastitis events were not part of the exports. Comparison with the preceding daily records showed that the snapshot-day yield was a partial-day value on 3 November and 31 December: its median ratio to the doe’s mean over the preceding 30 days was 0.51 and 0.50, against 1.18 and 0.98 in January and June, and over 90% of does were below 0.65. Yield was therefore expressed at every snapshot as the mean daily yield over the 30 days preceding the export, and a doe was classed as lactating when at least 3 daily records were available in that window (n = 308, 335, 360, and 373 in January, June, November, and December). The number of recorded days within the 30-day window among lactating does (median and IQR) was 29 (4–30) in January, 29 (26–30) in June, 30 (30–30) in November, and 21 (19–22) in December (Supplementary Table S1). The low January quartile reflects the Lac 0 does that had begun milking a few days before the export. In December, no records were available for the last four days before the export, and only partial records for several other days, so no doe could have more than 25 recorded days. Daily recording became irregular after mid-December, so the December value combines regular and irregular recording. Monthly farm production records show that the milk produced per doe in milk in December (2.85 kg d−1) was similar to November (2.88 kg d−1), so the drop in individual records after mid-December reflects incomplete recording rather than lower production, and the 30-day mean underestimates the December yield. These monthly records for January–December 2025 (milk produced, does in milk, total animals, kiddings, deaths, and as-fed feed use) were obtained from the farm management system; milk per doe in milk was calculated as monthly milk divided by the product of days in the month and the number of does in milk.
A central methodological consideration arises from this design. Across the four snapshots, the herd composition is not identical; animals enter (new kiddings) and leave (culling, drying-off, sale) the lactating cohort continuously, and the lactation-stage distribution shifts as the year progresses. Therefore, comparing summary statistics across snapshots conflates three distinct sources of variation: genuine within-animal seasonal changes in productivity, herd turnover effects on cohort composition, and the progression of the lactation stage of any given animal. This is a structural limitation of cross-sectional snapshots of a turnover-active herd: they cannot, individually, separate these contributions.
To address this constraint, we used the available individual-level granularity to construct a paired January–December analysis at the ear-tag level. Ear-tag numbers from the 31 January and 31 December snapshots were inner-joined after deduplication and removal of zero/missing identifiers, yielding 327 animals present in both snapshots. Restricting further to animals lactating at both time points provided n = 274 paired observations (89% of the January and 73% of the December lactating cohort). The remaining 34 does of the January lactating cohort had left the herd (culled, died or sold; n = 22) or were present but not lactating on 31 December (n = 12). To assess selection on retention, their January 30-day mean yield was compared with that of the 274 retained does (Section 3.3). The paired contrast therefore describes the change among retained does only. Within this paired cohort, we additionally examined parity progression (Lac Num in January → Lac Num in December) to characterise the relative contribution of within-animal change versus parity advancement. The paired design removes between-animal differences but not within-animal changes in lactation stage: a doe observed in January and December is, by construction, also at a different point of her lactation curve or in a new lactation, so the paired contrast is a within-animal change conditional on parity transition, not a pure seasonal effect. Ear-tagged individual records were also available for June and November, so within-animal change across all four dates was examined in does lactating at all four dates (Section 2.5).
2.4. Bulk-Tank Milk-Quality Data and THI Association
Monthly bulk-tank milk-quality data were extracted from a total of 155 tanker milk collection certificates provided by dairy-certified laboratories throughout all 12 months of the 2025 production year (sample size per month: 10 January, 14 February, 14 March, 14 April, 15 May, 15 June, 10 July, 11 August, 9 September, 11 October, 15 November, 17 December). Tanker milk collections were conducted at intervals of approximately two to three days, with 9–17 certificates available per month. The collection certificate listed percentages of milk fat, protein, casein, total solids, and lactose, as well as milk pH and titratable acidity (°Dornic), and the algebraic sum of fat and protein per cent. We applied an outlier-removal procedure (lactose outside 3.0–5.5%, fat outside 2.5–6.0%, protein outside 3.0–5.0%, total solids outside 11–16%, fat plus protein outside 6–11) to filter obvious transcription errors from the dataset. Exclusion was applied per variable: a value outside its range was set to missing, and the other variables of the same certificate were retained. In total, three values from three certificates were set to missing (lactose on two January certificates, 9.5% and 9.46%, and total solids on one August certificate, 23.23%); one further January certificate carried no analytical values and contributed only to the count of collections. No certificate was excluded entirely. All certificates were issued by the purchasing dairy’s accredited laboratory (ISO/IEC 17025:2017 [25])—the same laboratory throughout 2025—by mid-infrared spectrometry (MilkoScan, FOSS, Hillerød, Denmark; ISO 9622|IDF 141:2013 [26]) with a calibration for goat milk. The monthly FPCM correction factor was calculated using the equation reported in the table footnotes, FPCM factor = 0.337 + 0.116 × fat% + 0.06 × protein% [3]. This equation was derived for cow milk (standardised to 4.0% fat and 3.3% protein) and not for goat milk, which is a methodological limitation. It was used because it is the correction applied in the FAO global assessment of ruminant supply chains [3], which keeps the proxy comparable with published FPCM-based intensities, including those of dairy goat farms [27]. Its influence on the results is limited: the relative FPCM index depends on the equation only through the ratio of the monthly correction factors (1.014–1.167; Section 3.5), and the raw-milk index—which does not depend on any correction equation—is reported alongside it (Section 3.6).
where fat%_m and protein%_m are monthly means from the certificate dataset. Certificates were aggregated to monthly means for three reasons: collections were unevenly spaced (9–17 per month), the a priori hypothesis concerned lags of one to two months between exposure and compositional response [6,8], and the training tool was designed around monthly THI, the resolution at which farm managers plan feeding and cooling. Aggregation discards within-month variation; a collection-level analysis with distributed THI lags is planned once several years of certificates are available (Section 4). Monthly means are unweighted averages of certificates, not volume-weighted composition. The quantity collected was recorded on each certificate, but volume weighting was not applied because collections were made at regular two- to three-day intervals, so each certificate represents a comparable number of milkings, and differences in collected quantity within a month mainly reflect the gradual change in herd yield. Volume-weighted monthly means differed from the unweighted means by at most 0.05 percentage points (total solids in January) and by less than 0.02 percentage points for fat and protein in every month, while the lag correlations of Section 3.5 changed by at most 0.02. Pearson product-moment correlations between mean monthly THI and each compositional parameter (fat%, protein%, casein%, TS%, lactose%, fat + protein sum) were computed at three temporal lags: lag 0 (composition month vs. THI same month), lag 1 (composition month vs. THI of previous month), and lag 2 (composition month vs. THI of two months prior). The set of lags (0–2 months) was chosen a priori from the dairy-ruminant literature, which describes a 2- to 6-week offset between heat exposure and compositional change [6,8]. However, the lag for each parameter was not pre-specified; the lag used in each farm-specific equation (Section 2.7) was the one with the largest |r| in the data as originally compiled, which makes those correlations optimistic. Because ERA5-Land THI for November–December 2024 was not used, lag-1 and lag-2 analyses were based on 11 and 10 months, respectively. Spearman rank correlations were computed in parallel as a non-parametric robustness check. We corrected for multiple testing across the 18-test family (6 parameters × 3 lags) using the Benjamini–Hochberg false-discovery-rate procedure (α = 0.05); 95% confidence intervals for Pearson coefficients were obtained via Fisher’s z-transformation.
FPCM_factor_m = 0.337 + 0.116 × fat%_m + 0.06 × protein%_m
Because monthly THI and monthly composition both follow a single annual cycle, the tests above assume independent observations that these series do not provide. Two checks were therefore added: First, the lag-1 autocorrelation of each series was estimated, and the effective number of independent observations was computed as n_eff = n(1 − ρ_x ρ_y)/(1 + ρ_x ρ_y), where ρ_x and ρ_y are the lag-1 autocorrelations of THI and of the composition series; correlations were then re-tested with n_eff − 2 degrees of freedom and BH correction across the same 18 tests [28]. ρ_x and ρ_y were estimated with the standard sample autocorrelation estimator (lag-1 autocovariance divided by the variance, both about the series mean) on the same 12, 11, or 10 months that entered each correlation, so n_eff was computed separately for each parameter and lag (Section 3.5). For fat at lag 0, for example, ρ_THI = 0.727 and ρ_fat = 0.630 give n_eff = 12 × (1 − 0.458)/(1 + 0.458) = 4.5. Estimating ρ instead as the Pearson correlation between consecutive values gives larger autocorrelations (0.81 for THI) and smaller n_eff (2.2–5.0 for fat, protein, total solids, and fat + protein), so the conclusions do not depend on the estimator. Lag-1 autocorrelations estimated from 10–12 points are biased towards zero, so these n_eff values are probably optimistic, and with n_eff − 2 ≈ 2 degrees of freedom the adjusted p-values are themselves imprecise. Second, correlations were recomputed on first differences (month-to-month changes), which removes shared slow trends but also reduces power when the shared signal is itself slow [28]. To show how far THI can be distinguished from season within a single year, a two-parameter annual harmonic (sine and cosine of month) was also fitted to THI and to each composition series. To test whether THI carried information beyond the annual cycle, each composition series was then regressed on the two harmonic terms plus the THI anomaly (monthly THI minus its own harmonic fit). For these models, the coefficient of the THI anomaly, along with its standard error, 95% confidence interval, and t-test, and the overall F-test and individual t-tests of the harmonic terms are reported (Section 3.5). With 12 months and four parameters, only 8 residual degrees of freedom remain, so the power of this check is low (Section 3.5). These checks were computed from the monthly means reported in Section 3.1 and Section 3.5.
The design-stage power for Pearson correlations (α = 0.05, two-tailed) with n = 12 independent observations was 0.91 for |r| = 0.80, 0.74 for |r| = 0.70, and 0.55 for |r| = 0.60 [29]; with n = 10, the corresponding values were 0.83, 0.63, and 0.45. These values assume independent months and, therefore, overstate the power available (see the effective sample sizes in Section 3.5).
2.5. Statistical Analysis of Yield Data
Distributional properties of yield within each snapshot were assessed with the Shapiro–Wilk test (rejection of normality at α = 0.05). Because three of the four snapshot distributions departed from normality (November did not; p = 0.16), we reported between-snapshot summaries as medians with interquartile ranges and conducted Kruskal–Wallis comparisons across the four snapshot dates. Because many animals appear in more than one snapshot, the snapshots are not independent samples, and the Kruskal–Wallis p-value is reported only as a descriptive indicator. Following the design constraints set out in Section 2.3, results from this between-snapshot analysis are presented as cross-sectional descriptive comparisons of distinct cohorts. They are explicitly not interpreted as within-animal longitudinal effects. Within-animal change across all four dates was tested with the Friedman test in does lactating at all four dates.
The principal within-animal test was the Wilcoxon signed-rank test [30] on paired 30-day mean yields between 31 January and 31 December 2025 in the 274-animal paired lactating cohort (Section 2.3). For comparison with the earlier analysis, the test was repeated on snapshot-day yields. As sensitivity analyses, the paired test was repeated in does with at least 10 and at least 20 recorded days at both dates (a threshold of 25 days could not be applied because of the December recording gaps; Section 2.3), with the December value restricted to 1–15 December, when recording was complete, and after excluding does that were Lac 0 in January and does with inconsistent parity transitions (Lac 2 → Lac 1, Lac 1 → Lac 0). To adjust for parity and lactation stage, a linear mixed model was fitted to the 30-day mean yields of all four dates, with date, parity class (0, 1, ≥2), and log(1 + days in lactation) for does that had kidded as fixed effects, and animal as a random intercept (statsmodels 0.15). The full specification was y_ij = β0 + β_date(j) + β_parity(ij) + β_DIL × K_ij × log(1 + DIL_ij) + u_i + ε_ij, where y_ij is the 30-day mean yield of doe i at date j, K_ij = 1 for does that had kidded (Lac Num ≥ 1) and 0 for lactating Lac 0 does, u_i ~ N(0, σ2_u) and ε_ij ~ N(0, σ2). Because days in lactation is recorded as 0 for lactating Lac 0 does, the days-in-lactation term applies only to does that had kidded, and the Lac 0 parity class absorbs the mean level of Lac 0 does. Parity class was coded at each date, so a doe that kidded during the year changed class. The model was fitted by restricted maximum likelihood; the variance components were σ2_u = 0.470 and σ2 = 0.463 (intraclass correlation 0.50). Residuals and animal random intercepts were approximately normal (residual skewness −0.11, excess kurtosis 0.85), and residuals showed no systematic trend across fitted values. Lactation stage, parity, and kidding date were thus handled in three ways: by stratifying the paired contrast by January → December parity transition, which separates does that kidded during 2025 from those that remained in the same lactation; by adjusting for parity class and days in lactation in the mixed model; and by restricting the days-in-lactation regressions to does that had kidded. The kidding date was entered only through days in lactation; kidding season was not fitted as a separate term because most kiddings occurred in June–September (Section 3.2), so it is nearly collinear with date. We reported the test statistic, the asymptotic Z value (excluding tied zero differences), and the effect size r = |Z|/√n_nz, where n_nz is the number of non-zero paired differences, along with the median and mean within-animal differences and their interquartile range. Sub-cohort analyses stratified by January → December parity transition (Lac 0 → Lac 1, Lac 1 → Lac 1, Lac 1 → Lac 2) were conducted to characterise the relative contribution of within-animal change versus lactation advancement. OLS regression of 30-day mean yield on days in lactation within each snapshot was retained as a descriptive technique, restricted to does that had kidded because days in lactation was recorded as 0 for lactating Lac 0 does. A linear slope over a whole lactation summarises the lactation-stage mix of a cohort and should not be interpreted as an individual lactation curve. All analyses were performed in Python 3.10 using pandas 2.3 and SciPy 1.15 (scipy.stats) [31]; figures were prepared using Matplotlib 3.10.
2.6. Definition and Calculation of the Emission-Intensity Proxy
A simplified emission-intensity proxy (EI_proxy) was constructed to translate milk-yield variability into a GHG-relevant metric accessible to non-specialist training audiences, following the logic that emission intensity rises when yield per animal falls (Section 1) [2]. We emphasise that this proxy is not, and is not intended to be, an independent quantification of greenhouse gas emissions. Under the constant per-head methane emission factor (EF) used in IPCC Tier 1 inventories [32,33], the proxy reduces algebraically to the inverse milk-yield ratio: EI_rel,m = (E_d/MY_m)/(E_d/MY_Nov) = MY_Nov/MY_m. The daily EF cancels in the ratio, and the index is therefore EF-invariant. EI_proxy is consequently a pedagogical reformulation of yield variability, scaled against the November peak, rather than an additional or independent piece of GHG information.
To demonstrate that the relative proxy is invariant to the assumed constant methane emission factor (EF), we conducted a sensitivity analysis using three scenarios: 5.0 and 9.0 kg CH4 head−1 yr−1, corresponding to the 2019 IPCC Tier 1 default factors for low- and high-productivity goats, respectively [33], and 13.5 kg CH4 head−1 yr−1 as an additional author-defined upper sensitivity scenario. The 13.5 value is not an IPCC default and is not presented as a measured or farm-specific emission factor. The daily emission per head is E_d = EF/365. The absolute emission intensity for snapshot m on a raw-milk basis is EI_m = E_d/MY_m (kg CH4 kg−1 milk), and on an FPCM basis EI_FPCM,m = E_d/FPCM_m. Relative indices, normalised to the November peak (=1.00), were then computed as EI_rel,m = EI_m/EI_Nov and EI_rel,FPCM,m = EI_FPCM,m/EI_FPCM,Nov.
FPCM values for all four snapshots used measured (not extrapolated) bulk-tank composition data, taking the monthly mean fat% and protein% derived from the tanker collections of the month covered by each 30-day window: January (FPCM_factor = 1.167), June (1.087), October for the 3 November snapshot (1.051), and December (1.110).
Because emissions are produced by all animals and not only by lactating does, a herd-level version of the proxy was also computed on a female-herd basis: EI_herd,m = (N_females,m × E_d)/(N_lact,m × MY_m), using the female records and lactating counts of each snapshot (Section 2.3). This index remains EF-invariant in relative terms, but it reflects the changing share of non-lactating females. A constant per-head EF imposes an elasticity of exactly −1 between yield and emission intensity; because methane emission rises with feed intake at higher yield, the true relationship is weaker, and both indices overstate the change in intensity. The same per-head factor was also applied to lactating, dry, pregnant, and growing animals, whose methane emissions differ with body weight, physiological state, and feed intake [33]; the herd-level comparisons therefore illustrate the role of herd structure but do not quantify it. A monthly herd-level index was also computed from the farm production records as EI_herd,month = (N_total × days × E_d)/FPCM_month, where N_total is the number of animals on the farm and FPCM_month is the milk produced in the month multiplied by its FPCM factor (Section 3.5); it is expressed relative to November. Because the total count includes newborn kids, which emit far less methane than adults do, the index was computed for animals older than 15 months (adult-herd index, reported as the main index) and, for comparison, for all animals.
2.7. Farm-Specific Regression Equations and the HeatStress_TrainingTool
Four OLS regression equations were fitted to the 2025 monthly bulk-tank and ERA5-Land THI data: (i) fat% on THI at lag 1 (n = 11), (ii) protein% at lag 2 (n = 10), (iii) total solids% at lag 1 (n = 11), and (iv) fat + protein% at lag 1 (n = 11). Casein% was excluded (|r| ≤ 0.20, all FDR-p > 0.62). Residual standard errors (RMSE), leave-one-out cross-validation errors (RMSE_CV), and nominal in-sample 95% prediction intervals (t-distribution, df = n − 2; these assume independent months) are reported in Section 3.7. These equations are descriptive calibrations of the seasonal co-variation observed on this farm in one year. Leave-one-out cross-validation shows how sensitive each fit is to individual months; it is not external validation, and the equations are not intended to forecast composition on other farms or in other years. To judge whether THI added predictive information beyond season, the leave-one-out error of each equation was compared with that of two benchmarks fitted to the same months: a seasonal model with the two annual harmonic terms (sine and cosine of calendar month) and no THI term, and an intercept-only model. Because the lag of each equation was selected as the one with the largest |r| in the same data, the fit statistics of the THI equations are optimistic; for protein, the lag-1 and lag-2 correlations are practically identical (r = −0.926 and −0.920 after correction of the July values; Section 3.5); the lag-2 equation, selected before that correction, was retained because the two lags cannot be distinguished with these data and the choice does not affect any conclusion.
The four equations were embedded in HeatStress_TrainingTool (Supplementary File S1), a standalone, single-page HTML5 application that runs on any modern mobile or desktop browser (iOS Safari, Android Chrome, Windows Edge/Chrome, macOS Safari) without installation. It has six functions:
- Triage: THI calculation and heat-load classification from user-entered air temperature and relative humidity (or direct THI input), with lagged farm-specific composition reference values derived from that THI and a stress-class management checklist.
- Composition Reference: Lag-1 and lag-2 values from the farm-specific equations, with the relevant response month identified (t + 1 for fat, total solids, and fat + protein; t + 2 for protein), nominal in-sample 95% prediction intervals, and calibration scatter plots.
- 3-Month Scenario: A teaching exercise that propagates three user-defined monthly THI values through the lag-1 and lag-2 equations; its output repeats that the results are nominal in-sample values that cannot be extrapolated to other years or other farms.
- Season Timeline: Month-by-month 2025 record of THI, composition minima, and in-sample residuals.
- Risk Map: Annual heat-load calendar, an in-sample fitted-versus-observed composition chart, and an EI_proxy visualisation.
- Models and Equations: All four equations with their fit statistics (r, R2, RMSE, RMSE_CV) and an on-screen statement of their scope and limitations.
Chart.js (v4.4.1, MIT licence) is embedded in the HTML file, so the tool runs offline; composition reference values are shown only within the 2025 calibration range of monthly THI (41.8–72.8). The HTML source is supplied as Supplementary File S1. The stress-class management checklists are general husbandry guidance included for training discussion; they were not derived from or validated by the present data.
2.8. Live-Lab Training Design
Yield distributions, parity structure, THI timeline, monthly composition trends, lag-correlation results and their autocorrelation checks, EI_proxy indices, and the interactive HeatStress_TrainingTool outputs are organised for use during live-lab training activities at Farma Domokos. Four pedagogical anchors are used: (i) within-animal vs. between-cohort comparisons, (ii) EI_proxy vs. life-cycle assessment (LCA)-grade GHG estimates, (iii) temporal lag between climate exposure and milk-quality response and its implications for management timing, and (iv) the difference between a strong seasonal correlation and an estimated effect. This design follows the case for structuring agricultural living labs around explicit, reflective learning cycles rather than informal knowledge transfer [17].
The present manuscript describes the analytical framework and the instructional design of the live-lab activities; it does not report a formal evaluation of learning outcomes.
3. Results
3.1. Climate Conditions at Farma Domokos in 2025
Hourly THI values computed from ERA5-Land reanalysis showed strong seasonality at the Domokos site throughout 2025 (Table 1; Figure 1). The monthly mean THI ranged from 41.8 ± 6.2 in February to 72.8 ± 4.2 in July. The daily maximum THI exceeded 72 on 107 days, all between May and September: May (1 day), June (27), July (31), August (30), and September (18). It exceeded 68 on 131 days. The hourly THI reached 78 or more for 92 h, and the annual maximum was 82.3. Ambient heat load at or above the moderate class on daily maxima therefore lasted about four months, from June to September.
Table 1.
Monthly THI statistics at Farma Domokos derived from ERA5-Land reanalysis, 2025.
Figure 1.
Monthly variation in outdoor Temperature–Humidity Index (THI) at Farma Domokos throughout 2025, based on hourly ERA5-Land data. Values represent the monthly mean ± SD. The dashed horizontal line indicates THI = 72.
3.2. Herd Structure and Parity Dynamics
Herd size decreased slightly through the year (533 to 464 female records between 31 January and 31 December), in line with systematic culling. The herd was very young: in January, 94.6% of the recorded females were at Lac Num ≤ 1 (Lac 0 or Lac 1; Lac 0 includes the adult does purchased in lactation in January 2025, whose earlier kiddings are not recorded; Section 2.3), reflecting rapid expansion in the preceding years. Parity transitions among the 274 does lactating at both dates were as follows: Lac 0 → Lac 0, 25 animals; Lac 0 → Lac 1, 61; Lac 1 → Lac 1, 99 (does that did not kid again between the two dates and were in extended lactation, with median days in lactation of 324 in January and 655 in December); Lac 1 → Lac 2, 65; Lac 2 → Lac 2, 17; Lac 2 → Lac 3, 4; Lac 2 → Lac 1, 2; and Lac 1 → Lac 0, 1 (the last two presumably recoding in the farm system). In the paired cohort, the mean January yield was 1.07 kg d−1 for Lac 0 does (n = 86), 1.75 kg d−1 for Lac 1 does (n = 165), and 1.82 kg d−1 for Lac 2 does (n = 23); by December, the gap had closed (2.32, 2.45, and 2.21 kg d−1, respectively) as does entered the early, high-yield phase of a new lactation.
Two findings follow from this structure: First, at Farma Domokos, the herd-level yield curve in 2025 was driven mainly by does in the Lac 0 and Lac 1 classes, whose lactation curves and transitions between lactations change the herd average independently of climate. Second, in dairy goats, yield usually increases from the first to the third or fourth lactation and declines only thereafter [11,34], so a herd dominated by does in their first recorded lactations is expected to have a lower average yield than a mature herd, although the true parity of the purchased does is higher than their Lac Num indicates. The practical conclusion is that parity structure is the first diagnostic to establish before any seasonal or climatic interpretation of herd yield, and it is the first lesson taught in the live-lab sessions.
Kidding was spread across the year. In the December export, 156 (62%) of the 253 last kiddings dated in 2025 occurred between June and September, with a peak in July (n = 55); smaller groups kidded in January (25), May (20), and November (24). Because these dates refer to animals still present on 31 December, they describe the 2025 kidding pattern only approximately.
3.3. Yield Dynamics: Paired (Within-Animal) and Cross-Sectional Results
Among the 274 does lactating at both 31 January and 31 December 2025 (the within-animal cohort), the mean daily yield over the preceding 30 days increased from January to December (Wilcoxon signed-rank Z = −10.64, p < 0.001; effect size r = 0.64). The median within-animal change was +0.69 kg d−1 (mean +0.85 ± 1.05 kg d−1; IQR [+0.08, +1.54]), and 77% of does increased. The paired mean yields were 1.55 ± 0.61 kg d−1 in January and 2.39 ± 0.99 kg d−1 in December (Figure 2). With snapshot-day yields, which are partial-day values in December (Section 2.3), the same comparison showed a decline (n = 240; median −0.685 kg d−1), so the direction of the result depends on how yield is recorded. Restricting the comparison to does with at least 10 recorded days at both dates (n = 178), which excludes most does whose January lactation had just begun, gave a smaller but consistent increase (median +0.59 kg d−1; IQR −0.05 to +1.39; p < 0.001). With at least 20 recorded days at both dates (n = 137), the change was the same (median +0.59 kg d−1; IQR −0.05 to +1.33; p < 0.001); a threshold of 25 days could not be applied, because only 3 of the 373 does lactating in December reached it. When the December value was restricted to 1–15 December, when recording was complete, the increase was larger (n = 274; median +0.93 kg d−1; IQR +0.18 to +1.84; p < 0.001), consistent with the 30-day mean underestimating the December yield (Section 2.3). Excluding the 86 does that were Lac 0 in January and the 3 does with inconsistent parity transitions left 185 does, in which yield also increased (median +0.52 kg d−1; IQR −0.12 to +1.34; p < 0.001). Of the 308 does lactating in January, 274 (89%) were still lactating on 31 December; 22 had left the herd, and 12 were present but not lactating. These 34 does had a lower January 30-day mean yield (1.27 ± 0.58 kg d−1; median 1.19) than the 274 retained does (1.55 ± 0.61 kg d−1; median 1.62; Mann–Whitney p = 0.007). Their exclusion therefore inflates the year-end mean of the paired cohort: assigning them a change of zero would lower the median change of the January lactating cohort from +0.69 to +0.54 kg d−1. The paired estimate thus describes conditional change among retained does only. In the mixed model (1376 observations from 416 does), yield adjusted for parity and days in lactation was higher than in January by 0.51 kg d−1 in June (95% CI 0.40–0.62), 1.23 kg d−1 in November (1.11–1.35), and 0.63 kg d−1 in December (0.51–0.76), compared with unadjusted differences of 0.63, 1.47, and 0.82 kg d−1; yield declined with days in lactation (β = −0.23 per log-unit; 95% CI −0.29 to −0.17). Across all four dates, yield differed within animals (Friedman χ2 = 319.1, p < 0.001; n = 247 does lactating at all four dates), with complete case means of 1.58, 2.16, 3.07, and 2.35 kg d−1 in January, June, November, and December.
Figure 2.
Paired January–December comparison of mean daily yield over the preceding 30 days among the 274 does lactating at both snapshots. (A) Within-animal yield trajectories (100-pair subsample; red = Δ < 0, green = Δ ≥ 0); filled diamonds with error bars = cohort mean ± SD. (B) Distribution of within-animal Δ yield (December–January), with median and mean indicated.
The paired within-animal change, however, was not uniform across parity transitions (Table 2). Does purchased in lactation in January that kidded during 2025 (Lac 0 → Lac 1, n = 61; their first kidding recorded on this farm) showed the largest increase (median Δ = +1.42 kg d−1; p < 0.001): in January, they had been milked on this farm for only a few days after transport and regrouping, and in December they were in early lactation (median 208 days in lactation). Advancing from Lac 1 to Lac 2 (n = 65) showed a similar increase (median Δ = +1.29 kg d−1; p < 0.001), consistent with a new lactation (median 117 days in lactation in December) at a higher parity. Does that remained in Lac 1 without kidding (n = 99), in extended lactation, showed the smallest change (median Δ = +0.41 kg d−1; p < 0.001). This heterogeneity shows that herd-level seasonal differences reflect the joint contributions of within-animal change, lactation-stage progression of individual animals, and turnover in the lactating cohort.
Table 2.
Within-animal change in mean daily milk yield over the preceding 30 days (December–January) by parity transition in the paired lactating cohort (n = 274). Lac 0 = no kidding recorded in the farm software (does purchased in lactation in January 2025; Section 2.3), Lac 1 = one recorded kidding, Lac 2 = two recorded kiddings.
The cross-sectional cohort summaries (Table 3) describe distinct lactating populations at each snapshot and are not interchangeable with within-animal change estimates. With this caveat in mind, between-snapshot Kruskal–Wallis comparisons indicated differences in median yield across the four cohorts (H = 305.0, p < 0.001) (descriptive only, because the cohorts share animals), but the proportion of those differences attributable to seasonality versus cohort composition cannot be partitioned from these data alone.
Table 3.
Cross-sectional summary of mean daily milk yield over the 30 days preceding each snapshot among lactating does (at least 3 daily records in that window), 2025.
3.4. Association Between Yield and Days in Lactation
Among does that had kidded (Lac Num ≥ 1), yield declined with days in lactation at every snapshot (Table 4; slopes −0.0009 to −0.0014 kg d−1 per day, R2 = 0.03–0.09, all p ≤ 0.002), consistent with lactation-stage effects. When lactating Lac 0 does—whose days in lactation was recorded as 0—were included, the January slope became positive (+0.0013 kg d−1 per day, R2 = 0.107) because these does were in their first days of recorded milking after purchase and had low yields. The positive January slope obtained when all lactating does are pooled is therefore an artefact of this coding, not a lactation-stage effect.
Table 4.
OLS regression and Spearman rank correlation of mean daily milk yield over the preceding 30 days on days in lactation among does that had kidded (Lac Num ≥ 1), by snapshot; p refers to the OLS slope. Lac 0 does excluded: n = 98, 46, 31, and 27 in January, June, November, and December.
3.5. Seasonal Bulk-Tank Milk Composition (n = 155 Tanker Collections, 12 Months)
Across all 12 months of 2025, 155 official tanker collections provided detailed bulk-tank composition data (Table 5; Figure 3). The mean fat percentage was highest in January (4.89 ± 0.18%) and declined to a seasonal nadir in September (3.80 ± 0.22%), a 22.4% decrease, before partial recovery to 4.53 ± 0.27% in December. The mean protein percentage followed a similar pattern, declining from 4.38 ± 0.07% in January to 3.91 ± 0.05% in August (−10.7%), with recovery to 4.13 ± 0.04% by December. Total solids declined from 13.91 ± 0.49% in January to 12.92 ± 0.23% in September (−7.1%). The casein percentage, by contrast, varied within a narrow range (3.14 to 3.43%), with no clear seasonal pattern. The lactose percentage was remarkably stable across the year (4.29 to 4.46%), with a slight peak in October. The sum of fat and protein concentrations, interpreted as a composite milk-solids index closely linked to cheese-yield potential, declined from 9.27 ± 0.23% in January to 7.73 ± 0.24% in September (−16.6%) and then rebounded to 8.66 ± 0.28% by December. Because milk volume rose over the summer, the monthly mass of fat plus protein produced did not fall: it was 1896 kg in June, 2365 kg in August, and 2715 kg in October, which matters for milk payment and cheese yield as much as the concentrations themselves.
Table 5.
Monthly bulk-tank milk composition at Farma Domokos, 2025 (n = 155 official tanker collections).
Figure 3.
Monthly bulk-tank milk composition at Farma Domokos across 12 months in 2025 (n = 155 official tanker collections). Panels: (A) fat%; (B) protein%; (C) total solids%; (D) fat + protein sum%. Error bars: ±1 SD across in-month tanker collections. Shaded area: June–September, the months with 18–31 heat-load days (daily maximum THI > 72; Table 1). Bars repeat the monthly means in a single colour; “Nadir” labels give the unrounded monthly minimum.
Several non-climatic factors coincide with this pattern and cannot be separated from THI in these data. Yield per lactating doe rose through the second half of the year and peaked in November (Table 3), after most 2025 kiddings had occurred in June–September (Section 3.2); in late summer, a large share of the herd was therefore in early lactation, when the fat and protein concentrations in goat milk are usually lowest [11]. Because the ration did not change during 2025, ration changes cannot explain the January maximum and September minimum in fat content, although seasonal variation in forage quality within the same ration cannot be excluded.
Pearson correlations between mean monthly THI and bulk-tank composition were tested at three temporal lags (k = 0, 1, 2 months) with Benjamini–Hochberg FDR correction across the 18-test family [35] (Table 6). For fat%, the correlation strengthened from r = −0.797 at lag 0 (n = 12; FDR-p = 0.005) to r = −0.917 at lag 1 (n = 11; FDR-p < 0.001) and remained large at lag 2 (r = −0.831; n = 10; FDR-p = 0.006). Protein% showed a similar pattern, with practically identical correlations at lag 1 and lag 2 (r = −0.926 and −0.920; both FDR-p < 0.001) (Figure 4). Fat + protein sum and total solids each yielded their strongest signals at lag 1 (r = −0.928 and r = −0.835, respectively; both FDR-p ≤ 0.004). Casein% was uncorrelated with THI at any lag (|r| ≤ 0.20; all FDR-p > 0.62), and lactose% showed only a weak positive trend that did not survive FDR correction. Spearman’s rank correlations were directionally consistent and similar in magnitude. The location of the maximum |r| at lag 1 to lag 2 is in line with the 2–6-week delay described for dairy ruminants [6,8], but with monthly data a lag of one or two months also coincides with the phase difference between the THI cycle and the lactation and feeding cycles of the herd, so the lag pattern alone does not identify a heat-stress mechanism.
Table 6.
Pearson correlations between mean monthly THI and bulk-tank composition at 0-, 1-, and 2-month lags. BH-FDR correction across 18 tests.
Figure 4.
Lag-specific associations between monthly bulk-tank composition (month t) and mean THI at Farma Domokos, 2025. (A) Fat% (month t) vs. THI (month t − 1); (B) protein% (month t) vs. THI (month t − 2). Points are coloured by the operational THI screening class. Regression line (solid), 95% confidence interval (darker band), and nominal in-sample 95% prediction interval (lighter band) are shown. Vertical dotted lines indicate the operational screening thresholds of THI = 68 and 72; these are descriptive thresholds and are not goat-specific, experimentally validated cut-offs.
The strength of these correlations largely reflects the shared annual cycle. A two-parameter annual harmonic explained 97% of the monthly variance in THI and 75–84% of the variance in fat, protein, total solids, and fat + protein—more than THI itself explained at lag 0 (R2 = 0.54–0.64), and similar to lagged THI (R2 = 0.70–0.86; Section 3.7). Adding the THI anomaly to the harmonic model increased R2 by at most 0.005 (fat 0.834 → 0.834; protein 0.830 → 0.835; total solids 0.749 → 0.750; fat + protein 0.841 → 0.842). The harmonic terms were significant for all four variables (overall F-test p ≤ 0.002; sine term p ≤ 0.001; cosine term p = 0.023–0.086), whereas the anomaly coefficients were small and not significant (p = 0.66–0.85; Table 7, part B). Their signs (positive for fat, protein, and fat + protein; negative for total solids) are not interpretable: each estimate was smaller than its standard error, all 95% confidence intervals included both negative and positive values, and the sign is therefore determined by sampling noise in the few months with the largest anomalies. The power of this check is limited: with 8 residual degrees of freedom and little anomaly variation (SD 1.7 THI units, because the harmonic explained 97% of THI variance), the smallest anomaly coefficient detectable with 80% power (α = 0.05) was about 3.2 standard errors, i.e., 0.088, 0.039, 0.106, and 0.124 pp per THI unit for fat, protein, total solids, and fat + protein, or 3.4–4.6 times the slopes of the lagged equations (Section 3.7). The null result shows that THI anomalies within 2025 were too small to be separated from the annual cycle, not that THI has no effect. Within 2025, THI therefore carried no detectable information on composition beyond the annual cycle. The series were strongly autocorrelated (lag-1 autocorrelation 0.73 for THI and 0.35–0.69 for these four composition variables), which reduced the effective sample size from 10–12 months to 3.5–6.1 (Table 7). With these effective sample sizes, only fat% at lag 1 (p = 0.048) and total solids% at lag 1 (p = 0.035) remained below 0.05, and none survived BH correction across the 18 tests (all q ≥ 0.27). On first differences, month-to-month changes in fat, protein, total solids, and fat + protein were negatively correlated with changes in THI at every lag (r = −0.29 to −0.74), with the strongest associations at lag 2 (fat −0.69, protein −0.74, total solids −0.65, fat + protein −0.72; unadjusted p = 0.023–0.059), but none survived BH correction (all q ≥ 0.16). The direction of the association was therefore consistent across methods, whereas its statistical strength depended on treating months as independent, which they are not.
Table 7.
(A) Sensitivity of THI–composition correlations to serial autocorrelation: effective sample size, autocorrelation-adjusted tests, and first-difference correlations. (B) Annual-harmonic models of monthly composition without and with the THI anomaly term (n = 12 months; 8 residual df for the full model).
3.6. Emission-Intensity Proxy
By construction, the relative emission-intensity proxy is the inverse milk-yield ratio normalised to November and is therefore identical under any constant choice of methane EF (Table 8). Using the measured bulk-tank composition of the month covered by each 30-day window, the FPCM-based proxy at the four snapshot dates is January 1.78, June 1.37, November 1.00, and December 1.19 (Figure 5). The EI_proxy is a simplified pedagogical estimate rather than a within-animal longitudinal ratio.
Table 8.
Relative emission-intensity proxy (EI_proxy) at four snapshots, normalised to the November peak yield (=1.00).
Figure 5.
Relative emission-intensity proxy (EI_proxy) at four snapshot dates, normalised to November 2025 (=1.00). (A) Relative indices on raw-milk and FPCM bases; both are invariant to the assumed constant emission factor. (B) Underlying raw-milk and FPCM yields (mean of the 30 days preceding each snapshot). (C) Monthly milk produced per doe in milk (bars, left axis) and adult-herd emission-intensity index for animals older than 15 months (FPCM basis, November = 1.00; line, right axis) from the farm production records.
On a female-herd basis (Section 2.6), the share of female records in milk was 57.8%, 67.3%, 74.5%, and 80.4% in January, June, November, and December. The herd-level relative indices were 2.56, 1.58, 1.00, and 1.17 on a raw-milk basis and 2.30, 1.52, 1.00, and 1.11 on an FPCM basis. Compared with the per-lactating-doe indices, the herd-level index was higher in January (2.56 vs. 1.98) and lower in December (1.17 vs. 1.26), because the share of females in milk rose from 58% to 80%: herd structure enters emission intensity independently of yield per doe. The monthly farm records showed the same pattern over the full year (Figure 5C): milk produced per doe in milk rose from 1.36 kg d−1 in January to 3.17 kg d−1 in October, and the adult-herd FPCM index (animals older than 15 months) fell from 1.84 in January to 1.00 in November (1.54 in June, 1.70 in July and 1.02 in December). Counting all animals, including newborn kids, gave a wider range (2.38 in January) and a more pronounced July peak (1.79), when 117 births raised the animal count.
On a raw-milk basis, the same indices are 1.98, 1.42, 1.00, and 1.26. Substituting EF = 5.0, 9.0, or 13.5 kg CH4 head−1 yr−1 for the absolute emission rate produces identical relative indices: an empirical illustration that the proxy is not and cannot be an EF-dependent GHG estimate.
Under the constant per-head CH4 assumption (E_d = 9.0/365 ≈ 0.0247 kg/head/d, using the 2019 IPCC Tier 1 default for goats in high-productivity systems [33]), absolute emission intensity ranges from 0.008 kg CH4 kg−1 raw milk at the November peak to 0.016 kg CH4 kg−1 raw milk in January. We re-emphasize that these absolute numbers are scaling outputs of the selected EF and are not independent of the underlying yield data; they are presented only to allow the reader to convert between dimensionless relative indices and dimensional units when desired.
3.7. Farm-Specific Equations: In-Sample Fit and Leave-One-out Error
The four OLS equations (Table 9) explained approximately 70–86% of the variance in the monthly means (R2 = 0.698–0.861), with residual standard errors of 0.047 pp (protein%, lag 2) to 0.171 pp (total solids%, lag 1). Leave-one-out errors were only slightly larger (RMSE_CV: fat% 0.138 pp; protein% 0.050 pp; total solids% 0.192 pp; fat + protein% 0.183 pp), indicating that no single month dominated the fits. The fitted-model statistics are in-sample; leave-one-out errors are internal cross-validation statistics. For example, the lag-1 fat equation returns 3.955% (95% PI: 3.653–4.258%) for the August THI of 70.0, against 3.80% observed in September, but September was itself part of the calibration data. Given the strong seasonality and the small effective sample size (Section 3.5), the equations describe the 2025 seasonal pattern at this farm; they have not been validated on independent years or farms and should not be used as forecasts. The THI equations did not outperform the seasonal benchmark (Table 9, part B): the leave-one-out errors were 0.138 vs. 0.140 pp for fat, 0.050 vs. 0.049 pp for protein, 0.192 vs. 0.201 pp for total solids, and 0.183 vs. 0.183 pp for fat + protein, whereas both models were clearly better than the intercept-only model (0.119–0.433 pp). Monthly THI therefore summarised the 2025 seasonal cycle as well as calendar month did, but not better. Leave-one-out validation with serially dependent months cannot establish predictive reliability, and independent temporal validation on later years would be required before any operational use. The 95% prediction intervals are nominal: they assume independent months, and with effective sample sizes of 3.5–6.1 (Table 7), intervals that accounted for serial autocorrelation would be considerably wider. In principle, the same procedure could be recalibrated for another farm from 10–12 monthly bulk-tank records and ERA5-Land THI, but the resulting equations would carry the same in-sample limitations until validated on independent years. The tool should restrict inputs to the observed calibration range (THI 41.8–72.8) and label all intervals as nominal in-sample prediction intervals; the tool does so, and the output of the 3-Month Scenario tab repeats that the results cannot be extrapolated to other years or farms (Supplementary File S1).
Table 9.
(A) Farm-specific linear regression equations embedded in HeatStress_TrainingTool (Farma Domokos, 2025; in-sample calibration); 95% prediction intervals computed via t-distribution (df = n − 2). Coefficients were estimated from the monthly means in Table 1 and Table 5. Prediction intervals assume independent months and are therefore too narrow given the effective sample sizes in Table 7. (B) Leave-one-out comparison of the THI equations with a seasonal benchmark (annual harmonic, no THI) and an intercept-only model fitted to the same months.
3.8. Integration into Live-Lab Sessions
The indicators described (yield distributions, paired within-animal change with sub-cohort decomposition, monthly composition trends, the THI timeline, autocorrelation checks, the EI_proxy with its EF-invariance disclosure, and the interactive HeatStress_TrainingTool) are organised for presentation through a farm dashboard in live-lab training activities (Supplementary File S1). The 3-Month Scenario function is designed to let learners explore how a sequence of monthly THI values maps onto the 2025 farm-specific equations. The on-screen scope statement makes clear that the output is an educational scenario, not a forecast. Learning outcomes were not formally assessed in this case study. A first pilot session of about three hours was held on the farm with two farm managers and the farm veterinarian. The participants worked through the four pedagogical anchors (Section 2.8) with the 2025 records and the tool, from the parity decomposition of the January–December yield change to the 3-Month Scenario and its scope statement. Learning outcomes were not formally assessed, so no results can be reported, and the feedback gathered informally is not reported as a result. A structured application with a pre-/post-session evaluation of learning outcomes is the next step of the programme.
4. Discussion
This case study combined individual-animal yield records, official bulk-tank certificates, and reanalysis climate data from one commercial dairy goat farm over one year. Its contribution is methodological and educational rather than causal: it shows which questions routine farm data can answer, which they cannot, and how both can be turned into training material for climate-smart management.
The mean daily yield per doe over the preceding 30 days increased within animals from January to December (median Δ = +0.69 kg d−1; r = 0.64), but the change was distributed unevenly across parity transitions. The increase was smaller but persisted after adjustment for parity and days in lactation (Section 3.3). Does that kidded during the year (Lac 0 → Lac 1 and Lac 1 → Lac 2) gained the most, because in January they were either in the first days of a lactation not preceded by kidding or late in lactation, and in December they were in early lactation. Does that remained in Lac 1 without kidding (n = 99), in an extended lactation of up to about 22 months, gained the least, and the overall parity pattern is consistent with that described for commercial dairy goats [34]. The monthly farm records also show that yield per doe in milk was not lower in the hottest months: it rose from 2.26 kg d−1 in June to 2.88 kg d−1 in August (correlation with monthly THI r = 0.32, p = 0.31, n = 12), which suggests that in 2025 the kidding pattern and lactation dynamics contributed importantly to the seasonal course of yield on this farm. These observational data cannot, however, exclude a heat-related effect, which may have been masked by the concurrent increase in the share of does in early lactation. The decomposition shows empirically that herd-level seasonal comparisons blend within-animal change, lactation-stage progression, and turnover of the lactating cohort; even the paired contrast is conditional on parity transition and is not a pure seasonal effect. It also refers only to does retained and still lactating in December (89% of the January lactating cohort); because the does that did not remain in the cohort had lower January yields, the estimate is biased upwards (Section 3.3). The analysis also showed how sensitive such comparisons are to the recording itself: the snapshot-day yields of November and December were partial-day values, and using them reversed the sign of the January–December change. Future seasons should retain individual exports at all recording dates, confirm that each snapshot day is a complete milking day, and add individual somatic cell counts, so that linear mixed models with animal as a random effect and lactation stage, parity, and THI as fixed effects can be fitted, as has been done for dairy sheep across 34 farms in Sardinia [12].
Bulk-tank fat, protein, total solids, and fat + protein declined from spring to a minimum in August–September, recovered in autumn, and correlated negatively with the ambient THI of the preceding one to two months. The direction of these associations is consistent with experimental and meta-analytic evidence that heat load depresses milk protein and fat in dairy ruminants [7,36], and it was consistent across raw, rank-based, and first-difference correlations. The evidence does not, however, allow the decline to be attributed predominantly to THI. Within one year, THI and any other seasonal driver are almost collinear, and a generic two-parameter annual curve described the composition series better than same-month THI did, while THI added no explanatory power once that curve was fitted. Lactation stage and kidding pattern, yield level and the associated dilution of solids, seasonal changes in forage and ration, photoperiod, and udder health all follow the calendar as well [11,37]. At Farma Domokos, most 2025 kiddings occurred between June and September (Section 3.2), so the late-summer minimum in fat and protein coincided with a large share of the herd being in early lactation. Once serial correlation was taken into account, the effective sample size fell to three to six months, and no association remained significant after multiple-testing correction. The high correlations in Table 6 should therefore be read as a precise description of the 2025 seasonal pattern at this farm, not as an effect size. These relationships are therefore not evidence of a direct effect of heat stress on milk composition.
Housing conditions may also have modified the heat exposure of the animals relative to ERA5-Land THI. The barn is naturally ventilated through a continuous ridge opening and netted side-wall openings (Section 2.1), so indoor temperature and humidity follow outdoor conditions, but the difference depends on wind speed and direction, the position of the side-wall curtains, roof insulation and solar load, and on the heat and moisture produced by the animals themselves. At 2.5 m2 per doe, animal heat production adds to the indoor load, particularly on still, humid nights, when natural ventilation is weakest and night-time heat loss is most needed for recovery. In mechanically cooled buildings, indoor THI can be several units lower than outdoor THI [14], whereas in naturally ventilated barns without cooling it can be similar to—or during the afternoon, higher than—outdoor THI. The misting line used on hot afternoons lowers air temperature but raises humidity, so its net effect on indoor THI cannot be assessed without measurements. These effects could attenuate or amplify the actual exposure in the months with the highest THI and may differ between pens with different stocking density. The absence of a fall in yield per doe in June–August is therefore compatible with several explanations, namely, moderate indoor exposure, the relatively high heat tolerance of goats [9], or masking by the concurrent kidding and early-lactation peak, which the present data cannot distinguish. Barn dataloggers will allow this building-specific relationship to be quantified (see below).
Two further factors deserve specific comment: Udder health was not measured at the animal level. Subclinical mastitis lowers yield and alters milk composition by raising whey proteins and lowering casein and lactose; somatic cell counts in goats also rise physiologically in late lactation independently of infection [37]; heat stress may further impair udder defence [10]. Subclinical mastitis is common and often undiagnosed in Greek small-ruminant herds [15]. At Farma Domokos, the summer decline in total protein was not accompanied by a decline in casein, so the casein share of protein rose rather than fell in summer (from 0.74 in January to 0.81 in August), which is not the pattern expected from a mastitis-driven change. However, bulk-tank casein estimated by routine infrared analysis is an imprecise indicator. Total protein fell by 0.47 percentage points between January and August, while casein did not change, which would imply an implausibly large fall in whey protein; this points to the limits of the infrared casein calibration, so the casein data cannot be used to exclude a contribution of subclinical mastitis. More generally, routine bulk-tank analyses rely on mid-infrared calibrations whose accuracy for goat milk depends on whether goat-milk reference samples were used; fat and total protein are usually predicted more reliably than casein and other minor fractions. The seasonal changes in fat (1.09 percentage points) and total protein (0.47 percentage points) are large relative to the typical repeatability of routine infrared analysis, so the seasonal pattern itself is unlikely to be an analytical artefact, whereas the small differences in casein (range: 0.29 percentage points across the year) are of a size at which calibration bias or a change in laboratory or instrument could matter; at this farm, the laboratory, the instrument, and its calibration did not change during 2025, so a change of this kind can be excluded as an explanation of the within-year pattern. Bulk-tank casein also reflects total casein only and cannot resolve the individual fractions (αs1-, αs2-, β-, and κ-casein) that determine rennet coagulation properties relevant to Feta and Graviera production, and heat treatment is known to alter goat casein’s micelle structure and gelation differently from cow milk [38]. Fractionation analyses would be needed to assess heat-load effects on cheese-making properties. Diet is the second factor: The ration formulation did not change in 2025; therefore, changes in formulation cannot explain the observed seasonal pattern, although variation in forage quality between batches was not measured. Both factors are part of the Excellence Farm data-collection protocol from 2026 onwards.
The farm-specific equations (Table 9) had small in-sample errors of 0.047 to 0.171 percentage points, but small errors in a seasonal series with three to six effective observations say little about predictive validity. Moreover, the lag of each equation was chosen from the same data, and a seasonal benchmark without THI achieved the same leave-one-out error (Table 9, part B), so the equations contain no demonstrated information beyond the calendar. The equations reproduce the 2025 seasonal pattern; whether they predict composition in another year, under another kidding pattern, or on another farm is unknown. We therefore present them as a farm-specific reference curve for training and for planning discussions—for example, about expected late-summer milk solids and their implications for milk payment and cheese yield—and not as a validated predictive model. External validation on 2026 and later certificates from the same farm, and on other farms, is the necessary next step.
HeatStress_TrainingTool turns this reference curve into an accessible format. Running in a browser on macOS, iOS, Android, or Windows, it converts monthly temperature and humidity readings into a THI class, a stress-class management checklist, the 2025 composition reference with its prediction interval, and an EI_proxy value. Its value lies in the live-lab setting, where farmers and students use it to discuss heat-abatement and feeding decisions and to see how lag, seasonality, and uncertainty shape the interpretation of farm data. The tool states its scope on screen and should not be used outside that setting without recalibration and validation.
The emission-intensity proxy makes the link between milk production and GHG emissions tangible for learners. Under a constant per-head emission factor, emission intensity is inversely proportional to yield per animal: at Farma Domokos, the proxy was 1.98 times higher in January than at the November peak (Table 8), simply because each doe produced less milk while her maintenance-related emissions continued. On a female-herd basis, the January index was 2.56, because only 58% of females were in milk, whereas in December, with 80% in milk, it was lower than the per-doe index (1.17 vs. 1.26), which illustrates that the proportion of the herd in lactation may itself be an emission-intensity lever. As shown algebraically and empirically, the relative index contains no GHG information beyond yield variability, so we retain it only for its pedagogical value. Its main lesson is practical: the levers that keep yield per doe high across the year—namely, parity structure and replacement policy, kidding management, udder health, and heat abatement—are also expected to lower emission intensity. The proxy itself cannot show this: under a constant per-head emission factor, any fall in the index is by construction a rise in yield, not a demonstrated reduction in emissions. In practice, methane emission per head rises with feed intake and, therefore, with yield, and differs among lactating, dry, and growing animals, so the true reduction in intensity would be smaller than the proxy suggests and could not be attributed to a particular management practice without measured or modelled emissions. The farm records are consistent with this: as-fed feed for animals older than 15 months per kilogram of milk fell from 1.99 kg in January to 1.25 kg in August (annual mean 1.51 kg) as the yield per doe rose, although these are as-fed rather than dry-matter amounts. This is consistent with the global evidence that productivity gains reduce emission intensity in dairy systems [2,3], and with our estimate that heat stress raises the impact per kilogram of milk during hot periods [4]. Quantifying these effects requires a Tier 2 or life-cycle assessment that accounts for body weight, feed intake, diet digestibility, and seasonal feed quality [33]; farm-level LCA studies of commercial dairy goat systems report about 1.7–3.5 kg CO2eq per kg FPCM, depending on production intensity and carbon sequestration credits [27]. Such an assessment is a priority for the Excellence Farm in the coming years.
From a sustainability perspective, the case illustrates how a commercial farm can serve as knowledge infrastructure for climate adaptation. The same data that support management decisions become teaching material on three levels: what the farm’s own records show (yield, parity, composition), what they cannot show without further measurement (barn microclimate, physiology, udder health), and how mitigation and adaptation interact through productivity per animal. This is the function that living-lab and farm-demonstration approaches are expected to fulfil within agricultural knowledge and innovation systems [16,17,18]. Making the inferential limits explicit is part of that function: a programme that presented the correlations of Table 6 as heat-stress effects would teach farmers and advisors to over-read single-season data, whereas one that shows how they shrink in Table 7 teaches the discipline needed to judge commercial decision-support claims.
This study has several limitations, most of which follow from its design as a single-farm case study: (i) Data cover one farm and one production year, so a climatic effect cannot be separated from the characteristics of that year, farm, and management system. (ii) Thermal exposure was estimated from ERA5-Land at the grid scale (~9 km); barn temperature, humidity, and air velocity were not measured, and ventilation, housing design, and stocking density are not reflected in the THI. (iii) No physiological indicators of heat stress (rectal temperature, respiration rate, panting score, feed and water intake) were recorded, so the occurrence of heat stress was not confirmed at the animal level. (iv) Bulk-tank certificates were aggregated to monthly means; this matched the a priori lag hypothesis and the monthly resolution of the training tool but discarded within-month variation. (v) Dry matter intake, diet composition, days in milk, individual somatic cell counts, and clinical mastitis were not included in the THI–composition analysis, so confounding by these factors cannot be excluded. (vi) The regression equations have not been externally validated. (vii) The stress-class thresholds follow the NRC formulation developed for cattle; although this THI model has been reported as appropriate for goats [24], goat-specific thresholds are generally higher, reflecting the greater heat tolerance of the species [9], so the class boundaries should be read as a conservative, cattle-calibrated reference. (viii) The learning outcomes of the live-lab sessions were not formally evaluated. (ix) The lag of each farm-specific equation was selected from the same data, and lag-1 and lag-2 analyses lost one or two months because the THI for late 2024 was not used. (x) Snapshot-day yields were partial-day values in November and December; yield was therefore expressed as the mean of the preceding 30 days, which smooths short-term changes and, in December, combines regular with irregular recording; it also cannot capture short heat episodes. (xi) Feed use was available only as monthly as-fed totals for age groups, not as dry-matter intake of lactating does. (xii) The parity of the adult does purchased in lactation in January 2025 is not held in the farm software, so Lac 0 is a recording class rather than a biological parity, and the January yields of these does also reflect their first days after transport.
These limitations define the next stage of the Excellence Farm programme: barn dataloggers for temperature, humidity, and air velocity; periodic physiological measurements during summer; individual somatic cell counts; and ration records will enable indoor–outdoor THI calibration and animal-level models. Combined with earlier herd-management exports and the continuing series of bulk-tank certificates, they will permit multi-year, collection-level distributed-lag models with explicit seasonal terms, in which the effect of THI can be separated from that of season. With such multi-year, animal-level, and collection-level data, machine-learning approaches (for example, random forests or gradient-boosted trees using seasonal, lactation-stage, and lagged THI features, validated on held-out years) could also be tested for forecasting; with a single year of monthly data, they would only reproduce the seasonal pattern. Replication on other commercial farms would address farm-specific management effects.
Potential Contribution to the United Nations Sustainable Development Goals
The findings and the Excellence Farm framework have relevance to a focused set of United Nations Sustainable Development Goals (SDGs), although this case study did not measure SDG indicators directly. Because the training tool has so far been applied only in one pilot session, without a formal evaluation of learning outcomes, all contributions described below are potential rather than demonstrated results. The strongest alignment is with SDG 2 (Zero Hunger), particularly Target 2.4, because this study develops a farm-level approach for interpreting production records alongside climate exposure and for supporting learning about resilient agricultural practices. The climate-monitoring workflow and the explicit treatment of heat-load uncertainty are relevant to SDG 13 (Climate Action), especially adaptation and climate-awareness capacity. The HeatStress_TrainingTool and the proposed live-lab learning format are relevant to SDG 4 (Quality Education), through applied, practice-oriented learning; however, educational effectiveness cannot be claimed, because learning outcomes were not formally evaluated. The productivity and emission-intensity proxy analyses are relevant to SDG 12 (Responsible Consumption and Production) by illustrating the relationship between animal productivity and resource-use intensity, but the proxy is not a measured greenhouse-gas inventory or life-cycle assessment. Finally, the collaboration between the commercial farm and academic partners provides a practical example of knowledge exchange consistent with SDG 17 (Partnerships for the Goals). The SDG framework is defined in the United Nations 2030 Agenda [39]. The alignment of each study component and its strength are summarised in Table 10.
Table 10.
Potential alignment of the study components with the United Nations Sustainable Development Goals.
These links should be interpreted as potential contributions and areas of relevance, not as evidence that the farm achieved the corresponding SDG targets. This study did not quantify farm income, employment, food-security outcomes, absolute greenhouse gas emissions, resource consumption, biodiversity, or educational attainment. Accordingly, SDG 8 (Decent Work and Economic Growth), SDG 3 (Good Health and Well-Being), and SDG 15 (Life on Land) are not presented as direct outcomes. Future monitoring could strengthen the SDG assessment by adding farm-economic indicators, feed and water use, measured emissions, animal-welfare and health indicators, and pre-/post-training assessment of participants.
5. Conclusions
This case study shows that a commercial dairy goat farm operating as an Excellence Farm can turn routine digital records, official bulk-tank certificates, and ERA5-Land climate data into indicators for climate-smart training, provided that the inferential limits of single-farm, single-year data are made explicit. Six points should be noted:
- First, the paired January–December analysis (n = 274; median Δ = +0.69 kg d−1; r = 0.64) gives a within-animal estimate of yield change that is not affected by animals entering the herd, although it remains conditional on lactation stage and parity transition and describes change only among does retained and still lactating in December (89% of the January lactating cohort).
- Second, does that kidded during the year gained the most (median +1.29 to +1.42 kg d−1), and does in extended lactation the least (+0.41 kg d−1), whereas the partial-day snapshot yields of November and December would have shown a decline; in a young, expanding herd, parity structure is the first diagnostic to establish, before any seasonal or climatic reading of yield data.
- Third, bulk-tank fat, protein, total solids, and fat + protein reached a minimum in late summer and correlated negatively with ambient THI one to two months earlier, while casein was stable. Because THI and composition share one annual cycle, these associations lost statistical significance once serial correlation and multiple testing were accounted for; they describe the seasonal pattern of 2025 and are not estimates of a heat-stress effect. Once the annual cycle was removed, THI explained no statistically detectable additional variance. Because bulk-tank casein reflects total casein only, casein-fraction analyses are needed to assess effects on cheese-making properties relevant to Feta and Graviera.
- Fourth, the relative EI_proxy is invariant to the choice of CH4 emission factor and is therefore an explicit pedagogical reformulation of yield variability rather than an independent GHG estimate; its practical lesson is that the levers that sustain yield per doe across the year are also expected to lower emission intensity, which the proxy illustrates but does not measure. On a female-herd basis, the share of females in milk also shifted the index, so herd structure is a potential lever in its own right.
- Fifth, the farm-specific equations were packaged in HeatStress_TrainingTool (Supplementary File S1), an open browser application for live-lab training that shows composition reference values with nominal, in-sample 95% prediction intervals, a three-month scenario, and stress-class management checklists. The equations have small in-sample errors (RMSE 0.047–0.171 pp; RMSE_CV ≤ 0.192 pp) but have not been externally validated and are not forecasts. They predicted the 2025 months no better than a seasonal benchmark without THI.
- Sixth, the Excellence Farm framework is replicable: paired within-animal analyses, lag-specific correlations tested against serial autocorrelation, explicitly framed GHG proxies, and transparent farm-specific tools can be adopted by other live labs [17]. Barn microclimate monitoring, physiological measurements, udder-health and ration records, multi-year data, and replication on other farms, supported by the sensor technologies now available for small-ruminant precision livestock farming [20], are the steps needed to move from seasonal description to causal inference.
Supplementary Materials
The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/su182312393/s1, File S1: HeatStress_TrainingTool, interactive training tool (HTML); Table S1: Number of recorded daily yields within the 30-day window preceding each export among lactating does, Farma Domokos, 2025.
Author Contributions
Conceptualization, I.K. and V.G.P.; methodology, I.K., L.F., G.I.P., D.G., G.T., E.C., A.V.M., C.V. and V.G.P.; software, I.K. and L.F.; formal analysis, I.K. and L.F.; investigation, I.K., L.F., G.I.P., D.G., G.T., E.C., A.V.M., C.V. and V.G.P.; data curation, I.K. and L.F.; visualization, I.K.; writing—original draft preparation, I.K., L.F., G.I.P., D.G., G.T., E.C. and A.V.M.; writing—review and editing, I.K., C.V. and V.G.P.; project administration, I.K.; supervision, V.G.P. and I.K. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by “SUB1.1. Clusters of Research Excellence (CREs)” (O.P.S. code TA 5180519), included in Subproject 1 of the Action “Promoting Quality, Innovation, and Extroversion in Universities” (Strategy for Excellence in Universities & Innovation—ID 16289) of the National Recovery and Resilience Plan “Greece 2.0”, under the title “Study on the impact of heat stress on livestock: Adaptation and Mitigation/AdaMit-Livestock HS” and grant number 8289 of the Research Committee of the University of Thessaly.
Institutional Review Board Statement
The animal study protocol was approved by the Institutional Ethical Committee of the University of Thessaly (Approval No. 45, dated 12 May 2025).
Informed Consent Statement
Written informed consent was obtained from the owner of Farma Domokos for the use of farm records, milk-quality data, and images in this study and for publication of the associated findings.
Data Availability Statement
The data presented in this study are available upon request from the corresponding authors due to privacy and ethical restrictions.
Acknowledgments
The authors sincerely thank the farm owner for his valuable collaboration, access to facilities, and contribution to this study. During the preparation of this manuscript/study, the authors used ChatGPT (OpenAI; GPT-4o) for the preparation of the Graphical Abstract. The authors have reviewed and edited the output and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.
Abbreviations
The following abbreviations are used in this manuscript:
| Abbreviation | Definition |
| AKIS | Agricultural Knowledge and Innovation System |
| BH | Benjamini–Hochberg (procedure) |
| CI | Confidence interval |
| CV | Coefficient of variation |
| EF | Emission factor |
| EI_proxy | Emission-intensity proxy |
| ERA5-Land | ECMWF Reanalysis v5, land component |
| FDR | False discovery rate |
| FPCM | Fat- and protein-corrected milk |
| GHG | Greenhouse gas |
| IDF | International Dairy Federation |
| IPCC | Intergovernmental Panel on Climate Change |
| IQR | Interquartile range |
| LCA | Life-cycle assessment |
| n_eff | Effective sample size |
| NRC | National Research Council |
| OLS | Ordinary least squares |
| PI | Prediction interval |
| RMSE | Root-mean-square error (residual standard error) |
| RMSE_CV | Leave-one-out cross-validation RMSE |
| SD | Standard deviation |
| THI | Temperature–Humidity Index |
| TS | Total solids |
References
- Food and Agriculture Organization of the United Nations (FAO). Greenhouse Gas Emissions from Small Ruminant Supply Chains; LEAP Partnership; FAO: Rome, Italy, 2019. [Google Scholar]
- Gerber, P.; Vellinga, T.; Opio, C.; Steinfeld, H. Productivity gains and greenhouse gas emissions intensity in dairy systems. Livest. Sci. 2011, 139, 100–108. [Google Scholar] [CrossRef] [Scilit]
- Opio, C.; Gerber, P.; Mottet, A.; Falcucci, A.; Tempio, G.; MacLeod, M.; Vellinga, T.; Henderson, B.; Steinfeld, H. Greenhouse Gas Emissions from Ruminant Supply Chains: A Global Life Cycle Assessment; FAO: Rome, Italy, 2013. [Google Scholar]
- Papatsiros, V.G.; Papakonstantinou, G.I.; Eliopoulos, C.; Stampinas, E.-G.; Dimoveli, K.; Fotos, L.; Tsekouras, N.; Arapoglou, D.; Gougoulis, D.; Michailidis, G. Integrating Heat Stress into Circular Livestock Production and Life Cycle Assessment: Toward a Heat-Stress Circularity Index. Animals 2026, 16, 3290. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- International Dairy Federation (IDF). A Common Carbon Footprint Approach for Dairy: The IDF Guide to Standard Lifecycle Assessment Methodology for the Dairy Sector; Bulletin of the IDF No. 445/2010; IDF: Brussels, Belgium, 2010. [Google Scholar]
- Bernabucci, U.; Lacetera, N.; Baumgard, L.H.; Rhoads, R.P.; Ronchi, B.; Nardone, A. Metabolic and hormonal acclimation to heat stress in domesticated ruminants. Animal 2010, 4, 1167–1183. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Hamzaoui, S.; Salama, A.A.K.; Albanell, E.; Such, X.; Caja, G. Physiological responses and lactational performances of late-lactation dairy goats under heat stress conditions. J. Dairy Sci. 2013, 96, 6355–6365. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- West, J.W. Effects of heat-stress on production in dairy cattle. J. Dairy Sci. 2003, 86, 2131–2144. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Silanikove, N.; Koluman, N. Impact of climate change on the dairy industry in temperate zones: Predications on the overall negative impact and on the positive role of dairy goats in adaptation to earth warming. Small Rumin. Res. 2015, 123, 27–34. [Google Scholar] [CrossRef] [Scilit]
- Sevi, A.; Caroprese, M. Impact of heat stress on milk production, immunity and udder health in sheep: A critical review. Small Rumin. Res. 2012, 107, 1–7. [Google Scholar] [CrossRef] [Scilit]
- Goetsch, A.L.; Zeng, S.S.; Gipson, T.A. Factors affecting goat milk production and quality. Small Rumin. Res. 2011, 101, 55–63. [Google Scholar] [CrossRef] [Scilit]
- Correddu, F.; Cesarani, A.; Gaspa, G.; Carta, S.; Fois, G.; Peana, I.; Macciotta, N.P.P. Effect of heat stress on milk production traits and milk coagulation properties in dairy sheep. J. Dairy Sci. 2025, 108, 5092–5102. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Papatsiros, V.G.; Chourdakis, E.; Tsegas, G.; Fotos, L.; Papakonstantinou, G.I.; Michailidou, A.V.; Gougoulis, D.; Dimoveli, K.; Stampinas, E.-G.; Meletis, E.; et al. Spatial assessment of livestock heat stress in Thessaly region of Greece using ERA5-Land reanalysis and Temperature–Humidity Index. Vet. Sci. 2026, 13, 434. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Fotos, L.; Pourlis, A.; Valasi, E.; Papakonstantinou, G.I.; Kousenidis, K.; Sougias, A.; Tsegas, G.; Chourdakis, E.; Tsiropoulos, Z.; Michailidou, A.V.; et al. Heat Stress, Indoor Microclimate, and Lactation Feed Intake in Commercial Mediterranean Sows: Parity Effects and a Daily Resolution Predictive Model. Life 2026, 16, 1306. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kaimakamis, I.; Zelovitis, I. Raw Milk Quality and Subclinical Mastitis Burden in Small Ruminant Farms in Northwestern Greece: A Cross-Sectional Study. Animals 2026, 16, 2030. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- McPhee, C.; Bancerz, M.; Mambrini-Doudet, M.; Chrétien, F.; Huyghe, C.; Gracia-Garza, J. The Defining Characteristics of Agroecosystem Living Labs. Sustainability 2021, 13, 1718. [Google Scholar] [CrossRef] [Scilit]
- Bonatti, M.; Ollendorf, F.; Schröter, B.; Baldivieso, C.; Medina, L.; Bellingrath-Kimura, S.D.; Piquer-Rodriguez, M.; Busse, M.; Matzdorf, B.; Helming, K.; et al. Agricultural living labs: Bridging theory and practice through transformative learning. J. Agric. Educ. Ext. 2026, 1–23. [Google Scholar] [CrossRef] [Scilit]
- European Parliament and Council of the European Union. Regulation (EU) 2021/2115 of 2 December 2021 establishing rules on support for strategic plans to be drawn up by Member States under the common agricultural policy (CAP Strategic Plans). Off. J. Eur. Union 2021, L 435, 1–186. [Google Scholar]
- de Oliveira, F.M.; Ferraz, G.A.e.S.; André, A.L.G.; Santana, L.S.; Norton, T.; Ferraz, P.F.P. Digital and Precision Technologies in Dairy Cattle Farming: A Bibliometric Analysis. Animals 2024, 14, 1832. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mura, M.C.; Trimasse, O.; Carcangiu, V.; Luridiana, S. Precision Livestock Farming for Dairy Sheep: A Literature Review of IoT and Decision-Support Systems for Enhanced Management and Welfare. AgriEngineering 2026, 8, 58. [Google Scholar] [CrossRef] [Scilit]
- Copernicus Climate Change Service (C3S). ERA5-Land Hourly Data from 1950 to Present; ECMWF: Reading, UK, 2023. [Google Scholar] [CrossRef]
- Muñoz-Sabater, J.; Dutra, E.; Agustí-Panareda, A.; Albergel, C.; Arduini, G.; Balsamo, G.; Boussetta, S.; Choulga, M.; Harrigan, S.; Hersbach, H.; et al. ERA5-Land: A state-of-the-art global reanalysis dataset for land applications. Earth Syst. Sci. Data 2021, 13, 4349–4383. [Google Scholar] [CrossRef] [Scilit]
- National Research Council (NRC). A Guide to Environmental Research on Animals; National Academy of Sciences: Washington, DC, USA, 1971. [Google Scholar]
- Srivastava, A.; Yadav, P.; Mahajan, A.; Anand, M.; Yadav, S.; Madan, A.K.; Yadav, B. Appropriate THI model and its threshold for goats in semi-arid regions of India. J. Therm. Biol. 2021, 96, 102845. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- ISO/IEC 17025:2017; General Requirements for the Competence of Testing and Calibration Laboratories. International Organization for Standardization: Geneva, Switzerland, 2017.
- ISO 9622|IDF 141:2013; Milk and Liquid Milk Products—Guidelines for the Application of Mid-Infrared Spectrometry. International Organization for Standardization: Geneva, Switzerland, 2013.
- Horrillo, A.; Gaspar, P.; Rodríguez-Ledesma, A.; Escribano, M. Assessment of Greenhouse Gas Emissions and Carbon Sequestration in Dairy Goat Farming Systems in Northern Extremadura, Spain. Animals 2024, 14, 3501. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Pyper, B.J.; Peterman, R.M. Comparison of methods to account for autocorrelation in correlation analyses of fish data. Can. J. Fish. Aquat. Sci. 1998, 55, 2127–2140. [Google Scholar] [CrossRef]
- Cohen, J. Statistical Power Analysis for the Behavioral Sciences, 2nd ed.; Lawrence Erlbaum Associates: Hillsdale, NJ, USA, 1988. [Google Scholar]
- Wilcoxon, F. Individual comparisons by ranking methods. Biom. Bull. 1945, 1, 80–83. [Google Scholar] [CrossRef] [Scilit]
- Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nat. Methods 2020, 17, 261–272, Correction in Nat. Methods 2020, 17, 352. https://doi.org/10.1038/s41592-020-0772-5. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Intergovernmental Panel on Climate Change (IPCC). 2006 IPCC Guidelines for National Greenhouse Gas Inventories. Volume 4: Agriculture, Forestry and Other Land Use. Chapter 10: Emissions from Livestock and Manure Management; IPCC: Geneva, Switzerland, 2006. [Google Scholar]
- Intergovernmental Panel on Climate Change (IPCC). 2019 Refinement to the 2006 IPCC Guidelines for National Greenhouse Gas Inventories. Volume 4: Agriculture, Forestry and Other Land Use. Chapter 10: Emissions from Livestock and Manure Management; IPCC: Geneva, Switzerland, 2019; Volume 4. [Google Scholar]
- Zamuner, F.; DiGiacomo, K.; Cameron, A.W.N.; Leury, B.J. Effects of month of kidding, parity number, and litter size on milk yield of commercial dairy goats in Australia. J. Dairy Sci. 2020, 103, 954–964. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Benjamini, Y.; Hochberg, Y. Controlling the false discovery rate: A practical and powerful approach to multiple testing. J. R. Stat. Soc. Ser. B 1995, 57, 289–300. [Google Scholar] [CrossRef] [Scilit]
- Chen, L.; Thorup, V.M.; Kudahl, A.B.; Østergaard, S. Effects of heat stress on feed intake, milk yield, milk composition, and feed efficiency in dairy cows: A meta-analysis. J. Dairy Sci. 2024, 107, 3207–3218, Corrigendum in J. Dairy Sci. 2024, 107, 11803. https://doi.org/10.3168/jds.2024-107-12-11803. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Paape, M.J.; Wiggans, G.R.; Bannerman, D.D.; Thomas, D.L.; Sanders, A.H.; Contreras, A.; Moroni, P.; Miller, R.H. Monitoring goat and sheep milk somatic cell counts. Small Rumin. Res. 2007, 68, 114–125. [Google Scholar] [CrossRef] [Scilit]
- Breunig, S.; Fan, Z.; Keijzer, P.; Hettinga, K.; Bijl, E. Heating affects gelation properties and casein micelle structure in goat and cow milk differently. Food Struct. 2025, 44, 100438. [Google Scholar] [CrossRef] [Scilit]
- United Nations. Transforming Our World: The 2030 Agenda for Sustainable Development; United Nations: New York, NY, USA, 2015; Available online: https://sdgs.un.org/2030agenda (accessed on 1 November 2026).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.









