Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input datasets must be in same folder #6

Closed
wcarthur opened this issue May 25, 2017 · 1 comment
Closed

Input datasets must be in same folder #6

wcarthur opened this issue May 25, 2017 · 1 comment

Comments

@wcarthur
Copy link
Member

wcarthur commented May 25, 2017

Input DEM and classified vegetation raster layers must be in the same directory. This is documented, but it would be easier to remove this dependency on the location of the input data.

Traceback generated when DEM and vegetation data are in different directories:

  File "C:\WorkSpace\bal\bal.py", line 370, in <module>
    run()
  File "C:\WorkSpace\bal\bal.py", line 356, in run
    mask = find_aoi(extent, dem, veg)
  File "C:\WorkSpace\bal\bal.py", line 308, in find_aoi
    arcpy.Intersect_analysis([dem_poly, veg_poly], mask)
  File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\analysis.py", line 317, in Intersect
    raise e
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input Features: Dataset dem_poly.shp #;C:\WorkSpace\bal\examples\input\veg_poly.shp # does not exist or is not supported
Failed to execute (Intersect).


Failed to execute (BAL).
@wcarthur
Copy link
Member Author

Resolved in #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant