Habitat quality model error (sensitivity table)

I am using Habitat quality model. It seemed to be usable for 1 application. However, sensitivity table is not work for another application. It showed an error message

“csv : Value(s) in the “unnamed: 7” column could not be interpreted as ratios. Original error: could not convert string to float: ’ '”

I have checked everything but could not find a reason why error still happened. Could you please suggest me how to fix?
sensitivity_ryg.csv (1.0 KB)

Hello @satha13 -

When the model gives an error, please provide the entire log file that is created in your Workspace (with a long file name that ends in .txt). That often gives us additional information to help troubleshoot. Thanks.

~ Stacie

Hi @swolny

Thank you for your response. I could not find a log file in the workspace, probably because I was not be able to click “RUN” due to sensitivity table error (as shown in screenshot picture). I have checked a table to make sure that there are no invalid values or missing data. However error message still exist.

Ok, it’s good to know that the model caught this problem in the user interface. That’s an odd error, so I looked at the CSV in a text editor, and found that there are commas after the final field entries, for example, “road2,” “0,” etc. When I removed all of the commas at the end of each entry (changing them to “road2” “0” etc), that error went away.

But then it gave another error because the table is missing the “lucode” field. Instead, it’s called “LULC”. So you will need to change the column name “LULC” to “lucode”.

~ Stacie