top.gif (2928 bytes)

Home News Manual Downloads Projects FAQ Executables


Data Preparation Programs
Other Downloads

If you would like to be notified of updates, please e-mail NK


Please note: All files except the map, pdl, par and climate normal files are now in GreenKenue format.

Current WATFLOOD Manual:   manual
CHARMnnn = SPLnnn = WATFLOOD model 

CHARMx is configured for execution speed. There is no checking on array bounds and other possible problems. If there is a program crash with out an error message, the debug version should be run.   

CHARMd is configured for debugging. This should be run if the speed version crashed as it provides more information and internal checking (e.g. array bounds).  A crash is a crash if the program does not provide the user with a diagnostic message.  Please send NK a screen dump of the error message for a diagnosis of the problem. You may have to send the files causing the problem as well.

These new versions MAY need a new wfo.spec.txt  file automatically created by bsn.exe. You will be so informed when you run the program.



             The WATFLOOD software is furnished by N. Kouwen and the University of Waterloo  and is accepted and used by the recipient upon the express understanding that N. Kouwen and the University of Waterloo make no warranties, either express or implied, concerning the accuracy, completeness, reliability, usability, performance, or fitness for any particular purpose the software known as WATFLOOD, and to other material supplied in connection therewith. The software and supporting material is provided "as is". The entire risk as to its quality and performance is with the user.

             The forecasts produced by the WATFLOOD software are for information and discussion purposes only and are not to be relied upon in any particular situation without the express written consent of N. Kouwen or the University of Waterloo.


By downloading you accept the terms of this Disclaimer.


32 bit versions

Important: Please keep old copies of executables and check to see that this new version has not affected your results in an unexpected way!!!


I accept the terms   (This will get you - optimized for speed)  (Last updated June 5, 2016)

I accept the terms  (This will get you - optimized for debugging)   (Last updated June 5, 2016)

