Giter VIP home page Giter VIP logo

Comments (3)

hiewliwen avatar hiewliwen commented on May 20, 2024 2

I faced the same issue. The workaround is a combination of #45 and de530c1

In summary, at earthexplorer.py:

DATA_PRODUCTS_II = {
    "landsat_tm_c1": "5e83d08fd9932768",
    "landsat_etm_c1": "5e83a507d6aaa3db",
    "landsat_8_c1": "5e83d0b84df8d8c2",
    "landsat_tm_c2_l1": "5e83d0a0f94d7d8d",
    "landsat_etm_c2_l1": "5e83d0d08fec8a66",
    "landsat_ot_c2_l1": "5e81f14f92acf9ef",
    "landsat_tm_c2_l2": "5e83d11933473426",
    "landsat_etm_c2_l2": "5e83d12aed0efa58",
    "landsat_ot_c2_l2": "5e83d14fec7cae84",
    "sentinel_2a": "5e83a42c6eba8084",
}

and

    try:
        url = EE_DOWNLOAD_URL.format(
            data_product_id=DATA_PRODUCTS[dataset], entity_id=entity_id
            )
        filename = self._download(url, output_dir, timeout=timeout, skip=skip)
    except:
        url = EE_DOWNLOAD_URL.format(
            data_product_id=DATA_PRODUCTS_II[dataset], entity_id=entity_id
            )
        filename = self._download(url, output_dir, timeout=timeout, skip=skip)

from landsatxplore.

yannforget avatar yannforget commented on May 20, 2024

Hello and thanks for the bug report,

Did you try to launch the command again with the same entity ID a few minutes/hours later ? I noticed that some products are made available once requested.

I am gonna check if we have some info about download availability in the metadata returned by the API

from landsatxplore.

22epl2 avatar 22epl2 commented on May 20, 2024

Hi, thanks for the response. I can't say if I requested that specific product with the CLI multiple times within a few hours, but I can confirm that I requested a number of products over the API repeatedly within a few hours and also over a couple days.

from landsatxplore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.