Simulating Sub-daily (Hourly) Synthetic Storms

21 views
Skip to first unread message

Mitch Delcau

unread,
Dec 5, 2025, 5:08:31 PM12/5/25
to SWAT+ Editor
Team,

HI - I have 2 issues:

1) I am modeling in a mountainous area in the US. The weather generator selects a weather station that is too far from my watershed. 

QUESTION: Is there a way to set the generator selector to select a specific meta-data site that is NOT listed?

2) Even if I use the weather station that the generator selects, I want to simulate a design or synthetic storm. Under the selected "Weather Station״ there is a list of "Simulated" and "Observed data file name." If I un-check the precipitation box, then the observed data field becomes activated. When I click on the down arrow, it shows, "No data available." Yet, in the TxtInOut directory I have placed a *.pcp file with my design storm in it. But, the editor does not seem to recognize it. I also created a pcp.cli file that shows the name of my pcp file. However, the editor still does not recognize my pcp file. 

QUESTION: How do I get the editor to recognize my pcp file?

------------
ALSO: Yes I do have hourly switched on in the Simulation Period Advanced Settings.

Thank you all so much for your help,
Mitch

Jaclyn Tech

unread,
Jan 7, 2026, 1:08:05 PM (7 days ago) Jan 7
to SWAT+ Editor
Hi Mitch!

Starting with question 2: this was a bug in the editor, sorry about that! The intention was to allow auto-completion based on imported weather stations, but also allow users to type file names manually, but the second wasn't working. This is fixed now in version 3.1.3 just released. https://github.com/swat-model/swatplus-editor/releases/tag/v3.1.3

For question 1, you might just need to narrow down your list of options from the weather generator. At some point when I have more time, I need to adjust or allow option to consider elevation levels when choosing the nearest station, but currently it doesn't and that's maybe why it's not picking the closest one for you?

I'm assuming you're using the included sqlite weather generator database? When you import from the database, it will add all stations within a rectangular boundary of the max/min coordinates of your project's routing units. This is just the initial list, but these aren't all necessarily used in your model. They're only used when they get assigned to weather stations, which are either created during weather generator import if you did NOT check "Check if you are using observed weather data", or during observed weather data import if you did.

Since it sounds like you're using observed weather data, I will assume you checked that box. Which means that the issue is happening where it's selecting a wgn too far from the weather station? You might go in and either select the better wgn manually, or go back to the imported list of weather generators and remove rows that are too far. If you have a lot of data, you might work in the sqlite database directly and use AI to help generate the queries you need to either (1) remove rows that don't work, or (2) generate your own set of wgn into a csv and use that method to import wgn instead.

Alternatively, go here: https://swat.tamu.edu/software/ and type wgn into the search box under SWAT/SWAT+ community tools and try one of those to get your own WGN data. I don't know anything about how these work, but it's possibly easier than what I mentioned above!

Romitha Wickramasinghe

unread,
Jan 13, 2026, 9:21:10 AM (19 hours ago) Jan 13
to SWAT+ Editor
Hi Mitch,

Thank you very much for this question. 

I am also trying to simulate a storm event in a hourly time step. Could you please provide me the format of *.pcp (text file). I am getting continuous errors.

Thank you very much for the help. 
Romitha.
Reply all
Reply to author
Forward
0 new messages