the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
Characterizing nonlinear, nonstationary, and heterogeneous hydrologic behavior using ensemble rainfall–runoff analysis (ERRA): proof of concept
Download
 Final revised paper (published on 08 Oct 2024)
 Preprint (discussion started on 22 Apr 2024)
Interactive discussion
Status: closed

RC1: 'Comment on hess2024103', Anonymous Referee #1, 22 May 2024
This manuscript is a welcome addition to a series of analytical hydrological models. As the examples illustrate nicely, the idea to linearize inherent nonlinear responses opens up statistical methods that will give the hydrological community an entirely new set of tools to explore for some time into the future. This is a landmark paper.
Although I found no errors in the manuscript, I found opportunities to improve clarity, with three general comments and several minor ones.
1. The discussion gives useful context, but an important unaddressed issue is the highly parameterized nature of ERRA. I would have liked to read some discussion of how important this is in terms of model overfitting and uncertainty, and in terms of interpretation of parameters. The VPD example brings this issue into sharp focus.
2. In several places, ERRA is described as timedependent, but it only inherits variations in time from variation in precipitation (sec 23) or watershed state (sec 4). The PkNRF relationships themselves do not vary through time because Eqs 11, 16, and 19 treat time variability as error. Thus, ERRA is lagdependent but not timedependent. It’s a fine point, but clearly separating inherent dependence from inherited dependence would improve clarity.
3. Some organizational choices made the paper difficult for me to follow. The Roanoke River example is given before the theory necessary to support it, which made me wonder why I didn’t understand where the results were coming from. Also, I was puzzled by Fig 6b until I got to the text, three sections later, that explained the utility of the avg RRD.
Detailed comments:
L205 this passage implies that ERRA is not based on linear superposition even though it is. It’s not the linear superposition that is the difference between ERRA and unit hydrograph, it’s the nature of the functions being linearly superposed. Similarly, the passage L2078 implies ERRA is nonstationary even though it is stationary. The apparent nonstationarity is because ERRA can incorporate timevarying inputs to generate nonlinear responses, but there is no time dependence in the model itself. Again, these are fine points, but I found this paragraph made it difficult for me to understand ERRA for the first time because it led me to expect nonadditive, timedependent structure.
L259 if I understand correctly, beta is only reduced by half if rainfall is constant during the time step and the response is linear. Using the 0.5 simplification should produce useful results if timesteps are short relative to characteristic timescales of the RRD and rainfall variations, but full analytical rigor requires resolving variations within the interval. Isn’t this in fact the source of timescale variations discussed in section 3.3?
L458 I think this was done using linear regression to obtain parameters of Eq 11, correct? It would be helpful to specify.
L467 it would be more correct and helpful to term this “… within a range of rainfall intensities” (as L543).
L522 what are we to make of the peak lags that vary by up to 100% depending on timescale of aggregation for lowintensity events? I would assume this is because lowintensity, shortduration events have lessidentifiable peaks, but the standard errors of the estimated mean lags are small. Can we interpret this aggregationlevel dependence in terms of runoff generation mechanisms?
L681 it is probably worth mentioning that using antecedent Q probably becomes worse as a proxy for watershed wetness as the size of the watershed increases.
Fig 12 I understand the negative values of the RRD/NRF at short lags to be due to recession prior to arrival of new peaks, but how can we interpret negative values at longer lags? If they are also due to recession, I would think negative values would occur for lowintensity rain and high antecedent Q, but here they occur when antecedent Q is low.
Citation: https://doi.org/10.5194/hess2024103RC1 
AC1: 'Reply to RC1', James Kirchner, 13 Jul 2024
I thank Reviewer #1 for contributing these comments (reproduced below in plain text, with my responses in bold).
This manuscript is a welcome addition to a series of analytical hydrological models. As the examples illustrate nicely, the idea to linearize inherent nonlinear responses opens up statistical methods that will give the hydrological community an entirely new set of tools to explore for some time into the future. This is a landmark paper.
Thank you.
Although I found no errors in the manuscript, I found opportunities to improve clarity, with three general comments and several minor ones.
 The discussion gives useful context, but an important unaddressed issue is the highly parameterized nature of ERRA. I would have liked to read some discussion of how important this is in terms of model overfitting and uncertainty, and in terms of interpretation of parameters. The VPD example brings this issue into sharp focus.
