Hello @Samjhana, and welcome to the forum!
When you say that you cannot âuploadâ the LULC, does this mean that youâre having trouble bringing those inputs into the Workbench application interface? Or something different?
Is Workbench showing an error? If so, please take a screenshot and post it here.
~ Stacie
Thanks for the screenshot @Samjhana. If you click on the red X next to the inputs, it will give you a brief message about whatâs wrong. What do these messages say?
~ Stacie
Thanks for you responses swolny, I have successfully ran the model but again found the issues as in screenshots. Please âŚ
Thanks for posting the log file @Samjhana. The error message says this:
ValueError: Value(s) in the âhabitatâ column of the table D:\Workplace2020\Sensitivity.csv could not be interpreted as ratios. Original error: could not convert string to float: âGrasslandâ
So look at Sensitivity.csv and try to figure out whatâs going on. The model thinks that there is a value of âGrasslandâ in the âhabitatâ column, when there should be a floating point number. Are there actually text values in the âhabitatâ column? If so, youâll need to change that, as is described in the User Guide (and sample data).
If there donât appear to be text values in the âhabitatâ column, then perhaps thereâs a problem with the table format. Look at the CSV in a text editor, where you can see the formatting better than in Excel. Make sure all of the column values are correct, none are missing, and all are separated by commas.
If you still canât find the source of the error, please post the Sensitivity.csv table and weâll take a look.
~ Stacie
Please find this.
Sensitivity1.csv (1.19 KB)
Hi @Samjhana , thank you for sharing your data table. Please note the difference in the table headers between your table:
And the properly formatted table from this modelâs sample data:
I expect that is the source of the problem.
Thank you dave, for your response. I have done as your suggestion, but another issue was created. Now model has shown error in threat.csv, which was not shown in previously. PleaseâŚ
Hi @Samjhana -
Have you verified that the Threat.csv table has the format required by the model? And that the cur_path entries are valid file paths, relative to the location of the Threat.csv table?
~ Stacie
Thank you @ swolny, I have successfully run the model and got results in the folder "intermediateâ as a âhabitat_c.tifâ along with other 50 .tif. The habitat_c.tif is very closely similar the habtiat suitability of sensitivity table. I did not find any changes in habitats which are nearer and far from the threats. please âŚ
Hi @Samjhana -
If the model ran successfully, the main outputs of the model (habitat quality and degradation) will be in the âoutputâ folder, as described in the User Guide.
If the model didnât finish successfully, please post the entire log file (.txt) thatâs created in the Workspace so we can try to find the problem.
~ Stacie
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.