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

Downloading NASADEM_HGT v001 bug #152

Open
rcammi opened this issue Dec 2, 2022 · 1 comment
Open

Downloading NASADEM_HGT v001 bug #152

rcammi opened this issue Dec 2, 2022 · 1 comment

Comments

@rcammi
Copy link

rcammi commented Dec 2, 2022

Hi! Trying to download NASADEM_HGT v001 product. I don't understand why it doesn't find files to download. Tried setting a fix tile (["n00e021"]) or tile=None. Also, tried setting today parameter fixed to the date of the product (2000.02.11). It worked fine with other modis products.

modis_obj = pymodis.downmodis.downModis( 
        outFolder,
        url="https://e4ftl01.cr.usgs.gov/",
        token=token,
        tiles=None,
        path="MEASURES",
        product="NASADEM_HGT.001",
        debug=True,
    )  # for parameters info check http://www.pymodis.org/pymodis/downmodis.html#pymodis.downmodis.downModis
 
modis_obj.connect()
modis_obj.downloadsAllDay()  # allDays=True

LOG

022-12-02 18:16:06,445 - DEBUG - The number of days to download is: 1
2022-12-02 18:16:06,445 - DEBUG - The url is: https://e4ftl01.cr.usgs.gov/MEASURES/NASADEM_HGT.001/2000.02.11
2022-12-02 18:16:06,446 - DEBUG - Starting new HTTPS connection (1): e4ftl01.cr.usgs.gov:443
2022-12-02 18:16:08,685 - DEBUG - https://e4ftl01.cr.usgs.gov:443 "GET /MEASURES/NASADEM_HGT.001/2000.02.11 HTTP/1.1" 301 272
2022-12-02 18:16:08,686 - DEBUG - Resetting dropped connection: e4ftl01.cr.usgs.gov
2022-12-02 18:16:20,368 - DEBUG - https://e4ftl01.cr.usgs.gov:443 "GET /MEASURES/NASADEM_HGT.001/2000.02.11/ HTTP/1.1" 200 None
2022-12-02 18:17:46,602 - DEBUG - The number of file to download is: 0
2022-12-02 18:17:46,602 - DEBUG - Download terminated
2022-12-02 18:17:46,604 - DEBUG - Starting new HTTPS connection (1): urs.earthdata.nasa.gov:443
2022-12-02 18:17:47,824 - DEBUG - https://urs.earthdata.nasa.gov:443 "POST /api/users/revoke_token?token=eyJ0..." 200 None

I'm using sing pymodis 2.4.0 version with python 3.10.7.

@Rapsodia86
Copy link

Rapsodia86 commented Dec 2, 2022

Isn't it because NASADEM are archived *.zip files?

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

2 participants