I can certainly add this (Reviewer #2 also asked for something similar). Because ERRA is essentially just solving very large linear regression problems, surrounded by various transformations of variables, the math and statistics of the uncertainty analysis are straightforward (and are explained in Kirchner 2022). Model overfitting should be obvious in the inflation of the standard errors, which ERRA provides for all its results (and which are shown in the results plotted in the manuscript).
 In several places, ERRA is described as timedependent, but it only inherits variations in time from variation in precipitation (sec 23) or watershed state (sec 4). The PkNRF relationships themselves do not vary through time because Eqs 11, 16, and 19 treat time variability as error. Thus, ERRA is lagdependent but not timedependent. It’s a fine point, but clearly separating inherent dependence from inherited dependence would improve clarity.
One can also make ERRA results explicitly dependent on time itself, for example by separating the time series into different decades, different seasons of the year, daytime vs. nighttime, etc. (instead of, for example, wet vs. dry conditions). In the manuscript I tried to illustrate some of the things that ERRA can do, but made no attempt to be comprehensive, because the paper is already rather long. I can nonetheless mention that users can choose splitting criteria that make ERRA explicitly timedependent.
 Some organizational choices made the paper difficult for me to follow. The Roanoke River example is given before the theory necessary to support it, which made me wonder why I didn’t understand where the results were coming from. Also, I was puzzled by Fig 6b until I got to the text, three sections later, that explained the utility of the avg RRD.
I assume that by "the Roanoke River example", the reviewer is referring to Figure 4. Figures 4a and 4b are based on Section 2.1, which comes before them. Figure 4c is based on Section 2.3, which follows it. The only way to avoid this would be to split Figure 4 into two figures, which would add yet one more figure, and would make it difficult for readers to compare the three panels (which is one of the main points of Figure 4 in the first place). I will add signposts in the caption to Figure 4 to alert readers to the sections each panel refers to.
The story with Figure 6b is similar. In principle one could split it in half and show Figure 6a in Section 3.1 and Figure 6b in Section 3.4 (which is 3 subsections ladter, not 3 sections later). But doing that would add yet another figure to a paper that already has 16 of them, and would split two panels that conceptually belong together. A better approach is to add signposts to the figure caption to tell readers where they can find the necessary details. I will do that.
Detailed comments:
L205 this passage implies that ERRA is not based on linear superposition even though it is. It’s not the linear superposition that is the difference between ERRA and unit hydrograph, it’s the nature of the functions being linearly superposed.
The passage in question is "Unit hydrograph methods are also based on the premise of linear superposition, such that the response to x units of rain falling at time t is assumed to be x times the response to a single unit of rainfall at time t. By contrast, ERRA recognizes that streamflow may respond nonlinearly to variations in rainfall intensity, and uses nonlinear deconvolution methods to quantify that response"
Unit hydrograph methods assume that the effects of 2, 3, or 4 units of rain falling at time t must be 2, 3, or 4 times as large as the effects of 1 unit of rain at time t. That is linear superposition. ERRA can, at the user's option, replace the linear assumption of a unit hydrograph with nonlinear functions of precipitation intensity that are determined by the data and, importantly, that vary with lag time. This is fundamentally different from stuffing the precipitation time series through a nonlinear transform and then putting the results of that through a unithydrograph type of deconvolution.
One could perhaps say that this is linear superposition of nonlinear functions of precipitation intensity that vary with lag time... but then that's not linear superposition of precipitation inputs. The relationship between inputs and outputs is no longer linear (or even a simple nonlinear transformation).
Similarly, the passage L2078 implies ERRA is nonstationary even though it is stationary. The apparent nonstationarity is because ERRA can incorporate timevarying inputs to generate nonlinear responses, but there is no time dependence in the model itself. Again, these are fine points, but I found this paragraph made it difficult for me to understand ERRA for the first time because it led me to expect nonadditive, timedependent structure.
The passage in question is "Furthermore, conventional unit hydrograph methods assume that runoff response is stationary, such that a given unit of rain always has the same effects on runoff, regardless of when it falls. By contrast, ERRA combines deconvolution and demixing methods to explicitly quantify how runoff responses vary with ambient conditions, even if those runoff responses are overprinted on one another"
The passage explains what it means by "stationary", and explains how ERRA is different. I will see if there is a clearer way to say this, but what is already there was the product of considerable thought and care.
And there can indeed be "time dependence in the model itself", as outlined in the response to the reviewer's point 2 above. I will modify the passage quoted above to say "how runoff responses vary over time or vary with ambient conditions..."
L259 if I understand correctly, beta is only reduced by half if rainfall is constant during the time step and the response is linear. Using the 0.5 simplification should produce useful results if timesteps are short relative to characteristic timescales of the RRD and rainfall variations, but full analytical rigor requires resolving variations within the interval. Isn’t this in fact the source of timescale variations discussed in section 3.3?
"Resolving variations within the interval" is impossible in practice, because rainfall data are inherently integrated over the sampling time step. The factor of 0.5 arises, not from an assumption that rainfall is constant, but instead as an average over stochastically fluctuating rainfall rates, and over all the time steps in the regression analysis. I will see if I can make this clearer.
Yes, the stochasticity of rainfall inputs is the main source of the timescale variations shown in Section 3.3 (as is already pointed out there – again, I will try to see if I can make this clearer).
L458 I think this was done using linear regression to obtain parameters of Eq 11, correct? It would be helpful to specify.
Correct, and good catch. I will specify that.
L467 it would be more correct and helpful to term this “… within a range of rainfall intensities” (as L543).
I can do that. The NRF values are functions like those shown in Figure 6a, evaluated either at the knot points, or as weighted averages within each segment (ERRA reports both). So both "at a given intensity" and "over a given intensity range" are correct.
L522 what are we to make of the peak lags that vary by up to 100% depending on timescale of aggregation for lowintensity events? I would assume this is because lowintensity, shortduration events have lessidentifiable peaks, but the standard errors of the estimated mean lags are small. Can we interpret this aggregationlevel dependence in terms of runoff generation mechanisms?
I would be cautious about interpreting this as more than a broad pattern of variation, for two reasons. First, as noted by the reviewer, lowintensity events often have indistinct peaks, as one can see from Figure 8. Second, when precipitation is averaged over longer time steps, one can resolve lower (average) precipitation rates more precisely, but at the cost of resolving the timing of runoff response less precisely.
L681 it is probably worth mentioning that using antecedent Q probably becomes worse as a proxy for watershed wetness as the size of the watershed increases.
Good point (but with emphasis on "probably"). I'll add something about this.
Fig 12 I understand the negative values of the RRD/NRF at short lags to be due to recession prior to arrival of new peaks, but how can we interpret negative values at longer lags? If they are also due to recession, I would think negative values would occur for lowintensity rain and high antecedent Q, but here they occur when antecedent Q is low.
I would primarily interpret these as artifacts of jointly estimating coefficients for very strong signals (responses to high precipitation rates and antecedent moisture) and very weak signals (responses to low precipitation rates and low antecedent moisture). It is inherently difficult to accurately estimate weak signals in the presence of strong signals; it's a bit like trying to hear whispers at a heavy metal concert. ERRA does a very good job of suppressing statistical crosstalk between the coefficients of the strong signals and the weak ones, but it isn't perfect. Basically, if the leastsquares algorithm can get a slightly better fit by driving the lowantecedentQ coefficients negative, it will ruthlessly do it. Streamflow is largely insensitive to lowintensity precipitation and lowantecedentwetness conditions, particularly at long lags, so it is difficult to estimate the corresponding coefficients accurately.
Citation: https://doi.org/10.5194/hess2024103AC1

AC1: 'Reply to RC1', James Kirchner, 13 Jul 2024

RC2: 'Comment on hess2024103', Anonymous Referee #2, 10 Jul 2024
The paper proposes a series of variants of a data driven model (ERRA) for interpreting / describing the relationship between rainfall and runoff. The model proposed is supported by a series of applications to realworld case studies, aimed at showing the potential of the tool. The main idea is that of using the total rainfall instead of the effective rainfall in establishing a relationship between rainfall and runoff, though keeping the original convolutive structure of the standard IUH approach. This idea has been already presented in another paper, but in this contribution the same idea is expanded and applied to a set of case studies. The paper has been written with care and is generally clear. That siad, I see several points that need careful consideration in terms of language, organization, assumptions, presentation, internal consistency.
The major issues I see are summarized as follows:
 The introductory part is way too long, and the intial detour about the difference between travel time distributions and response functions is not relevant to this work. The paper is already very long, and travel times are not a main issue of this paper. Likewise, Figure 1 is not necessary. Please eliminate all the information that is not functional to understand the novel contribution of this paper;
 There is some overlapping with existing work by the same author (which is referred to as K2022 in the paper) and the paper should pinpoint more clearly what is novel in this paper as compared to the existing literature. It seems to me that there are about 250300 lines before the first novel contribution is presnted. I suggest that previous work should be condensed, and the novel contribution of this Ms. should be better emphsized
 Spatial heterogeneity is not resolved but somehow arbitrarily included in the model in a parametric form assuming that the role of rainfall heterogeneity can be described superimposing the contribution to the discharge of two or more point rainfall records (each of which is coupled with a different subset of response functions). What I’m trying to say is that, while the procepdure proposed by the author is reasonable, the terms f_a and f_b in eq 4 are very likely dependent on factors not included in the analysis, such as the spatial distribution of soil moisture, the intensity of rainfall in different regions of the catchment, and the vectors P_A and P_B themselves. Moreover, spatial heterogeneity can be described only at the cost of increasing a lot the number of parameters: for instance, if the available rainfall stations in the catchment are 10 the number of params would be ten times larger as compared to the equivalent homogeneous case; if the response function associated to the different parts of the catchment can not be “trained” by discharge data (beacause of the lack of streamflow data in correspondence of intermediate gauging stations) the chance of getting overparametrized is very high. In the light of the empirical nature of the procedure designed to capture the effect of rainfall heterogeneity I think that the emphasis on the ability of ERRA “to quantify heterogeneous runoff response in different parts of the catchment, even if those subcatchments are not separately gauged” is not justified (this ability can not be proved in the absence of measures in different subcatchments, and this has not been done in the paper by formally comparing different models accounting for the numebr of parameters)
 the linearity is not fully eliminated, as the proposed formulation retains the convolution structure of the standard IUH, and the superposition principle is used throughout the paper (the superposition principle is still valid for nonoverlapping inputs, since the introduced nonlinearity is not a full nonlinearity). The author is clearly well aware of this, and the use of the term “nonlinearity” in a system which is somehow linear but in which the response is dependent on the input is questionable, though being technically acceptable and correct. However, there are several statements in the abstract an in the paper that might be misleading as they could suggest that this model is nonlinear in a broad sense (meaning that there is no response function, and the superposition principle does not apply). The readers should be made aware of the fact that the formulation assumes linearity in the model structure, and that the superposition of the effects still applies  as in the original IUH theory (at least for nonoverlapping inputs).
 The argument that the response fucntions are dependent on the antecendet wetness (or the antecednt Q, as proposed in the application) creates a paradox. If this is the case – if the response function depends on the catchment wetness  than it is pretty clear that the system is fully nonlinear and the response function NRF is not dependent only on the rainfall input that has generated such response, but actually depends on the entire rainfall time series, which contradicts the basic hypothesis of the first part of the proposed work (the possibility to define a response function and the use of the superposition principle for nonoverlapping inputs).
 The model is claimed to be nonparametric but there are actualy lots of parameters (all the beta values and many others). The identification of such parameters is a serious issue here, but is not discussed in the paper
 Uncertainty analysis is mentioned in the abstract but is not discussed in depth in the paper as far as I can see (and thus should be removed from the abstract). The author is encouraged to discuss the minimum data requirements for the application of this type of models (and which is the typical uncertainty in the estimation of the model params).
A copule of additional in line comments:
Explicit references to the ability of ERRA to filter out the effects of overlapping of different impulse responses and to the possibility to interpret NRF as the response to an impulsive rainfall event can be found in lines: 2829, 412413, 539, 542, 821822, 862. It should be pointed out that this is possible only because of the particular type of (weak) nonlinearity of the proposed model (see point 3 above)
Figure 12 shows some RRD and NRF having negative values for some lags, which is highly confusing  a detailed explanation is needed
Citation: https://doi.org/10.5194/hess2024103RC2 
AC2: 'Reply to RC2', James Kirchner, 13 Jul 2024
I thank Reviewer #2 for contributing these comments (reproduced below in plain text, with my responses in bold).
The paper proposes a series of variants of a data driven model (ERRA) for interpreting / describing the relationship between rainfall and runoff. The model proposed is supported by a series of applications to realworld case studies, aimed at showing the potential of the tool. The main idea is that of using the total rainfall instead of the effective rainfall in establishing a relationship between rainfall and runoff, though keeping the original convolutive structure of the standard IUH approach.
Using total rainfall rather than effective rainfall is not, by itself, "the main idea". As outlined in Section 1.2, ERRA differs from the standard IUH approach in multiple ways (of which 47 in the following list are most important):
1) It uses total precipitation rather than "effective' precipitation (as pointed out by the reviewer).
2) It uses total streamflow rather than "storm runoff" and thus does not involve making additional assumptions for baseflow separation.
3) It does not require defining and isolating individual events, but instead extracts information from the entire streamflow and precipitation time series.
4) It does not necessarily assume that runoff response scales linearly with precipitation intensity. Instead it can quantify, from data, nonlinear relationships between precipitation intensity and runoff response.
5) It does not necessarily assume that runoff response is always the same. Instead it can quantify, from data, how runoff response varies with ambient conditions (such as catchment wetness, which in turn depends on antecedent precipitation).
6) It can explicitly quantify runoff responses from different parts of a catchment, even if those subcatchments are not individually gauged and instead their runoff is combined at the catchment outlet.
7) Its goal is not to predict hydrographs, but instead to analyze the relationship between rainfall and runoff, and how that relationship varies with precipitation intensity and ambient conditions.This idea has been already presented in another paper, but in this contribution the same idea is expanded and applied to a set of case studies.
The other paper (Kirchner 2022, hereafter K2022) presents a general mathematical framework for estimating nonlinear, nonstationary impulse response functions in heterogeneous systems. It is a signal processing paper. It has nothing in particular to do with rainfallrunoff relationships or unit hydrographs per se.
The paper has been written with care and is generally clear. That siad, I see several points that need careful consideration in terms of language, organization, assumptions, presentation, internal consistency.
Thank you.
The major issues I see are summarized as follows:
 The introductory part is way too long, and the intial detour about the difference between travel time distributions and response functions is not relevant to this work. The paper is already very long, and travel times are not a main issue of this paper. Likewise, Figure 1 is not necessary. Please eliminate all the information that is not functional to understand the novel contribution of this paper;
The introduction is about 12 percent of the manuscript. This can be shortened somewhat but this will not dramatically shorten the paper. (I know the paper is long, but it covers a lot of material.)
I agree that travel time distributions are not the focus of this work, and this can be shortened and deemphasized in the revised manuscript. However, the literature of recent decades has been so saturated with travel time studies that the distinction between travel times and response times needs to be emphasized.
The contrast between travel times and response times also needs to be discussed because in much of the IUH literature, response times and travel times are assumed to be the same thing.
Figure 1 is necessary for two reasons. First, because it clearly illustrates the difference between response times and travel times. And second, and more importantly, because it explains what I mean by runoff response, which is not discharge itself, but the incremental change in discharge due to a precipitation input.
 There is some overlapping with existing work by the same author (which is referred to as K2022 in the paper) and the paper should pinpoint more clearly what is novel in this paper as compared to the existing literature. It seems to me that there are about 250300 lines before the first novel contribution is presnted. I suggest that previous work should be condensed, and the novel contribution of this Ms. should be better emphsized
The previous paper (Kirchner 2022) is the mathematical foundation of the present manuscript. It presents the mathematics for estimating impulse response functions in nonlinear, nonstationary, and heterogeneous systems. There is essentially no overlap in goals or scope, except of course that the previous paper provides the mathematical fundamentals underlying the present one.
The previous work is long and technical, running 44 pages in print, and all that is presented here are several key equations from that paper, translated into terms that are familiar in hydrology, so that readers can understand the basics of how ERRA works. Thus the previous work has already been massively condensed in the present manuscript. (Also note that Reviewer #1 asked for more details, not less, from the previous work.)
 Spatial heterogeneity is not resolved but somehow arbitrarily included in the model in a parametric form assuming that the role of rainfall heterogeneity can be described superimposing the contribution to the discharge of two or more point rainfall records (each of which is coupled with a different subset of response functions). What I’m trying to say is that, while the procepdure proposed by the author is reasonable, the terms f_a and f_b in eq 4 are very likely dependent on factors not included in the analysis, such as the spatial distribution of soil moisture, the intensity of rainfall in different regions of the catchment, and the vectors P_A and P_B themselves.
This is not accurate. As stated in the manuscript, the constants f_a and f_b represent the fractions of the catchment area that can be considered to receive one or another precipitation time series. (A similar partitioning would also need to be done by any simulation model driven by rain gauge data.)
The constants f_a and f_b must be specified a priori; they are not free parameters, because they rescale the response distributions and therefore it is mathematically impossible to estimate them from the same data. The factors mentioned by the reviewer will influence the response distributions, but not the values of f_a and f_b.
 Moreover, spatial heterogeneity can be described only at the cost of increasing a lot the number of parameters: for instance, if the available rainfall stations in the catchment are 10 the number of params would be ten times larger as compared to the equivalent homogeneous case; if the response function associated to the different parts of the catchment can not be “trained” by discharge data (beacause of the lack of streamflow data in correspondence of intermediate gauging stations) the chance of getting overparametrized is very high.
The manuscript illustrates how the method works for two stations. It does not claim that it works for an arbitrarily large number of them. The limitation would be statistical rather than mathematical: if the rainfall records are too similar to one another, or if the runoff response is sufficiently damped that it does not reflect the individual signals coming from the separate subcatchments, then it may not be possible to distinguish the runoff response from different parts of the basin. But if this is the case, it will be obvious from the standard errors of the estimated response distributions. I will make this clearer in the revised manuscript.
 In the light of the empirical nature of the procedure designed to capture the effect of rainfall heterogeneity I think that the emphasis on the ability of ERRA “to quantify heterogeneous runoff response in different parts of the catchment, even if those subcatchments are not separately gauged” is not justified (this ability can not be proved in the absence of measures in different subcatchments, and this has not been done in the paper by formally comparing different models accounting for the numebr of parameters)
It's not quite correct that ERRA is "designed to capture the effect of rainfall heterogeneity". Instead, it EXPLOITS rainfall heterogeneity to quantify how different parts of a landscape RESPOND to rainfall (even if those subcatchments are not separately gauged).
In any case, the reviewer is correct: the manuscript presents a demonstration of this approach, but not a field test of the method against subcatchment gauging data. More general benchmark tests against synthetic data have already been performed in K2022, and I will point that out in the revised manuscript. I hope to present a more detailed field test against subcatchment gauging data in the future, but realistically that would be a whole paper in itself.
 the linearity is not fully eliminated, as the proposed formulation retains the convolution structure of the standard IUH, and the superposition principle is used throughout the paper (the superposition principle is still valid for nonoverlapping inputs, since the introduced nonlinearity is not a full nonlinearity). The author is clearly well aware of this, and the use of the term “nonlinearity” in a system which is somehow linear but in which the response is dependent on the input is questionable, though being technically acceptable and correct.
As the manuscript points out in Section 3.5, the distinction that we need to make is between systems in which runoff is a nonlinear function of a modeled catchment storage (which may be what the reviewer means by "fully nonlinear" below) and those where the incremental runoff response is a nonlinear function of precipitation intensity (which is what in meant by "nonlinear" in the context of ERRA).
 However, there are several statements in the abstract an in the paper that might be misleading as they could suggest that this model is nonlinear in a broad sense (meaning that there is no response function, and the superposition principle does not apply). The readers should be made aware of the fact that the formulation assumes linearity in the model structure, and that the superposition of the effects still applies  as in the original IUH theory (at least for nonoverlapping inputs).
I agree that some terminology (such as "nonlinear system") could be confusing here, and will more carefully point out that what ERRA does is characterize the nonlinear dependence of runoff response on precipitation intensity. In a system where Q is a lagged function of (say) P^2, so that twice as much precipitation doesn't generate twice as much streamflow, but instead four times as much, the principle of superposition will not rigorously apply, but ERRA can still estimate how lagged Q varies as a function of P (as illustrated in Section 3, and benchmark tested in K2022). And as described below, ERRA can estimate ensemble average runoff responses even when the system is nonlinear in the broad sense even though the superposition principle does not strictly apply.
 The argument that the response fucntions are dependent on the antecendet wetness (or the antecednt Q, as proposed in the application) creates a paradox. If this is the case – if the response function depends on the catchment wetness  than it is pretty clear that the system is fully nonlinear and the response function NRF is not dependent only on the rainfall input that has generated such response, but actually depends on the entire rainfall time series, which contradicts the basic hypothesis of the first part of the proposed work (the possibility to define a response function and the use of the superposition principle for nonoverlapping inputs).
It is important to recognize that the RRD and NRF are estimates of the ensemble average response of the system to rainfall inputs, averaged over ensembles of many precipitation events. The reviewer is correct that in a nonlinear system, responses to individual precipitation inputs will differ, depending on both past precipitation (which determines antecedent wetness) and future precipitation (which spurs the release of additional water from storage). But the goal of ERRA is not to analyze or predict runoff response to individual precipitation events, but instead to characterize the general pattern of runoff response, averaged over many events.
Figure 1e illustrates this distinction. As Figure 1e shows, the light blue lines depicting the individual runoff responses vary substantially, but the dark blue line – the ensemble average runoff response distribution – can be defined with increasing accuracy as more and more events are sampled. In other words, although the superposition principle does not apply at individual points in time, it is accurate enough, averaged over large ensembles of points, that the average response can be characterized.
In a nonlinear system, the average runoff response distribution will not accurately predict the hydrograph, but that is not ERRA's purpose. Its purpose is to characterize the average response. I have verified that it does this accurately, even in nonlinear systems, using benchmark tests with nonlinear bucket models, but that work will need to appear in a future paper because it is too long and technical to include here.
 The model is claimed to be nonparametric but there are actualy lots of parameters (all the beta values and many others). The identification of such parameters is a serious issue here, but is not discussed in the paper
In data analysis and statistics, terms often have multiple meanings, depending on context. However, in any of these contexts, "nonparametric" does not mean "having no parameters".
In statistics, "nonparametric" means a technique is distributionfree, meaning that it does not assume that the sample comes from a particular parametric family of probability distributions. More generally, "nonparametric" means that one does not need to assume a functional form and estimate parameters for it.
In estimating the impulse response of a system, an approach that estimates the parameters of a gamma function is called "parametric", and an approach that estimates a series of lag coefficients – like ERRA does – is called "nonparametric". But in any case, yes, I can remove "nonparametric" from the abstract. In the other two places the term is used, it should be clear from context what I am talking about.
On the more substantive issue here, yes, users could potentially try to estimate too many coefficients from time series that are too short or too indistinct, leading to identifiability problems. But any such problems will be obvious from the standard errors that ERRA reports by default with all of its results (and that are shown in the results plotted in the manuscript). Because ERRA analyses are, at their core, linear regressions (albeit often complicated ones), the calculation of standard errors in ERRA follows straightforward regression statistics and firstorder, secondmoment error propagation.
I will add more discussion of parameter identifiability/uncertainty in the revised version.
 Uncertainty analysis is mentioned in the abstract but is not discussed in depth in the paper as far as I can see (and thus should be removed from the abstract). The author is encouraged to discuss the minimum data requirements for the application of this type of models (and which is the typical uncertainty in the estimation of the model params).
The sentence in question is, "An R script is provided to perform the necessary calculations, including uncertainty analysis." This sentence announces the availability of the R script, and outlines what it does.
As indicated above, the math and statistics of the uncertainty analysis are straightforward (because this is ultimately just leastsquares regression, surrounded by various transformations of variables), but I can include an overview of this in the revised version of the manuscript.
The minimum data requirements will depend on many factors, including the quality of the measurements, the complexity of the analysis that one wants to conduct, the influence of confounding factors, the characteristics of the rainfall forcing (how frequent are precipitation events?), and the characteristics of the system itself (in particular, how damped its response is). So it's not possible to provide general guidance about minimum data requirements. If the data are insufficient, the standard errors will show it. I can discuss this in the revised manuscript.
A copule of additional in line comments:
Explicit references to the ability of ERRA to filter out the effects of overlapping of different impulse responses and to the possibility to interpret NRF as the response to an impulsive rainfall event can be found in lines: 2829, 412413, 539, 542, 821822, 862. It should be pointed out that this is possible only because of the particular type of (weak) nonlinearity of the proposed model (see point 3 above)
The NRF is not "the response to an (individual) impulsive rainfall event". It is an estimate of the ensemble average of the responses to many rainfall events. As noted above, this does not require weak nonlinearity and instead can function reliably even in systems with broadsense nonlinearity.
Figure 12 shows some RRD and NRF having negative values for some lags, which is highly confusing  a detailed explanation is needed
This is an example of a common phenomenon in statistical analyses of data sets that mix strong and weak signals: small errors in estimating the strong signals can be paired with larger (in percentage terms) errors in the weak signals.
ERRA does not artificially constrain the coefficients to be nonnegative, so small negative values may occur from time to time for at least three reasons. One is random statistical fluctuations; in this case the error bars will typically be roughly as large as the deviation below zero. A second reason is residual autocorrelation that is too strong to be adequately compensated by the ARMA noise correction procedure; ERRA will try to warn about this, because it can lead to underestimation of the error bars. A third reason can arise when – unsurprisingly – the realworld system deviates from the statistical model, for example due to confounding variables that are not accounted for.
This can be discussed in the revised manuscript.
Citation: https://doi.org/10.5194/hess2024103AC2