Topmodel source code generates output files hyd.out and topmod.out when yes_print_output (Boolean) is set to TRUE.
This toggle is the 3rd element (first line) in subcat.dat.
The BMI extended version maintains this conditional logic within model code but also considers a larger scoped (framework-relevant) configurable equivalent via stand_alone switch.
See note on STAND_ALONE.
I.e. when both stand_alone and yes_print_output are TRUE then model output files are generated.
Recall that topmod.out and hyd.out are defined in the last two lines in the primary configuration file, topmod.out, respectively.
The header file topmodel.h also includes comments of each variable, both input and output.
A sample hydrograph output can be found in the source code directory; demo_hydrograph.out.
It contains observed data, Qobs, and simulated discharge,Q, as the image below details.
| Name | Datatype | Units | Role | Description |
|---|---|---|---|---|
| it | int | time_info | current time step | |
| Qobs | double | meters/hour | output_to_file | observed discharge |
| Q | double | meters/hour | output_to_file* | simulated discharge |
*Note: Variable role is "output_to_bmi" if not in stand-alone mode.
See demo_topmod.out for sample example model output.