The tests/end2end_test.py failed and the error is not coming from s2p but from the srtm4 package. In s2p, it downloads SRTM data from https://srtm.csi.cgiar.org/, but the SSL certificated has been expired (check https://github.com/centreborelli/srtm4/issues/16). Thus the failing test occurs.
The error:
E requests.exceptions.SSLError: HTTPSConnectionPool(host='srtm.csi.cgiar.org', port=443): Max retries exceeded with url: /wp-content/uploads/files/srtm_5x5/TIFF/srtm_48_17.zip (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1131)')))
The error is not from either s2p or srtm4 package but from the website.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[] Existing unit tests pass locally with my changes
Description
This PR is about solving this issue, ie, updating
pyproj>3.0.0
.Type of change
The changes of this PR are:
pyproj>3.0.0
insetup.py
.setup.py
following PEP-8 guide.How Has This Been Tested?
This project has been tested with the command,
pytest tests/
, and only 1 test fails.The
tests/end2end_test.py
failed and the error is not coming from s2p but from thesrtm4
package. Ins2p
, it downloads SRTM data from https://srtm.csi.cgiar.org/, but the SSL certificated has been expired (check https://github.com/centreborelli/srtm4/issues/16). Thus the failing test occurs.The error:
The error is not from either s2p or srtm4 package but from the website.
Checklist: