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

Product L2A (S2MSI2Ap) is no longer available #35

Closed
mquinteiro opened this issue May 23, 2018 · 0 comments
Closed

Product L2A (S2MSI2Ap) is no longer available #35

mquinteiro opened this issue May 23, 2018 · 0 comments

Comments

@mquinteiro
Copy link

mquinteiro commented May 23, 2018

Hi Looks like S2MSI2Ap is no longer available and stops in may.

To avoid the problem you have to specify the product S2MSI2A without p that means preview.

replacing the code

if producttype !=None:    
    query_producttype=" producttype:%s "%producttype
    query=query+query_producttype
    

by:

if producttype !=None: 
    if producttype=="S2MSI2Ap":
        query_producttype = " (producttype:%s OR producttype:S2MSI2A)" % producttype
    else:
        query_producttype=" producttype:%s "%producttype
    query=query+query_producttype

should be enough.

@mquinteiro mquinteiro changed the title Proudct S2MSI2Ap is no longer available Proudct L2A (S2MSI2Ap) is no longer available May 23, 2018
@mquinteiro mquinteiro changed the title Proudct L2A (S2MSI2Ap) is no longer available Product L2A (S2MSI2Ap) is no longer available May 25, 2018
@mquinteiro mquinteiro closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2024
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

1 participant