WMS:HEC-1 Reading Existing Files: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
*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.
*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 running 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.
*Names for all KK (Hydrograph Station identifying card) records must be unique. This problem won't surface until running 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 a user may need to define it for all hydrograph stations before being able to read in the modeling results. This can be done by selecting all basins/outlets and bringing up the respective ''output control'' dialog.
*WMS reads hydrograph results from the TAPE22 file. Many existing HEC-1 files will not specify output to this file and it may be necessary to define it for all hydrograph stations before being 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.
*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.
*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 users should be aware of differences that might appear from the original file and the one created by WMS.
WMS writes out a few other comment cards (preceded by an *) that are ignored by HEC-1. These cards are not necessary, but be aware of differences that might appear from the original file and the one created by WMS.





Revision as of 17:24, 16 February 2016

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 running 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 it may be necessary to define it for all hydrograph stations before being 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 be aware of differences that might appear from the original file and the one created by WMS.


Related Topics