NOTE: Also needed to run 32 bit CHARM: Unzip this DLL and put it in the path (or in the working directory). To find a suitable location, in DOS, use the cmd "path" and look for a directory that has "Windows Live" or "Shared" or "WindowsApps" as part of the name. This folder is probably accessible for you to insert this DLL. (People at MS can't seem to agree on a common path here).

64 bit versions

Important: Please keep old copies of executables and check to see that this new version has not affected your results in an unexpected way.

Please Note:   June 4, 2016 - The model executable has been renamed CHARM   for Canadian Hydrological And Routing Model

I accept the terms  (This will get you CHARM64x (replaces splx64) - optimized for speed)   (Last updated Aug. 28, 2018)

I accept the terms  (This will get you CHARM64d (replaces spld64) - optimized for debugging)  (Last updated Aug. 28, 2018)


May 10/17 - From Nov. 2016 Version 10.1.49 until Version 10.1.83 evaporation was not taken out of river channels after the lake evaporation model was revised. This has been corrected with 10.1.83


Apr. 6/17 - A problem with frame labelling for leap years in the watflood.wfo file has been fixed. This resulted in the plot labelling being off by 1 day.

- The outfies.txt files has been revised: changed order of files and added unit numbers.

- DLL's no longer needed.


Dec. 21/16 - A bug in the Manning's n reduction for multiple streams in one grid was inactive and has been (re)activated. This may affect hydrograph timing in upstream sub-watersheds. To get the same results as with previous versions, set chnl(1-5)=1.0 in the par file.


Oct. 30/16 - New flags for ice factor for rivers & lakes.


Aug. 3/16 - Added observed flows to the watflood.wfo file. Requires new wfo_spec.txt file.


Added results\lakename.tb0 output file. Requires tb0flg = 'y' in the event file. Default = 'n'


Aug. 31/15 - Reservoir Target Levels added. Contact NK.


May 04/15 - Fixed a problem with the resume file: heat deficit not reset for a resume on Jan. 1.


Mar. 06/15 - Fixed channel depth calculation in wetland routing. This bug was initiated Jan. 15/15 when the wetland routing was revised. It affected timing only - slowing wetland outflow.


Feb. 13/15 Fixed  levels.txt & resin.csv to match values in the lake_sd.csv file. Previously data was not properly extracted from the model because of miss-matched timing.


Feb. 04/15 update: Fill missing (-1.0) initial reservoir releases with first +ve values encountered.


For previous revisions please see:     revisions.pdf


NEW Jan. 13/14

A number of enhancements are being implemented at this time but have not been extensively tested. The additions include a lake evaporation model being developed at the University of Manitoba by Prof. Trish Stadnyk; an updated Hargreaves ET algorithm; the use of a variable latitude based on the grid latidude as opposed to a central watershed latitude; and the addition of the daily difference of temperatures for each grid on a daily basis as opposed to the use of the current monthly_climate_normals for the whole domain.  To use the new model, new event files will be required to incorporate the new files.

Updated Apr. 07/14 - with this update, in the par file set the flgevp2 = 2.0 for the old method and flgevp2 = 4.0 to use daily temperature differences and Hargreaves & Samani 1985. TMP64x.exe will generate the yyyymmdd_dif.r2c  files.


Dynamically Dimensioned Search - DDS

 Two executables are required: 

 DDS with pre-emption is available here    and  

(Last updated Aug. 28, 2018)

NEW   Lapse rates for precipitation and temperature, as well as radius of influence, damping coefficient and a ratio for interception capacity can now be included in optimization.

The csv format par files are required.

For background information on DDS please see 


Parameter file update:

Please switch from the old par file format to the new par.csv format ASP. The old format will not be supported in future revisions. A new format par.csv file is automatically created every time splx?? is run if an old format file is used. Simple rename the new_par.csv in the basin directory to the proper name and enter this name in the event file.

With the new par.csv file, the bsnm.sdc file is now incorporated in the par file and is no longer used. However, a new file monthly_climate_normals.txt file is now required in the basin directory. This file is also automatically created.

The new format par.csv files should be edited in EXCELTM  This setup is a great improvement over the old formats. They are easier to edit and understand. But be careful: there are no diagnostics in the read program just yet. However, if you do have a problem, run the debug program and you will see how far you got along in reading the file.  Please see Section 4.1 in the manual for an example par file.


Data Preparation Programs  
.map to _shd.r2c converter   BSN64X.ZIP
The bsn.exe program converts a .map file to a .shd file. The .shd file is the watershed data file for the splnn.exe programs. This version gives the choice whether to create a new_ch_par.r2c file for WATROUTE. Multiple sub basins can now be created in one shd file. The bsn_resonses.txt file has been revised. Non-contributing areas can be taken out. Upstream sub-basins can be taken out. - see manual. There is a new option for creating a shd file for // computing.  For debug mode: BSN64D.ZIP  (Last updated Aug. 28, 2018)

For 32 bit versions:  Last updated  June 5/16

NEW  BSN.exe has been modified to accept an updated bsn_responses.txt file. The old formats can lo longer be read but a new file will be created by running the program and answering the questions. Before running BSN.exe, save your old bsn_responses.txt file for  reference.

Snow course distribution SNW64.ZIP
snw.exe reads the snow course data recorded in the snow course file (yyyymmdd_crs.tb0) file and distributes this point data to a gridded format (.swe) for input to splnn.exe. The same file is used for both the point and gridded data. The program merely updates the file.  (Last updated Aug. 28, 2018)   

 For 32 bit version:   Last updated  June 5, 2016
Soil Moisture distribution program

moist.exe reads the soil moisture point data file (yyyymmdd_psm.tb0)and creates the soil moisture gridded data file (.gsm)  (Last updated Apr. 1,2018) 

For 32bit version:  (Last updated Aug. 28, 2018)  

Rainfall distribution program

Ragmet.exe reads point precipitation (yyyymmdd_rag.tb0) files containing point rainfalls and distributes the point rainfall to the grid specified in the bsnm.pdl (point data location) file. The gridded precipitation has the _met.r2c extension.  This program now will do the sequence of events in the event file in one single run and allows for a radius of influence and smoothing at precip stations - see manual.  RAGMET.exe no longer reads the ragmet.par file but instead reads the bsnm_par.csv file. You can optimize the lapse rate, radius of influence & smoothing distance with dds. Debug version    See manual.

(Last updated Aug. 28, 2018)  (Fixed leap year time stamps)

For 32 bit version: Last updated June 5/16

Temperature distribution

This program reads point temperature (yyyymmdd_tag.tb0 ) files and distributes the temperatures to the grid specified in the bsnm.pdl (point data location) file. It must use the same grid as the gridded precipitation file (_met.r2c). The gridded temperature has the _tem.r2c extension. TMP.exe no longer reads the ragmet.par file but instead reads the bsnm_par.csv file. For debug mode   (Last updated Aug. 28, 2018)  (Fixed leap year time stamps)


For 32bit mode  Last updated  June 5/16

Daily Temperature Differences
NEW This program will read the gridded temperatures (*_tem.r2c) and create daily difference files (*_dif.r2c) which are needed for the new Hargreaves (1985) equation. (Last updated Aug. 28, 2018)
Create a new event  
The events.exe program creates a complete set of files for an event. All the data is set to -1 or -99 and can be replaced by the user in the WATFLOOD menu, in a text editior or a user's custom program.   (Last updated: 18/08/2004)
Event file generator - 64bit
This program allows the user to create a set of events files for a continuous simulation by chaining a set of events. (Replaces (Last updated Aug. 28, 2018)
For 32 bit mode
Env. Can. data processing
NEW  Oct. 2017
A program to select CCC climate stations for a selected Lat-Long box from the CCC  Station_inventory_EC.csv   select   (Last updated Aug. 28, 2018)
The inventory may be requested from  Services Climatiques / Climate Services (EC)

  May 4  2016

These 4 programs  ECmet  ECflw ECrel  EClvl    will read Env. Can. met, flow and level data files and create Green Kenue format files for WATFLOOD. (Last updated Aug. 28, 2018)
For 32 bit versions: ECmet32  ECflw32  ECrel32  EClvl32

Example files and use are described in   Utilities_Manual.pdf  

Env. Can CMC Numerical Weater Forecasts download

NEW Oct. 2017
CMC CaPA, Regional & Global Model forecast downloading: A program to create 4 bat files for WGET run_daily   (Last updated Aug. 28, 2018)
Its use is descrived in the Flow_Forecasting_Manual

NEW   Apr. 1,2018  Grib2 data processing

Other Downloads 


This program is a subset of the WATFLOOD model. Input files can be gridded runoff and recharge or leakage. Output is gridded routed flows. Last updated Mar. 11/09  Note:  No longer supported.

This program computes the initial conditions for WATROUTE given initial river flow for at least one location.                           Last updated Sept. 13/13
File conversion - old to new formats TRNS.ZIP
This program will convert old yyyymmdd.str  yyyymmdd.rel  yyyymmdd.met  &  yyyymmdd.tmp files to the new KENUE (ENSIM) formats   yyyymmdd_str.tb0  yyyymmdd_rel.tb0  yyyymmdd_met.r2c  &  yyyymmdd_tmp.r2c  files.  Please the manual Chapter 14 for instructions.
(Last updated Feb. 27/07)
Demo data sets  
A simple small watershed: Grand River, ON.
This data should be placed in the \spl\gr10k directory and can be used to check the proper operation of the model. The SPLnn programs will run this demonstration copy.
(Last updated Aug. 16/12)

A complete set of files to start from scratch with instructions: The Sapochi River from the BOREAS project. workshop_sapochi.pdf
Statistical analysis program
This program can be used to calculate various performance statistics. It reads the spl.csv and resin.csv files. Spinup period can be skipped.  stats_users_manual.pdf  (Last updated Dec. 09/11)

for 64 bit stats64.exe                         STATS64.ZIP  Oct. 25/11

watflood_logo_small.gif (859 bytes)

copyright 1999-2017 N. Kouwen