USEPA / SWMM-EPANET_User_Interface

User interface for the Stormwater-Management-Model
111 stars 66 forks source link

Description I/O problems for [Landuses] #378

Closed MitchHeineman closed 4 years ago

MitchHeineman commented 4 years ago

Two part issue:

Example input:

[LANDUSES] ;; Cleaning Fraction Last
;;Name Interval Available Cleaned
;;-------------- ---------- ---------- ---------- ;Commercial only Commercial 14 0.8 7
;Forest and five other categories. Not swept ForestUndeveloped 0 0.8 0 ;Transportation and Marina Transportation 14 0.8 7

A simple read/write operation retains the first description (although it's not visible in the GUI). Note also the unneeded space inserted before each item.

[LANDUSES] ;; Cleaning Fraction Last ;;Name Interval Available Cleaned ;;-------------- ---------- ---------- ---------- ;Commercial only Commercial 14 0.8 7
ForestUndeveloped 0 0.8 0
Transportation 14 0.8 7

Descriptions created in the GUI are exported, but without required semi-colons: [LANDUSES] ;; Cleaning Fraction Last ;;Name Interval Available Cleaned ;;-------------- ---------- ---------- ---------- ;Commercial only test1 Commercial 14 0.8 7
test2 ForestUndeveloped 0 0.8 0
test3 Transportation 14 0.8 7

TongZhai commented 4 years ago

The above update allows SWMM to handle reading, writing, and displaying multiline comment per landuse.