View Single Post
  #4 (permalink)  
Old 05-06-2003, 10:34 PM
rob
Member
 
Posts: n/a
Re: Rain User Defined Input

Jeremy,

I'm not sure how to get the program to read and discard non numeric characters, I would try something like 'I4,I1,I2,I1,I2,I3,I1,I2,F10.0' with the columns assigned:

year=1 month=3 day=5 hour=6 minute=8 value=9

The I1's should probably be replaced with a string type, but I'm not sure of what that is. However there are two alternatives, one is to process the file to remove all slashes and colons, giving you:

19400101 0000 0.000
19400101 0100 0.000
19400101 0200 0.000

In which case 'I4,2I2,I3,I2,F10.0' should work fine. The other is to load the file into PCSWMM's graph tool and choose the Export to User-defined rainfall file option. If you need help with the latter, you can contact us directly.

Sincerely,

Rob James, P.Eng.
rob@COMPUTATIONALHYDRAULICS.COM
Reply With Quote