m3/s = mm * area_m2 / 1000 / (days * 86400). The default days = 365 is
the conversion fwapg uses for mean annual discharge. The water balance uses
365.25 for a year and wet_month_days() for months, so that monthly volumes
sum to the annual one.
Examples
wet_mm_to_m3s(500, 1e8) # 500 mm/yr over 100 km2 is about 1.59 m3/s
#> [1] 1.58549
wet_mm_to_m3s(40, 1e8, days = wet_month_days()[7]) # 40 mm in July
#> Jul
#> 1.493429
