-
Notifications
You must be signed in to change notification settings - Fork 74
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
SRTM1 not accessible from USGS anymore [Was: Make error on OSX] #18
Comments
As a matter of fact MacOSX is my primary development platform and I use Elevation regularly on it, so it must be something specific to your setup. Can you please report the output of:
Furthermore what version are you using? The PyPi release or GitHub master? |
I'm actually getting the exact same error on Mac OS X. |
@alexamici thanks for your quick reply. I am using elevation module (master version) as an external library, as follow: import sys
sys.path.append("/Users/larosa/dev/ext-libs")
import elevation
elevation.clip(bounds=(12.35, 41.8, 12.65, 42), output='/Users/larosa/Rome-DEM.tif') and running selfcheck I get: from elevation import cli
cli.selfcheck()
Your system is ready. |
Ok, I managed to reproduce the error on my machine after doing a Looks like the data provider usgs.gov switched to authorised downloads only :( This isn't a MacOSX bug you should not be able to download new tiles from Linux as well. @slarosa can you please confirm? Note that Elevation caches downloaded tiles, so please test clipping in a location that you never tried before. |
I'm going to make an emergency release to change the default product to |
:-( just after a distclean Linux fails to get SRTM1 as well. |
Looks like someone had the brilliant idea to download all of SRTMGL1 from the "direct" server and arguably USGS got upset: https://twitter.com/cartocalypse/status/759855534379929600 Getting Elevation to work with USGS credentials might be possible, but quite some work :( |
Hi @alexamici, testing against master version, I again get the error. I see the *.tif file in Any hint? Thank you! |
Release 0.9.10 and master both download SRTM3 by default that is expected to work. If you force product='SRTM1' you'll have the same error as before. Anyway, HTTP errors leaves 0 byte files that stop Elevation from trying downloading the tile again, this is intended behaviour for non existing tiles, unfortunately also temporary HTTP errors trigger the same behaviour. Your best bet is to run |
@alexamici sorry for the noise it was my fault, the elevation package works fine with SRTM3 by default. Looking forward to hear good from you for SRTM1.... Thank you. |
Looks like SRTMGL1 is now on S3! https://aws.amazon.com/public-data-sets/terrain/ |
Integrated Amazon SRTM1 mirror and making the 30m the default again. |
Thank you @alexamici . |
Hi, I'm getting the following error, Windows 11, py 3.9 Traceback (most recent call last): File "C:\Users\FALAH FAKHRI\AppData\Local\Temp/ipykernel_21944/2656178845.py", line 1, in File "C:\Users\FALAH FAKHRI\AppData\Local\Programs\Python\Python39\lib\site-packages\elevation\datasource.py", line 216, in clip File "C:\Users\FALAH FAKHRI\AppData\Local\Programs\Python\Python39\lib\site-packages\elevation\datasource.py", line 188, in seed File "C:\Users\FALAH FAKHRI\AppData\Local\Programs\Python\Python39\lib\site-packages\elevation\datasource.py", line 148, in ensure_tiles File "C:\Users\FALAH FAKHRI\AppData\Local\Programs\Python\Python39\lib\site-packages\elevation\util.py", line 88, in check_call_make File "C:\Users\FALAH FAKHRI\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 373, in check_call CalledProcessError: Command 'make -C C:\Users\FALAH FAKHRI\AppData\Local\bopen\elevation\Cache\SRTM1 download ENSURE_TILES="N41/N41E012.tif"' returned non-zero exit status 1. |
Testing the python package on my OSX and I am getting the following error:
make: Nothing to be done for
download'.`and
Although the package works very well on Linux.
The text was updated successfully, but these errors were encountered: