watem-sedem / rfactor

R-factor
https://watem-sedem.github.io/rfactor/
GNU Lesser General Public License v3.0
6 stars 2 forks source link

R-factor is mean over a number of stations or one has an r-factor for each stations #30

Closed stijnvanhoey closed 2 years ago

stijnvanhoey commented 3 years ago

In the tutorial:

timeseries = [range(1898,2003,1),
              range(2003,2021,1),
              range(1898,2021,1),
              range(1996,2021,1),
              range(1991,2021,1),
              range(1990,2001,1),
              range(2000,2021,1)]

for period in timeseries:
    rfactor = get_rfactor_station_year(erosivity,["KMI_6447","KMI_FS3"], period)
    print(R-factor for {rfactor["erosivity_cum"].mean())

The single R-factor is calculated for each example period. Is this on purpose or should it be a value for each station (and period)?

stijnvanhoey commented 2 years ago

closing this one, the returned value is a year/station combination