hello learned scientists,
I do need help to resolve this tough error.
I have been working on this (Habitat Quality) ecosystem service and in the process of running the model, it got stuck at the point in which it generated an error stating that folloring land corer codes rere found In your landeorer resters but not in your sensitivity rable. Check your sensItIvi ty rable tosee if they are missIng:056 85240 255See the log for details.
Please how do I go in resolving this. I have attached the accompanying error message to this.
Thank you for the attempt.
hello learned scientists,
I can’t actually see your logfile, I guess it did not upload successfully. But your error message has helpful information. It suggests that your sensitivity table needs rows for those ‘missing’ landcover pixel values. All values present in your raster must be listed in the table. So you can either update your sensitivity table with rows for these values, or you can reclassify your raster so that it does not include any values that are not present in the table.
If that does not work, please try again to upload your logfile.
Thank you very much for your help. I 'll try it now and see if it’s useful. I 'll get back to you later
I managed to run my model successfully, but I felt that my results were not quite correct. I felt that it was my input that was wrong, but I did not find the specific reason. Do you know what this is? What I do is habitat quality.
Well I don’t have the experience with habitat quality to say if these results are correct or not, but perhaps someone else around here does.
At any rate, what specifically makes you think the results are not correct?
Thanks for the response.I ran the simulation data, and I found that the results of the simulation data were very different from my results, and I saw that the results of other people’s running were in the same range of 0 to 1 as the simulation data.I don’t know if I entered the data in the wrong format or something else.
I also met the same problem when I run the Habitat Quality. The error message is "the following land cover codes were found in the sensitivity table, check the sensitivity table to see if they are missing:255 ", just similiar with your problem. And I want to know how you figured it out and run the model successfully. I check my sensitivity table and the 255 doesn’t exist and also the land cover raster file.
Hope you can help me and thank you so much
Hi @zouxiaohan, I believe we improved this error in InVEST 3.7.0, the latest version. Could you make sure you’re running the latest version? If you are, could you try re-uploading your logfile? It didn’t quite attach to your post.
@zouxiaohan The 255 value might be a NODATA value. When I created my rasters and ran the model with the sensitivity table I made, it also gave me that same error. After taking an extra look the 255 was on the Attributes table of the raster and manually looking at the raster layer, I could see that it was representing a NODATA value that was probably overlooked when creating a mosaic or something. Put that value in your sensitivity table and then give it a weight of zeros across the threats and it should solve the error, it’s what I did and it worked.
@Emily Did you reclassify your land cover map to have the missing value or put the missing value in your sensitivity table? I assume you plugged in the missing value into your sensitivity table. It really depends on the number you assigned to each weight of threat on what you see in your output. If that missing value only represented a NODATA areas then in your sensitivity table they would have weights of 0 for the threats. Perhaps the assignment of those numbers is why you aren’t seeing the results you were expecting?
Hi @jdouglass, I tried to use the InVEST 3.7.0 to run the HQ model with my own dataset. It worked well and the quality map and deg_sum map came out as the results, but I found that the range of deg_sum map was not from 0 to 1, you can see from the picture. Do you know what the problem is? I prepared the dataset according to the User’s guide and I have no idea whether I input the data in a wrong format or something else.Thank you again for your help!
Hello, @nadia , Thanks for your suggestion, I download the latest version of InVEST 3.7.0 to run the HQ model and the problem wasn’ appear this time, but something wrong with the results that the range is not betweent 0 and 1, and I have no idea what makes the problem. Do you know what this problem is?
Thank you for your help!