1. Introduction
Nitrogen (N) fertilization remains a cornerstone of agronomic management in extensive cereal cropping systems, particularly in Mediterranean dryland environments where water scarcity and soil heterogeneity pose significant challenges to productivity and sustainability. Among winter cereals, barley (
Hordeum vulgare L.) is widely cultivated in semi-arid regions such as Central Catalonia (Spain), where its performance is tightly linked to both nitrogen availability and climatic constraints, especially drought stress during critical growth stages. Furthermore, barley has a high N demand, averaging 24 kg N per ton of grain [
1]. Therefore, efficient N fertilization strategies must combine accurate dosage with optimal timing, with top-dressing generally being more effective than basal applications under rainfed conditions. These findings support the approach proposed in [
2,
3], emphasizing the need to analyze crop responses to N to refine fertilizer recommendations and enhance N use efficiency (NUE).
The role of nitrogen in barley development is well established: it enhances vegetative growth, photosynthetic capacity, and grain protein content, contributing to both yield and grain quality [
4,
5]. However, excessive or poorly timed N applications can lead to environmental risks such as nitrate leaching and nitrous oxide emissions [
6], particularly in areas with a Mediterranean climate and limestone soils that limit water retention capacity. In this context, optimizing NUE is not only an agronomic imperative but also a regulatory requirement under the European Union’s Common Agricultural Policy (CAP 2023–2027), which promotes sustainable fertilization practices and Precision Agriculture technologies. This is particularly relevant in the nitrate vulnerable zones (NVZs) of Central Catalonia (Spain), where N fertilization for barley cultivation is strictly regulated, limiting the maximum allowable N input per hectare and growing season.
An important aspect to consider in nitrogen fertilization strategies is the interaction between N supply and water availability, particularly under drought conditions. Barley is highly sensitive to water stress and, for this reason, N fertilization strategies under drought conditions must account for the complex interplay between water availability and crop physiological responses. NUE is context-dependent, varying with environmental stress and crop developmental stage [
7]. Nitrogen and water limitations interact non-linearly, affecting biomass accumulation and grain formation [
8]. Their findings suggest that optimizing nitrogen inputs under water stress requires dynamic, site-specific approaches that consider temporal and spatial variability in soil moisture and crop demand. Together, these two studies support the need for adaptive nitrogen management in barley, especially under drought, where traditional fertilization practices may lead to reduced NUE and increased environmental risk.
On the other hand, the application of nitrogen under drought can lead to contrasting outcomes: while it may enhance vegetative growth when water is sufficient, it can exacerbate stress symptoms when water is limited [
9]. Drought stress significantly reduces photosynthetic activity and grain yield, and nitrogen fertilization may intensify these effects by increasing the plant’s water demand due to stimulated vegetative growth [
10,
11]. This imbalance can lead to reduced NUE and lower grain quality. Conversely, some studies also suggest that barley plants attempt to recover nitrogen uptake after the stress period, although with reduced efficiency. Thus, Ref. [
12] demonstrated that under drought, nitrogen uptake from fertilizer (
15N) was delayed and shifted to post-flowering stages, with modern varieties showing better recovery than historical ones. This implies that nitrogen application timing and dosage must be carefully adjusted to avoid yielding penalties and ensure optimal nutrient recovery. Overall, these findings reinforce the need for adaptive N management under drought-prone conditions. Precision fertilization, considering both crop developmental stage and water availability, is essential to mitigate the negative impacts of drought and optimize NUE [
13,
14]. Rainfed barley is a major crop in Mediterranean dryland systems, particularly in Central Catalonia where it often prevails under limited water availability. The increasing frequency and intensity of droughts due to climate change further complicate N management, reinforcing the need to optimize fertilization practices to sustain productivity and resource-use efficiency under variable climatic conditions.
In this context, Precision Agriculture (PA) offers a promising framework to improve N management through site-specific applications that account for spatial and temporal variability in soil and crop conditions. Farmers, even in vulnerable rainfed areas, can thus benefit from the implementation of EU agricultural policies and qualify for eco-scheme payments under the CAP if their N adjustment practices support environmental sustainability. Technologies such as soil apparent electrical conductivity sensors (e.g., VERIS 3100, Veris Technologies Inc., Salina, KS, USA), yield monitors, and geostatistical mapping tools facilitate the delineation of management zones, enabling tailored N prescriptions that better match crop requirements and soil characteristics [
15]. In this respect, an on-farm experimentation study with winter cereals in a rainfed area of northeastern Spain using PA techniques [
3] demonstrated significant differences in economic returns, calculated as partial net income. Negative outcomes were observed for low-fertility areas in several scenarios, underscoring the financial benefits of site-specific input management and the importance of adapting fertilization strategies to local conditions.
In addition, recent developments in remote sensing and UAV-based imagery have enhanced the precision of in-season N recommendations. Multispectral data from UAVs have been used to guide topdressing in wheat, improving NUE and reducing input costs [
16]. UAV-derived fertilizer maps have also enabled significant reductions in N application—up to 49.6% in durum wheat—without yield penalties, while lowering residual soil nitrate and environmental impact [
17]. Moreover, long-term studies comparing variable rate nitrogen (VRN) prescriptions based on NDVI and yield history have shown that profitability varies with seasonal weather patterns, underscoring the need for adaptive strategies that integrate multiple data sources [
18].
Despite these technological advancements, the successful implementation of VRN fertilization requires robust local experimentation. On-farm trials are essential to validate agronomic responses under specific environmental conditions and to assess the economic viability of VRN strategies. This is particularly relevant in rainfed systems, where temporal variability in moisture availability can significantly influence N uptake and crop performance.
This study adopts an on-farm experimentation (OFE) approach to evaluate the suitability of differentiated N top-dressing in rainfed barley under drought conditions. Two plots were zoned using high-resolution soil data (apparent electrical conductivity and elevation), and four N dose rates (0 kg N/ha, 32 kg N/ha, 64 kg N/ha, and 96 kg N/ha) were applied across management zones. Yield data were collected using a combine harvester equipped with a yield monitor and were analyzed to derive response curves and marginal economic return. In short, the objectives are threefold: (i) to assess barley yield response to N fertilization under drought conditions, (ii) to evaluate the agronomic and economic feasibility of VRN application in dryland agricultural systems, and (iii) to demonstrate the value of on-farm experimentation as a decision-support tool for site-specific N management. The methodology and the results may be used to increase the NUE and, hence, the global efficiency and sustainability of rainfed barley farms in the Mediterranean region.
2. Materials and Methods
2.1. Study Area
The field experiment was conducted in a rainfed spring barley cropping system (Solist cultivar, Florimond Desprez Ibérica) on two plots located in Castellfollit de Riubregós (Anoia county), in the semi-arid region of Central Catalonia, Spain. Solist is a malting barley variety valued for its good grain quality and high specific weight, and it is adaptable to diverse growing conditions. Sowing was performed in mid-December 2022 at a rate of 200 kg/ha and a depth of 2.5–4 cm. The trial followed an on-farm experimentation framework, incorporating active farmer participation in both the design and implementation of the nitrogen fertilization treatments.
Figure 1 illustrates the two experimental plots used in the study (Lat 41°44′53.00″, Long 1°26′8.27″ WGS84).
Plot 1 encompassed a total area of 2.93 hectares and featured an average slope of 14.5%, indicative of a notably uneven terrain.
Plot 2, comparatively smaller with 1.80 hectares, also exhibited a pronounced elevation gradient, with an average slope of 11.6%. These topographic characteristics are relevant for understanding spatial variability in water retention and nutrient distribution, particularly under rainfed conditions.
Soils in the region are predominantly developed over sedimentary formations of Miocene epoch, including marls, limestones, and gypsum-bearing layers [
19]. These soils typically exhibit a fine to medium texture (loam to clay loam), moderate depth, and a relatively high pH (7.8–8.3) due to the calcareous parent material. Organic matter content is generally low, ranging between 1.2% and 2.0%, reflecting the semi-arid climate and the long-term use of conventional tillage in extensive cereal cropping systems [
20]. Typically, two main soil classes alternate in the case study area: Typic Xerorthents and Calcic Haploxerepts [
21]. The Typic Xerorthents are more frequently found at flat higher elevation positions and are shallow or moderately deep. Calcic Haploxerepts usually occupy locally lower elevations and present secondary accumulation of carbonates, being moderately deep to deep soils.
The climate is Mediterranean continental, characterized by low annual precipitation (350 mm–450 mm), concentrated in spring and autumn, and hot, dry summers with frequent drought stress episodes. Mean annual temperature ranges between 12 °C and 14 °C, with significant thermal amplitude. Because of the calcareous soils and semi-arid climate, soil fertility is generally limited by low organic matter content and restricted nutrient availability. Additionally, low rainfall and high temperatures reduce microbial activity and slow nutrient cycling, making adaptive fertilization strategies essential to sustain crop productivity.
2.2. Data Acquisition and Information Extraction
2.2.1. Soil Data (ECa) and Elevation
The VERIS 3100 sensor (
Figure 2) (Veris Technologies, Inc., Salina, KS, USA) was used to measure the apparent soil electrical conductivity (ECa) at two depths: shallow (0 cm–30 cm) and deep (0 cm–90 cm). The VERIS 3100 is a galvanic contact sensor that operates by injecting an electrical current into the soil through a pair of transmitting electrodes. Depending on the soil’s physicochemical properties, the current is transmitted with varying efficiency. The system was designed to measure ECa over a defined soil volume, with particular attention to ensuring that the electrical current reached the depth explored by crop roots. As previously mentioned, the sensor provides dual-depth measurements. This feature enabled the detection of vertical variability in soil properties, facilitating the identification of whether the soil profile was homogeneous or composed of distinct horizons with differing edaphic characteristics [
22].
ECa measurements (mS/m) were georeferenced using a sub-metre accuracy Global Navigation Satellite System (GNSS). Specifically, a Trimble AgGPS 332 receiver with SBAS EGNOS differential correction was employed, which also provided elevation data (m). Georeferenced measurements of soil electrical conductivity (ECa) and elevation were recorded at one-second intervals along parallel transects spaced 12 m apart. A total of 1593 points in Plot 1 and 1113 points in Plot 2 were collected, corresponding to point densities ranging from 543 to 618 observations per hectare. The interest in ECa measurements stemmed from the influence of soil properties—such as texture, moisture content, and salinity—on the electrical signal. Subsequently, ECa mapping using geostatistical techniques (kriging) enabled the assessment of spatial variability in both soil and topography and supported the delineation of potential site-specific management classes [
15]. This information was key to designing an on-farm experimentation process aimed at optimizing nitrogen rates based on soil variability and barley response.
Raster maps of soil ECa and elevation were generated using the software VESPER v.1.62 [
23]. Specifically, ordinary kriging was applied based on local spherical variograms (variability was modelled at the local scale, as more than 500 sampling points were available within each plot). For the fitting of each local variogram, between 90 and 100 neighbouring points around the prediction location were used, and the interpolated values were finally projected onto a 2 m resolution interpolation grid.
2.2.2. Barley Yield Measurements
Barley yield data were collected using the FieldView™ Yield Kit, a system compatible with any grain harvester and integrated with the Climate FieldView™ platform (Climate LLC., San Francisco, CA, USA), which enabled high-resolution spatial recording of harvest data.
The yield monitoring system consisted of: (i) an optical sensor and (ii) a speed sensor installed on the clean grain elevator. These components worked together to estimate the volumetric grain flow rate (, l/s) entering the grain tank. Additionally, a moisture sensor continuously measured the grain’s humidity during harvesting. All sensors operated at a measurement frequency of 1 Hz, ensuring high temporal resolution and real-time monitoring of both grain flow rate and quality. Simultaneously, the yield monitor recorded the harvester’s travel distance (m) and working width (m), allowing for the calculation of the harvested area per time unit (, ha/s). Yield per hectare was derived from these values, corrected for grain bulk density ( kg/l), and georeferenced using the harvester’s GNSS receiver with EGNOS correction. All data were stored in the yield monitor and displayed in real time on an onboard screen.
The harvester was calibrated prior to data collection to ensure accuracy in both volume and moisture readings. After harvesting, yield data were standardized to a reference moisture content of 13%. After removing yield outliers, raster-based yield maps were generated using kriging interpolation techniques [
23] to support spatial analysis. Specifically, yield maps were generated by applying ordinary kriging in 6 m blocks, based on the prior fitting of a global spherical variogram (since less than 500 yield data points were available per plot). The interpolated values were then projected onto a 2 m resolution grid as the one for ECa and elevation.
2.3. Zoning and Design of the On-Farm Experiment
For plot zonation, an unsupervised classification algorithm—k-means clustering—was applied. The input variables consisted of the two interpolated maps of soil ECa shallow and ECa deep, along with a third elevation map derived from GNSS data collected during the VERIS 3100 sensor survey transects. In both plots (Plot 1 and Plot 2), classification was performed using two distinct classes (k = 2) through QGIS Desktop 3.16.4 software.
The experimental design followed an on-farm experimentation approach, where four nitrogen (N) fertilization rates (0 kg N/ha, 32 kg N/ha, 64 kg N/ha, and 96 kg N/ha) were applied in 18 m-wide strips, corresponding to the working width of the application equipment. Each N rate was implemented within both potential management classes identified through prior classification, resulting in a total of eight treatment combinations (4 N rates × 2 potential management classes). Nitrogen rates were selected to avoid exceeding recommended limits, as the plots were in a Nitrate Vulnerable Zone (NVZ). At the same time, higher dose rates were included to ensure a wide range of variation in the predictor variable (N fertilizer). This was necessary to properly fit the crop response curve. In line with OFE and its farmer-centric approach [
24], the experiment was integrated into routine farm operations to deliver practical, robust insights. Despite limited soil N profiling, the design accounted for variability, ensuring relevant and interpretable results. The experimental layout is shown in
Figure 3.
Liquid nitrogen fertilizer (N32) was used for variable-rate fertilization across the experimental strips, applied with a sprayer featuring 18 m working width. The tractor was equipped with ISOBUS connectivity and operated through a task-based documentation system (Fendt Task Doc). This system recorded the operation type, tractor–sprayer configuration, field boundaries with guidance lines, and the prescription map used for the on-farm experiment. The 18 m strip width was suitable for subsequent harvest operations, allowing for up to three passes per strip with a 6 m combine header. For statistical analysis, only the central pass—or the two most central passes—within each strip were considered, retaining points inside the strips to minimize edge effects and ensure consistency regardless of one or two harvester passes.
2.4. Statistical Analysis
Barley yield (kg/ha at 13% moisture) was analyzed using a two-way ANOVA to assess the effects of nitrogen fertilization and soil class. Nitrogen was applied at four rates (0 kg N/ha, 32 kg N/ha, 64 kg N/ha, and 96 kg N/ha), while soil classification into two management classes was based on a cluster analysis of shallow and deep ECa maps and elevation. The resulting 4 × 2 factorial design was evaluated using a non-additive linear model with interaction, as represented in Equation (1) [
25],
where
,
, and
;
was the
k-th yield response at the
i-th level of the main factor ‘N fertilization’ and the
j-th level of the main factor ‘soil class’;
represented the effect of the
i-th level of the main factor ‘N fertilization’;
the effect of the
j-th level of the main factor ‘soil class’;
the interaction between the
i-th level of ‘N fertilization’ and the
j-th level of ‘soil class’; and
the experimental error (assumed to be independent and normally distributed).
For factors with a significant effect (p < 0.05), mean separation was subsequently performed using either Student’s t-test or Tukey’s HSD test, depending on whether the number of levels to be compared was two or more than two, respectively. This analysis was conducted separately for each plot. The software used was JMP® Pro 17.
4. Discussion
The 2023 growing season was particularly poor in terms of yield due to widespread drought conditions affecting the entire Anoia county. Specifically (
Figure 7), total precipitation recorded during the 2022–2023 campaign amounted to only 290 mm, significantly below the average of 415 mm observed when analyzing the five previous campaigns before the drought episode. Although rainfall in November and December facilitated seed germination and early crop establishment, the subsequent lack of precipitation—particularly during March and April—clearly penalized yield performance. According to [
27], prolonged spring drought conditions constrain plant growth, reduce tillering and spike density, and limit nutrient uptake, especially nitrogen.
It has been suggested that N fertilization, under specific drought conditions, may even intensify the negative impact of water scarcity and further reduce crop yield [
11]. This effect has been reported in other extensive crops, such as maize [
28]. In this recent study, it was found that under drought conditions, nitrogen fertilization decreased yield and increased crop water stress. Similarly, in [
29] it was observed that nitrogen application exacerbated drought effects, with yield reductions increasing proportionally with nitrogen levels. These findings could help explain the yield patterns observed in the experimental plots, where the non-fertilized strips (N0) showed clearly higher—although still limited—production compared to the strips where nitrogen was applied. The fact that, in both Plot 1 and Plot 2, the N64 treatment achieved a yield comparable to N0 is not easy to interpret. As proposed in [
9], when early nitrogen uptake is restricted, crops attempt to compensate later with low efficiency, often requiring additional inputs. This same idea is addressed in [
12], indicating that the crop may attempt to recover the nitrogen not absorbed during the stress phase, albeit with reduced efficiency, which could require a certain degree of over-fertilization. In our case, this recovery might have been supported by the favourable rainfall in May (
Figure 7), potentially compensating for the initially low spike density with grains of higher specific weight and contributing to a partial yield recovery, as referenced in [
9].
4.1. Barley Response Curve to Nitrogen Fertilization Rates
In Plot 2, where barley yield was significantly influenced by the interaction between N dose rate and soil class, response curves were fitted separately for soil class ‘1’ and class ‘2’. Drought conditions clearly shaped the crop response and the type of curve obtained. In an attempt to improve the fit, quadratic response functions were applied (
Figure 8), which deviate notably from what would typically be expected in this type of trial. No clear increase in yield followed by stabilization or decline was observed with increasing N fertilization. On the contrary—particularly in soil class ‘2’—N application appeared counterproductive under initial drought conditions yet tended toward partial yield recovery at higher nitrogen dose rates, possibly due to improved nutrient uptake under more favourable rainfall conditions later in the season. The interaction between nitrogen fertilization, drought stress, and yield reported in [
9] aligns with our findings.
The fitting of a quadratic response function for each soil class is shown in
Figure 8. Specifically, the function fitted is displayed in Equation (2),
where
is barley yield (kg/ha), and
is the nitrogen fertilizer dose rate (kg N/ha). The response model for soil class ‘1’ is described by Equation (3):
and for soil class ‘2’, by Equation (4),
4.2. Marginal Economic Analysis
Taking as reference the response curves obtained for Plot 2 (a plot that, due to the significant interaction between nitrogen rate and soil class, emerges as a candidate for variable-rate N fertilization), the next step is to decide on the optimal N application rates for each management class. This is undoubtedly one of the key challenges in Precision Agriculture [
30]. A suitable approach to this issue, grounded in production economics, involves identifying the N application rate that maximizes economic return. This corresponds to the point at which the marginal cost of applying an additional unit of nitrogen equals the marginal revenue generated by the resulting increase in barley yield [
31]. The gross margin or profit (considering only the cost of the fertilizer) can be expressed using Equation (5),
In this equation,
GM,
R, and
C represent the values (€/ha) of profit, revenue, and cost, respectively. The cost of fertilization is calculated as the product of the applied dose rate
x (kg N/ha) and the input price
(€/kg N), while the revenue is simply the product of the obtained yield
(kg/ha) and the unit price of barley
(€/kg). Maximizing the margin involves differentiating and setting Equation (5) equal to zero (Equation (6)).
In summary, the economically optimal nitrogen rate is the point at which the marginal cost (MC) of N equals the marginal revenue (MR) from the associated increase in crop yield, satisfying the condition MC = MR.
Table 8 summarizes the barley and nitrogen fertilizer prices used in the analysis, whereas
Figure 9 provides a graphical representation of the corresponding results.
As shown in
Figure 9, for class ‘1’, the unit price of N fertilizer (2.33 €/kg N) consistently exceeded marginal revenue, meaning that the additional cost of applying 1 kg of N was not compensated by the value of the extra barley yield. This outcome reflects the poor and unrepresentative 2023 harvest and, more importantly, the nearly flat N response curve observed in field trials (
Figure 8), making fertilization economically unjustifiable. For class ‘2’, yield initially declined with nitrogen application before recovering at higher rates (
Figure 8), likely due to early drought stress, later better compensated by late rainfall in the more fertilized zones. Consequently, marginal returns were negative at low N rates but improved at higher dose rates (data used to construct
Figure 9 can be found in
Table A1 of the
Appendix A). Despite the exceptional conditions of the 2022–2023 season, field characteristics suggest some potential for site-specific N management, with an advisable rate of about 90 kg N/ha for class ‘2’ and no fertilization for class ‘1’. These preliminary results highlight the need for further experimentation under contrasting climatic conditions, including refined N rates for variable-rate applications, while accounting for site-specific factors such as soil properties, water availability, topography, crop traits, and previous management practices [
13,
32,
33].