Error Inputting Manual Usersoil

9 views
Skip to first unread message

Matthew Lombardo

unread,
Sep 30, 2025, 5:34:42 AM (9 days ago) Sep 30
to QSWAT+
Hi all,

Has anyone seen this error message and would know how to fix my usersoil csv? I've made two different usersoils, one modeled after the SSURGO table in the swat_soils.sqlite, and one modeled after the Robit Usersoil csv. Both return similar error messages, which are the two screenshots I attached. I also included the two usersoil's and the names of the screenshot correlate with one of the usersoils. The csv's should be operating normally since I made sure to match the soil ID in my soil lookup table with fields in both csv's, and both tables are modeled directly after already working usersoil tables. 

I originally thought that the error message from my SSURGO modeled table meant that SWAT+ only needs 11 parameters, but I checked and 12 parameters are required. This made me think that my data layout was wrong, so I tried to emulate the Robit data setup. After using my new usersoil csv, I hit a dead end. Has anyone seen this error message and knows how to fix my usersoil csv?

Thank you for your attention and help! 

Soil Lookup(Sheet1).csv
Usersoil (Robit Modeled)(Sheet1).csv
Usersoil Robit Modeled Error Message.png
Usersoil SSURGO Modeled Error Message.png
Usersoil Table Practice (SSURGO Modeled)(Sheet1).csv

Chris George

unread,
Sep 30, 2025, 7:54:28 AM (9 days ago) Sep 30
to Matthew Lombardo, QSWAT+
Usersoil tables are different from SSURGO ones and you should only
follow SSURGO examples if using SSURGO soil maps.

There are two possibilities for usersoil csv files. One is to follow
the pattern of Robit_usersoil.csv, when your usersoil.csv file should
have 152 columns. Yours apparently has 166.

The other is to use the pattern of Robit_usersoil_layers.csv and
Robit_usersoil_main.csv, where you supply the latter (_main.csv) as the
csv file, and QSWAT+ will read that and then find _layers file if the
file names relate in the way the Robit ones do. the _main file has 11
columns and the _layers file has 17 columns.

QSWAT+ chooses between the alternatives by the number of columns in the
.csv file given by the user.

Chris

On 9/29/2025 6:12 PM, Matthew Lombardo wrote:
> Hi all, Has anyone seen this error message and would know how to fix my
> usersoil csv? I've made two different usersoils, one modeled after the
> SSURGO table in the swat_soils. sqlite, and one modeled after the Robit
> Usersoil csv. Both return similar
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
> ZjQcmQRYFpfptBannerEnd
> --
> You received this message because you are subscribed to the Google
> Groups "QSWAT+" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to qswatplus+...@googlegroups.com
> <mailto:qswatplus+...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> qswatplus/4a0edefe-47dc-433f-86e4-0ba7060af6b6n%40googlegroups.com
> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/
> qswatplus/4a0edefe-47dc-433f-86e4-0ba7060af6b6n*40googlegroups.com?
> utm_medium=email&utm_source=footer__;JQ!!KwNVnqRv!AR4OvCPbr-
> nGP85KROCmG4eNvqArI-OW5Ad9YjJ-
> v66UCU5KX2JNIwPcmkYSHLm0U95BXugHdHrWMapRclXPQvt9rA$>.

Reply all
Reply to author
Forward
0 new messages