Scenic quality error

Hi everyone,

I keep encountering the same error when trying to calculate the scenic quality of an Italian region. The error message reads: “argument must be a string or a real number, not 'NoneType’,” but I’m not sure what this means. I’ve already successfully calculated it for two other regions by following the exact same steps.

Has anyone encountered this issue before or know what might need to be corrected?

Thanks so much for your help!

Best,
Francesca
InVEST-natcap.invest.scenic_quality.scenic_quality-log-2025-01-09–18_23_21.txt (5.5 KB)

Hi @Fra,

Thanks for uploading your log file! This error often occurs when there is missing data. Can you first please inspect the file C:\Shape\Landscape\SolWindSwgs32.shp and confirm that it is not missing any attribute values (and does not contain None/invalid values)?

Thank you so much for your help! That was indeed the problem.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.