h_rainsnow: Share the solid and liquid precipitations with a temperature...

h_rainsnowR Documentation

Share the solid and liquid precipitations with a temperature criteria

Description

The precipitations are shared with a linear bevel between two temperature values

Usage

h_rainsnow(fpr, fta, ta0, ta1, sta = NA)

Arguments

fpr

Precipitation file name

fta

Temperature file name

ta0

Low temperature threshold

ta1

High temperature threshold

sta

Station id. (default = NA)

Details

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.

Value

2 hts files, one with the liquid precipitation (prefix rn_) and one with the solid precipitation (prefix sn_).

Author(s)

P. Chevallier - Oct 2017- Feb 2019


htsr documentation built on Oct. 13, 2023, 5:10 p.m.