You are here

Water Balance Executable

I want to run the water balance executable but keep on receiving an error message pointing to the observation file (end-of-file during read). I cannot figure out how what is wrong. If I understand right it needs the time series output file (tsrX.npt) and a data file containing the JDAY and the actual water surface elevations (el_obs.npt ). I have created those two files and checked formats. Everything seems fine to me but when I run the executable I get an error pointing to the el_obs.npt file. Can someone point me in the right direction? Cheers, Yvonne
Forums: 

Hi Yvonne, I'd make sure that there aren't any tabs in the data file - the columns need to be space delimited. Also, a blank line at the end of a file can cause a problem. If there is a blank line (or more), delete the blank line(s). Here is an example of the typical data file format: USGS Site 12147900 WL (NGVD29) (2000-2006) Hourly Jday WL 1.000 536.17 1.042 536.16 1.083 536.18 1.125 536.18 1.167 536.17 1.208 536.17 1.250 536.17 1.292 536.17 Make sure there are 3 header lines in the file before the data starts. hope this helps, chris

Hi Chris! Thank you for replying. I finally found out that the water balance exe does not like comments in the first three lines but obviously needs them too. It now works since I left the first three lines blank. Cheers, Yvonne