Hi, I am running the Coastal Vulnerability model. All data input file are in the proper type but when I run the model I have the following error: Something went wrong when adding task calculate wind exposure (4), terminating taskgraph.
… TypeError: can’t multiply sequence by non-int of type ‘str’
Maybe it’s a problem related to WaveWatch file, but I don’t know how to resolve it.
@sermel,
It looks like this error is happening because some values read from your WaveWatch vector file (REI_PCT and/or REI_V) are strings, not numbers. You probably need to change the data type for these columns in your vector attribute table.
Thanks for the reply,
I try to change the data type of REI_PCT and REIV to all directions (0,22, 45,67,ecc) in the section fields calculator through the function ‘to_real’ that convert values from string to real number.
However, the error still exist.
You konw another way to change the data type of attribute table values?