MyGeoHub will be down on Monday, December 9th, 2019 starting at 8:00 am EST for scheduled migration to new equipment. All open tool sessions will be terminated so please plan accordingly. We apologize for any inconvenience. There may be intermittent downtime between Monday, December 9th and Wednesday, December 11th for additional maintenance.

Close

SWATShare Simulation Troubleshooting Guide

If you encounter difficulties running simulations, check the following list. You may want to check simulation logs to get detailed error messages.

1. Check your input model file

  • Check your input model file if it contains all mandatory files. Please refer to the SWATShare User Manual (link).
  • Check if all files are valid, and follows the proper format.
    • Error message example (The file "pcp1.pcp" contains invalid number):
      At line 121 of file /home/waterhub/swat_build/SWAT/swat_src/src/pmeas.f (unit = 101, file = 'pcp1.pcp')
          Fortran runtime error: Bad value during floating point read

 

2. Check your observation file

  • The file format of the observation file is Comma Separated Values (CSV). All values must be separated by a comma (,), not a tab or a space.
  • Example:
    ,3,13,14,28,32,37,41
    1,45,78.2,242.4,16.5,116.1,33.7,425
    2,48.4,87.5,320,14.8,106.5,50.4,626
    3,49.3,58.3,362.5,11.2,48.7,31.7,648
    • The first line is a header containing reach/subbasin/hru IDs for which a streamflow/ET time-series will be used in calibration. (Sequential, low->high)
    • Rest of the lines contains observed variables. The first column is a No. of data points.
  • Check the filename. The format of a filename is "obs_[output file]_[objective variable].csv". E.g., "obs_rch_streamflow.csv", "obs_sub_ET.csv".
  • The length of the observed variable data must be matched to simulation time.
    • Error message example:
      ERROR: The length of simulated and Observed Streamflow do not match for outlet 8. Number of variables for simulated is 2557 and for observed is 1826 Edit file.cio simulation time to match provided observation length.