5.1.007 bug: empty detailed LID reports

Rob James

Time series is only written to the first detailed LID report, all subsequent LID detailed reports contain no time series.

Work around:

This is not a great work around, but you could either change the order that LIDs appear in the input file to see the time series for the desired LID (only the first one will be written), or turn on the detailed LID reporting option for only one LID at a time.

Suggested resolution:

In lid_getRunoff()​ in lid.c, this line seems to be causing the problem:

        while ( NewRunoffTime >= NextReportTime )      //(5.1.007)

Changing “>=” to “>” should do the trick.