Sub daily precipitation input

97 views
Skip to first unread message

Faisal Mahmood

unread,
Apr 22, 2025, 10:54:10 PM4/22/25
to SWAT+
Hello,

Could anyone help me with the right format of the precipitation sub daily input in SWAT+ latest? I am trying to use SWAT2012 format but still getting error.  Following is my pcp file format

ID,NAME,LAT,LONG,ELEVATION
1,robpcp,51.860968,-8.782832,48.078564

and following is the robpcp file format which is not accepted by SWAT+ editor

20210101, 60

0
0
0
0.8
......


Could you help me with the right format? My data is hourly. Thanks in advance.

MOHSEN MAHMOODY VANOLYA

unread,
Apr 23, 2025, 3:09:43 AM4/23/25
to Faisal Mahmood, SWAT+
Hello Faisal,
The attached file and Python code will be the format you need to generate a 1-hour rainfall time series for a three days storm for  instance.
Good luck.

Mohsen M. VANOLYA
Water Engineer, PhD

--
You received this message because you are subscribed to the Google Groups "SWAT+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swatplus+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/swatplus/1c142641-2905-419e-8803-624eb2b33127n%40googlegroups.com.
HourlyPrecipSwat.py
Ankapcp.csv
pcp.cli
123DaysStormsPy.xlsx
P171.pcp

Toufiq Amin

unread,
May 20, 2025, 11:10:45 AM5/20/25
to SWAT+
Hello
Is it possible to run SWAT+ with precipitation Only if I don't have temperature, wind speed values?

Nancy B. Sammons

unread,
May 20, 2025, 11:14:22 AM5/20/25
to Toufiq Amin, SWAT+

Yes, you can run a simulation with only daily precipitation.   The model will use the weather generator parameters to simulate the other weather related data. 

 

 

From: swat...@googlegroups.com <swat...@googlegroups.com> On Behalf Of Toufiq Amin
Sent: Monday, May 19, 2025 10:20 AM
To: SWAT+ <swat...@googlegroups.com>
Subject: Re: [SWAT+ User Group] Sub daily precipitation input

 

You don't often get email from mtouf...@gmail.com. Learn why this is important

Rhollthan Tubale

unread,
Jan 8, 2026, 8:01:55 AM (4 days ago) Jan 8
to SWAT+
Good day,

I am also getting errors even with the assisted creation of sub-daily precipitation files. I get this window whenever I run the model.

Screenshot 2026-01-08 141511.png

I am also attaching the generated pcp.cli and .pcp files (compressed in .zip) generated using the tool.
It's our first time to migrate to the SWAT+ environment, so far the importing and running the model in the sub-daily timestep has been a hurdle for us.
Thank you vey much.


Best regards,
GSMAP_Precipitation.zip

Nancy B. Sammons

unread,
Jan 8, 2026, 10:53:22 AM (4 days ago) Jan 8
to Rhollthan Tubale, SWAT+

Rhollthan: 

If you change the number of years in the measured precip file(s) to 13 it will run successfully.

The model allocates precip with the years in the measured file and not what is input in time.sim.

  

An example with the first file:

Site6.pcp file prepared by Muhsin VANOLYA

nbyr     tstep       lat       lon      elev

13          24    10.4500   123.8500     401.00

 

I would also like to mention that it’s not necessary to choose all print options/timesteps in the ‘print.prt’ file.  This creates many output files that are empty or no outputs included.  A couple of them need to be changed in order to get a successful simulation.   They are HYDCON and FDCOUT as seen in the partial file sample:

 

crop_yld           mgtout              hydcon             fdcout       

b                           y                            n                           n            

objects             daily                    monthly            yearly                  avann 

basin_wb               y                       y                           y                            y 

 

Although you are using a model version from 8/2024, it should run after these edits.  Let me know if does not. 

 

Have a good day and Happy New Year!

Nancy

 

 

From: 'Rhollthan Tubale' via SWAT+ <swat...@googlegroups.com>
Sent: Thursday, January 8, 2026 12:23 AM
To: SWAT+ <swat...@googlegroups.com>
Subject: Re: [SWAT+ User Group] Sub daily precipitation input

 

Good day,

 

I am also getting errors even with the assisted creation of sub-daily precipitation files. I get this window whenever I run the model.

 

Reply all
Reply to author
Forward
0 new messages