Product L2A (S2MSI2Ap) is no longer available
mquinteiro opened this issue · comments
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.