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

python3 parseGeoTIFF.py Rome-30m-DEM.tif ERROR #28

Open
DovydasPociusDroneTeam opened this issue Aug 9, 2023 · 2 comments
Open

python3 parseGeoTIFF.py Rome-30m-DEM.tif ERROR #28

DovydasPociusDroneTeam opened this issue Aug 9, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@DovydasPociusDroneTeam
Copy link

After following install instructions after python3 parseGeoTIFF.py Rome-30m-DEM.tif command getting error:
File "/../....../..../athen_env/lib/python3.9/site-packages/matplotlib/cbook/__init__.py", line 2194, in _g_sig_digits (math.floor(math.log10(abs(value))) + 1 if value else 1) ValueError: math domain error

Screenshot from 2023-08-09 15-27-57

@mkrupczak3
Copy link
Member

mkrupczak3 commented Oct 9, 2023

Hi @DovydasPociusDroneTeam, sorry for the late response, this repo has been more or less deprecated as we've moved most of our development efforts to the Java and Swift version(s).

The value error seems to be caused by the input value being 0, which would suggest that the geotiff library is having trouble reading the file.

This could be due to file permissions on your filesystem, but could also be due to some breaking changes introduced in a recent version of kip crossing's geotiff library.

Please try making a new python environment for the project, then do python3 -m pip install -r requirements.txt to ensure you have the correct package versions

@mkrupczak3
Copy link
Member

If you're still having trouble, run the pip freeze command and paste the output from that in this thread

@mkrupczak3 mkrupczak3 self-assigned this Oct 9, 2023
@mkrupczak3 mkrupczak3 added the bug Something isn't working label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants