The precipitations are shared with a linear bevel between two temperature values
h_rainsnow(fpr, fta, ta0, ta1, sta = NA)
2 hts files, one with the liquid precipitation (prefix rn_) and one with the solid precipitation (prefix sn_).
Precipitation file name
Temperature file name
Low temperature threshold
High temperature threshold
Station id. (default = NA)
P. Chevallier - Oct 2017- Feb 2019
The two time-series must be previously restricted to the same interval of time.
The two temperature thresholds can be equal.
The temperature time-series must be complete with no gap. Gaps are allowed in the precipitation time-series.
Is the station id is NA, the station id of the file fta is used.