Crop Production percentile model ValueError: no such crops exist

Hi,

I have been trying to use the crop percentile model on Mac with the sample data downloaded from the website and I have connected the folders correctly which the model agrees with when I input the data.

I have downloaded it twice now as I keep having an issue where it says the model is good to go and then I get an error saying no such crops exist when the model attempts to run. I am not sure what to do as I am just learning how to use it. I have created a new file within only one crop in it and it still throws an error

Thank you in advance for your help,
mh1

HI @mh1, welcome to the forums!

Could you attach your logfile here so we can take a closer look?

Thanks,
James

Hi James,

Here is the log file
InVEST-Crop-Production-Percentile-Model-log-2020-07-14–17_36_23.txt (1.6 KB)

Thanks,
mh01

Ah, great. Thanks!

It looks like the model data input isn’t quite pointed to the right folder. Could you try changing the model data input path to /Users/mh/Documents/year 3/DISS/MODELS/CropProduction/model_data/ and see if the model will run?

Thanks,
James

Thank you so much for your help all fixed now!!

1 Like

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