sgherbst / pyhigh Goto Github PK
View Code? Open in Web Editor NEWPython library for accessing elevation data
License: MIT License
Python library for accessing elevation data
License: MIT License
Hello,
I want to use your fantastic package but I have a problem :-(.
When I launch a pyhigh command, I have this error msg.
__Downloading N36W119.hgt.zip
Traceback (most recent call last):
File "/usr/local/bin/pyhigh", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/pyhigh/pyhigh.py", line 23, in main
print(get_elevation(lat=lat, lon=lon))
File "/usr/local/lib/python3.9/dist-packages/pyhigh/elevation.py", line 69, in get_elevation
return get_elevation_batch([(lat, lon)])[0]
File "/usr/local/lib/python3.9/dist-packages/pyhigh/elevation.py", line 59, in get_elevation_batch
unzip(CACHE_DIR / zip_name)
File "/usr/local/lib/python3.9/dist-packages/pyhigh/unzip.py", line 6, in unzip
zip_ref = zipfile.ZipFile(path, 'r')
File "/usr/lib/python3.9/zipfile.py", line 1257, in init
self.RealGetContents()
File "/usr/lib/python3.9/zipfile.py", line 1324, in RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
Do you have any idea please ?
Thanks a lot.
Not necessarily an issue, but what are the units of the elevation data? The get_elevation function seems to return a float, always ending in .0. It seems to be yards or meters but some confirmation would be great. Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.