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

python API does not respect output file path. #57

Open
danielebaisero opened this issue Dec 7, 2022 · 0 comments
Open

python API does not respect output file path. #57

danielebaisero opened this issue Dec 7, 2022 · 0 comments

Comments

@danielebaisero
Copy link

danielebaisero commented Dec 7, 2022

In python 3:

import elevation
elevation.clip(bounds=(12.35, 41.8, 12.65, 42), output='Rome-DEM.tif')

Does not write the file in the working directory, but in /home/user/.cache/elevation/SRTM1/Rome-DEM.tif

Current fix is to use an explicit output path. E.g. output='/home/user/Rome-DEM.tif'

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

No branches or pull requests

1 participant