Problems with adding daily data to point sources

275 views
Skip to first unread message

Xinchen He

unread,
May 4, 2022, 1:09:12 PM5/4/22
to SWAT+
Hi All,

I was using the latest release SWAT+ and SWAT+ Editor, and trying to add daily flow data (2000-2020) to point sources. I followed the format provided by SWAT+ editor and created recall csv files to import through SWAT+ Editor (the recall csv was attached to this email, recall_01197000.csv). 

However, the SWAT+ Editor reported error reported an error said "NOT NULL constraint failed: recall_rec.rec_typ". 
pointsource problem1.png

The weird thing is, when I close the window, the Editor seems successfully import the recall csv files. 
pointsourceproblem2.png

But when I run the model and check the recall files in txtinout, only first month of the flow was written in the rec file: pt103.rec. 

pointsource_problem4.png

Does anyone have an idea how to fix this?

Thank you!
Xinchen

recall_01197000.csv
pt103.rec

Jaclyn Tech

unread,
May 6, 2022, 9:20:15 AM5/6/22
to SWAT+
Hi, can you install the attached updated editor and try adding your recall: https://drive.google.com/file/d/1nOX74S0wTIU3b6q2t0kN8agpCJJpTbdd/view?usp=sharing

Let me know if this doesn't work.
Thanks!
Jaclyn

Xinchen He

unread,
May 6, 2022, 11:34:54 AM5/6/22
to Jaclyn Tech, SWAT+
Hi Jaclyn,

I installed this editor and re import my recall csvs, there was no error message bumped out. But, the .rec files written by the editor are still only producing first month data. 
recall_editor2.1.0.png

I wrote a script to fix these recall files (3 point sources total) by adding other months data. It worked for the first point source (pt103, outflow channel is 041), but the other two point sources did not work (pt117 outflow channel is 048, and pt214 outflow channel is 096), no flow input found in these outflow channels. Besides, pt214 was set as measured outflow of res3 after 2012 that I set it in res_rel.dtl (res3: Onota, decision table: onota_meas), it also didn't show any outflows of the reservoir
Would you please help me check why that is?

Thank you!
Xinchen 

--
You received this message because you are subscribed to a topic in the Google Groups "SWAT+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swatplus/yWvgoCXW2ug/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swatplus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swatplus/2dab5b96-53d7-445e-9cb9-0ac9f5e8fa79n%40googlegroups.com.

Osvaldo Barresi

unread,
Jun 29, 2022, 10:42:01 AM6/29/22
to SWAT+
Hi, did you get an answer on this? I have the same issue
Message has been deleted

Jaclyn Tech

unread,
Jun 29, 2022, 11:26:56 AM6/29/22
to SWAT+
Osvaldo, we resolved this issue for Xinchen with version 2.1.2 of the editor available on the website -- sorry we had not updated this thread. Please check this version and see if it helps. If not, please send me your project and I will take a look!
Reply all
Reply to author
Forward
0 new messages