Hello,
Currently I am developing an API for crop classification, and I use S2L1CWCSInput for fetching sentinel data. It was working fine until last month. Now, when I try to create a S2L1CWCSInput object, I am getting the following error:
During execution of task S2L1CWCSInput: index -1 is out of bounds for axis 0 with size 0
This happens during this method:
def build_input(name):
if name in PRODUCTS:
try:
return S2L1CWCSInput(
PRODUCTS[name],
instance_id=INSTANCE_ID,
resx=“10m”,
resy=“10m”,
maxcc=0.5
)
except Exception as e:
logging.exception(f"{name} exception: {e}”)
I would be really thankful if you explain the reasoning and if possible help me to devise a solution.
Best regards