What Does Error 159 Mean in SWMM 5?

Subject: What Does Error 159 Mean in SWMM 5?

If you get error 159 or a Rain Gage Interval Error it means rain gage
interval is greater than the gage interval in your time series or most
likely you have duplicate data times in the time series.

// --- check gage's recording interval against that of time series

gageInterval = (int)(floor(Tseries[k].dxMin*SECperDAY + 0.5));

if ( gageInterval > 0 && Gage[j].rainInterval > gageInterval )

{

report_writeErrorMsg(ERR_RAIN_GAGE_INTERVAL, Gage[j].ID);
views

Tags