NaN in the outputs of the SWAT model

There are NAN values in the output of the output.rch, ouptput.std. I checked the results and found that the PET in November 2021 are NaN values. So, I checked the tmpa.tmp file. I have taken many hours to ensure that the file in the corresponding month (2021) is right. But,all effort just in vain.

Then, i replace the data of temperature in 2011.11 with new data. Then, the model can output normal values. Thus, i make sure that there is something wrong with the data of the month.

Thus, i checked the data of the month carefully. However, no result can be found.

Finally, I use the most stupid method by change the data of each day in that month. It has taken almost two hours to find the wrong data.

2021325004.1-04.1000.6-06.6003.9-05.2002.8-07.4003.4-17.8005.2-10.6

Replacing the wrong data the following data, the the model can give output normally.

2021325004.8-03.4001.1-06.1004.6-04.5003.5-06.7004.8-16.4006.6-09.2

In fact, i don’t know why the bug can bring wrong results of the SWAT model until now.

Leave a Reply

Your email address will not be published. Required fields are marked *