All Forums

Rainfall data file for rain gage

I want to use 3-hour rainfall data from 12-01-2002 to  05-31-2010 for my rain gage, but every time I ran the model, it always appears error 321 no data in rainfall interface file for gage or error 319 invalid format for rainfall interface file. How can I solve this problem? Can anybody make a small example of rainfall data input for my case? What is the format of it? I really appreciate it!!

You need to be a member of SWMM 5 or SWMM or EPASWMM - (not formally associated with EPA) to add comments!

Join SWMM 5 or SWMM or EPASWMM - (not formally associated with EPA)

Email me when people reply –

Replies

  • Helllo Mohd,  You must be using the same TS for two reasons in your model - look at the text inp file to check this.

    • solved thanks...

  • Hi there, any one have solved this,,,ERROR 158: time series for Rain Gage RG1 is also used by another object.

  • Hi there

    I have a similar problem of the time series rainfall data to be import to EPA swmm 5

    I attached here my excel data and I want to know Is this data is applicable in this case OR what can I do

    NO 5 Minutes 10 Minutes 30 Minutes 60Minutes
    1 1 0.5 0.8 1.3
    2 10 0.2 0.7 13.4
    3 0.3 0.2 11 12.7
    4 0.4 0.6 3.7 2.9
    5 2.8 0.4 1.1 3
    6 2.3 0.2 0.5 2.5
    7 0.9 3.5 12.6 2
    8 0.4 0.7 1.4 9.1
    9 1.5 6.2 6.5 15.4
    10 2 0.2 16.3 5.7
    11 0.3 0.2 4.8 1.6
    12 0.3 3.5 0.8 11.7
    13 0.6 2.2 2.9 1.7
    14 2 0.3 0.7 8.8
    15 0.3 0.2 0.3 1.9
    16 0.2 0.4 0.8 3.1
    17 1 1 2.5 18
    18 1.2 0.2 0.4 17
    19 0.3 0.2 1.6 7.2
    20 2 2.1 3.7 2.5
    21 1.5 0.3 1.4 12.3
    22 1 6 10.7 1.2
    23 0.2 1.3 0.3 1
    24 0.9 0.4 0.6 10.6
    25 0.4 1.2 3.1 17.4
    26 0.5 0.5 5.2 24.7
    27 0.2 0.6 12.7 1.2
    28 3 2.3 2.5 1.6
    29 0.6 1.1 3.5 2.8
    30 0.2 2 2.9 26.2
    31 3 6.5 20 5.5
    32 1.7 4.3 0.9
    33 0.2 0.4 8
    34 4.5 8.5 8
    35 1 1.8 3.5
    36 1.7 16.2 1.5
    37 5.5 0.8 6.5
    38 2 5 0.6
    39 1 15 15
    40 2.3 14 25.5
    41 10 3 1.5
    42 1.3 1.8 7
    43 0.1 0.4 16.7
    44 8 13.2 7
    45 0.2 4 2.1
    46 0.4 0.7 20.6
    47 0.2 0.7 2.3
    48 3.2 0.4 4.2
    49 5.2 23 1.3
    50 1.7 12.5 2.2
    51 0.8 1.2 0.7
    52 1.2 3.7 25.4
    53 4.1 8.3 20.1
    54 0.3 0.8 3.8
    55 0.6 2.2 2
    56 0.3 0.9 1.8
    57 1.7 0.4 1.7
    58 0.2 0.5 9.1
    59 8.5 2
    60 1.5 13.4
    61 0.8 2.3
    62 0.3 1.5
    63 0.5 0.9
    64 1.5 15.5
    65 0.3 15
    66 0.2 0.5
    67 1.3 2.3
    68 0.8 0.4
    69 0.3 10.5
    70 0.1 5.8
    71 0.2 6.5
    72 0.1 5.5
    73 0.8 5.8
    74 0.2 0.7
    75 0.7 1
    76 0.3 1.2
    77 0.6 4
    78 6 13.7
    79 0.3 1.4
    80 1.4 6
    81 0.7 0.5
    82 2.6 0.5
    83 0.2 15.7
    84 0.7 9.5
    85 6 14.2
    86 0.7 1.7
    87 0.2 0.4
    88 0.3 1
    89 3.3
    90 0.5
    91 3.8
    92 2
    93 0.5
    94 4.5
    95 6.4

    Thanks

    • Do you have 95 minutes - change that to hours:minutes and the use a 1 minute rainfall interval and it should work.

  • You needed to NOT use seconds in the user defined rainfall file, see the attached and edited version that works for me.  I am also including a small working model with your rainfall data in SI units

    The temperature file needs this format, you have a different format

    A user-prepared climate file where each line contains a recording station name, the year, month, day, maximum temperature, minimum temperature, and optionally, evaporation rate, and wind speed. If no data are available for any of these items on a given date, then an asterisk should be entered as its value. 

  • Okay, can you post just your rainfall file here so I can take a look at it?  You need to upload the file.

    • Hi Bob, besides rainfall data, I also prepared wind speed, temperature and evaporation. But another problem appears: error 338: error in reading from climate file XXX. Could you please also have a look it to see if there is something wrong with it? Thank you!
      In addition, I also attached time series T1 I made. I don't know if it's correct.

    • Here it is. 

      BTW, are air temperature and wind speed in the same format with rainfall? 

  • This works, you need a gage name and spaces between the numbers for the program to parse the data.  Your rainfall is very small - what are your units?  It should be mm or mm/hr

    den 2002 12 01 0 00 00 0
    den 2002 12 01 1 00 00 0
    den 2002 12 01 2 00 00 0
    den 2002 12 01 3 00 00 0.00005
    den 2002 12 01 4 00 00 0
    den 2002 12 01 5 00 00 0
    den 2002 12 01 6 00 00 0.00005
    den 2002 12 01 7 00 00 0
    den 2002 12 01 8 00 00 0
    den 2002 12 01 9 00 00 0
    den 2002 12 01 10 00 00 0
    den 2002 12 01 11 00 00 0
    den 2002 12 01 12 00 00 0.00005

This reply was deleted.