Skip to content

Downloading NASADEM_HGT v001 bug #152

@rcammi

Description

@rcammi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions