Coder Social home page Coder Social logo

ernstste / landsatlinks Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 1.0 4.65 MB

A simple CLI interface to generate urls for Landsat Collection 2 Level 1 product bundles and download them

License: MIT License

Python 99.66% Dockerfile 0.34%
landsat remote-sensing earth-observation python usgs-api download m2m

landsatlinks's People

Contributors

davidfrantz avatar ernstste avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

davidfrantz

landsatlinks's Issues

-s option is used twice

There is a minor misalignment in the short options:

The README says that -s is used for both the sensor and secret.

Cheers,
David

versioning

Hi Stefan,

I see quite some activity in the FORCE git with respect to patching landsatlinks. Thanks for being so rapid and active there.

I wonder whether it would help you to prevent people from running outdated versions, to implement some sort of versioning?

As of now, we seem to run v1.0.0, although there has been some bugfixes:

frantz@ahsoka:~$ dforce force-level1-landsat -v
landsatlinks version 1.0.0 https://github.com/ernstste/landsatlinks

I totally understand if tagging and creating releases is too much overhead, but wouldn't some sort of workflow to bump the version whenever you push to main be a sensible solution?

Cheers,
David

New(?) request quota

Hi @ernstste,

we are currently facing the issue of generating links from the M2M interface successfully.

The issue occurs for new study areas and the tool exits with a display of:

Error Code: RATE_LIMIT_USER_DL

M2M documentation:

To protect against a single user overloading the system, we limit an user/IP address can request 15,000 maximum downloads within a 15 minutes period and have 20,000 maximum pending processing requests. The limitation wouldn't apply to Bulk Download or Bulk Media orders.

My suspicion is that querying the results counts as one request, and then the link generation as one request each. Thus, if we have many images, we quickly max out the quota. Do you see any way to work around this issue, e.g. by including wait times once this error is received?

Cheers,
David

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.