Page 1 of 1

Hydro v6.1.1-beta Preprocessed weather files not accepted due to 1 missing record

Posted: Tue May 29, 2018 1:12 pm
by rcoville
In Step 1) Project Area Information, users can enter preprocessed weather data files, but Hydro v6.1.1-beta is rejecting normally-acceptable preprocessed weather files because of a minor formatting issue. The error presented to users is that the weather files they input do not match the project period, with the error message noting that only 1 record is missing. For example:

Code: Select all

Missing data: 8736 records expected, 8735 records found.


The reason for this is that Hydro v6.1.1-beta expects a blank row under the header, or in other words it expects the data series to begin on row 3, but its function to export preprocessed weather files (File > Save Weather and Gage Data > Save Processed Weather Data) formats the files with no blank row under the header, or in other words it saves the files with the data series beginning on row 2.

We will have this issue resolved in a future update. For now, a simple workaround is to close Hydro, open the processed weather files in question in a text editor like Notepad++, add a blank row below the header, then save the file and retry it in Hydro. Examples of the file formats are below:

Weather.dat file with format that does not work in Hydro v6.1.1-beta:

Code: Select all

yyyymmdd,Hr:Min:Sec,Tair(F),Tdew(F),NetRad(W/m^2),WndSpd(m/s),Precip(m/h),Snow(m/h)
20100101,00:00:00,36.00000000,33.00000000,0.00000000,0.00000000,0.00000000,0.00000000
20100101,01:00:00,36.00000000,33.00000000,0.00000000,0.00000000,0.00000000,0.00000000
20100101,02:00:00,36.00000000,33.00000000,0.00000000,1.34108181,0.00000000,0.00000000
20100101,03:00:00,36.00000000,33.00000000,0.00000000,3.12919088,0.00000000,0.00000000
Weather.dat file with format that does work in Hydro v6.1.1-beta:

Code: Select all

yyyymmdd,Hr:Min:Sec,Tair(F),Tdew(F),NetRad(W/m^2),WndSpd(m/s),Precip(m/h),Snow(m/h)

20100101,00:00:00,36.00000000,33.00000000,0.00000000,0.00000000,0.00000000,0.00000000
20100101,01:00:00,36.00000000,33.00000000,0.00000000,0.00000000,0.00000000,0.00000000
20100101,02:00:00,36.00000000,33.00000000,0.00000000,1.34108181,0.00000000,0.00000000