We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am a researcher who's using Sentinel. I am trying to repurpose https://github.com/planetlabs/notebooks/blob/master/jupyter-notebooks/orders/tools_and_toolchains.ipynb for sentinel data. I am trying to retrieve teh NDSI value using bands 3 and 11 from Sentinel's analytic bundle
{ "name": "band math", "products": [{ "item_ids": ["S2B_MSIL1C_20200614T205029_N0209_R057_T09WWV_20200614T225007"], "item_type": "Sentinel2L1C", "product_bundle": "analytic" }], "tools": [{ "bandmath": { "b1": "b3", "b2": "b11", "b3": "(b3 - b11) / (b3 + b11)" } }] }
This is the request I send the bandmath API and it fails, with this response:
<Response [202]> 3c2e604b-6c13-4a6c-958e-0c3f00194fb8 queued running running running running running running running running running running running running running failed --------------------------------------------------------------------------- Exception Traceback (most recent call last) <ipython-input-104-39ad275fa5ba> in <module>() 1 if run_bandmath: 2 bandmath_order_url = place_order(bandmath_request, auth) ----> 3 poll_for_success(bandmath_order_url, auth) 4 downloaded_bandmath_files = download_order(bandmath_order_url, auth) 5 # bandmath_img_file = next(downloaded_bandmath_files[d] for d in downloaded_bandmath_files <ipython-input-98-6cbe379ad2ad> in poll_for_success(order_url, auth, num_loops) 22 success_states = ['success', 'partial'] 23 if state == 'failed': ---> 24 raise Exception(response) 25 elif state in success_states: 26 break Exception: {'_links': {'_self': 'https://api.planet.com/compute/ops/orders/v2/3c2e604b-6c13-4a6c-958e-0c3f00194fb8'}, 'created_on': '2020-09-07T05:19:32.520Z', 'error_hints': ['An error occured during operation execution. (code: FAILURE_CODE_INVALID_INPUT Bandmath_v1)'], 'id': '3c2e604b-6c13-4a6c-958e-0c3f00194fb8', 'last_message': 'All assets have failed processing', 'last_modified': '2020-09-07T05:21:55.385Z', 'name': 'band math', 'products': [{'item_ids': ['S2B_MSIL1C_20200614T205029_N0209_R057_T09WWV_20200614T225007'], 'item_type': 'Sentinel2L1C', 'product_bundle': 'analytic'}], 'state': 'failed', 'tools': [{'bandmath': {'b1': 'b3', 'b2': 'b11', 'b3': '(b3 - b11) / (b3 + b11)'}}]}
I am not sure how to debug this. Can someone help?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I am a researcher who's using Sentinel. I am trying to repurpose https://github.com/planetlabs/notebooks/blob/master/jupyter-notebooks/orders/tools_and_toolchains.ipynb for sentinel data. I am trying to retrieve teh NDSI value using bands 3 and 11 from Sentinel's analytic bundle
This is the request I send the bandmath API and it fails, with this response:
I am not sure how to debug this. Can someone help?
The text was updated successfully, but these errors were encountered: