WMS:HEC-1 Reading Existing Files

From XMS Wiki
Revision as of 18:15, 5 June 2008 by Eshaw (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

WMS is capable of reading HEC-1 files that have been manually created using a text editor or some other program. However, there are a couple of problems which need to be considered, and may have to be altered either before or after reading in one of these files.

  • There can be no blank fields in a file read in by WMS. If a field is left blank, HEC-1 assumes the value of this field is 0. However, errors will occur or data will be lost if a file with a blank field is read into WMS.
  • Names for all KK (Hydrograph Station identifying card) records must be unique. This problem won't surface until you run HEC-1 with a new file created by WMS and try to read the hydrographs. In such cases all hydrographs will displayed at the first hydrograph station (KK record) with the duplicate name. This can be changed either inside or outside of WMS.
  • WMS reads hydrograph results from the TAPE22 file. Many existing HEC-1 files will not specify output to this file and you may need to define it for all hydrograph stations before you will be able to read in the modeling results. This can be done by selecting all basins/outlets and bringing up the respective output control dialog.
  • Only the first three ID cards are read into WMS.
  • All KM cards (comments) are placed directly after the KK record for a hydrograph station. WMS will read KM cards from any position within the HEC-1 file, but always writes them out directly following the KK card.

WMS writes out a few other comment cards (preceded by an *) that are ignored by HEC-1. These cards are not necessary, but you should be aware of differences you might see from your original file and the one created by WMS.


Related Topics