- Do you know how to solve this problem?
Thanks for your answer, but I can’t solve this problem yet. All of my threat rasters locate relative to the directory containing my threat table D:\habitat quality.
Hi @JCJC -
One thing I want to verify is that you have edited the files “threats_willamette.csv” and “sensitivity_willamette.csv” with your own values. I ask because those files still have the names of the sample data files (which are from the Willamette Valley, Oregon, U.S). My guess is that you used them as templates and just didn’t change the file names, which is fine, but many people have gotten errors when they’ve tried to mix sample data with their own data.
Thank you for answering my question. But I didn’t try to mix sample data with myown data.I think there should be no problem with my data.
Could you please share your threats table?
Hi @JCJC ,
Thanks for sharing what your threats CSV looks like. From your screenshot of the model User Interface, the location of the threats CSV file is
D:\habitat quality\. From your screenshot of the threats CSV the
CUR_PATH column is showing absolute file paths to the threat rasters instead of relative paths. From the Users Guide:
InVEST will not prompt you for these rasters in the tool interface but will instead look for their filepaths in the Threats data table under the corresponding scenario columns. The paths should be relative to the Threats data table path.
So, instead of
D:\ecology\data\manre_c.tif in the
CUR_PATH column, you would want
.. signifies “up one directory level”.
An easier approach might be to move your threat rasters from
D:\habitat quality. Then for
CUR_PATH you would have:
It is a bit confusing, let us know if you still have questions.
The problem has already been settled. Thank you so much ！
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.