Open neteler opened 2 years ago
The https://github.com/mundialis/actinia-jupyter/blob/main/notebooks/actinia_introduction.ipynb notebook fails in section
Landsat and Sentinel-2 NDVI computation --> Landsat-4 scene
Landsat and Sentinel-2 NDVI computation
with
actinia POST request: https://actinia.mundialis.de/api/v3/landsat_process/LC80440342016259LGN00/TOAR/NDVI --- Waiting for the process to finish... ERROR: actinia processing failed with status code 400! See errors below: { "accept_datetime": "2022-06-17 13:50:25.262703", "accept_timestamp": 1655473825.2627003, "api_info": { "endpoint": "asyncephemerallandsatprocessingresource", "method": "POST", "path": "/api/v3/landsat_process/LC80440342016259LGN00/TOAR/NDVI", "request_url": "http://actinia.mundialis.de/api/v3/landsat_process/LC80440342016259LGN00/TOAR/NDVI" }, "datetime": "2022-06-17 13:50:26.078876", "exception": { "message": "'LC80440342016259LGN00'", "traceback": [ " File \"/usr/lib/python3.8/site-packages/actinia_core/rest/ephemeral_processing.py\", line 1767, in run\n self._execute()\n", " File \"/usr/lib/python3.8/site-packages/actinia_satellite_plugin/ephemeral_landsat_ndvi_processor.py\", line 1003, in _execute\n download_pl, file_infos = process_lib.get_download_process_list()\n", " File \"/usr/lib/python3.8/site-packages/actinia_core/core/geodata_download_importer.py\", line 156, in get_download_process_list\n self._setup()\n", " File \"/usr/lib/python3.8/site-packages/actinia_core/core/common/landsat_processing_library.py\", line 189, in _setup\n for suffix in SCENE_SUFFIXES[self.landsat_sensor_id]:\n" ], "type": "<class 'KeyError'>" }, "http_code": 400, "message": "'LC80440342016259LGN00'", "process_chain_list": [], "process_log": [], "progress": { "num_of_steps": 0, "step": 0 }, "resource_id": "resource_id-5689a0ea-08bb-493c-920f-15d1c8e6f001", "status": "error", "time_delta": 0.8162064552307129, "timestamp": 1655473826.0788465, "urls": { "resources": [], "status": "https://actinia.mundialis.de/api/v3/resources/demouser/resource_id-5689a0ea-08bb-493c-920f-15d1c8e6f001" }, "user_id": "demouser" } --------------------------------------------------------------------------- Exception Traceback (most recent call last) <ipython-input-28-70a3790a472c> in <module> 25 26 # check if anything went wrong ---> 27 verify_request(request, 200) 28 29 print("NDVI of the top of atmospheric corrected (TOAR) Landsat-4 scene LC80440342016259LGN00:") <ipython-input-21-8d559294337a> in verify_request(request, success_code) 12 request_url = request.json()["urls"]["status"] 13 requests.delete(url=request_url, auth=actinia_auth) ---> 14 raise Exception("The resource <%s> has been terminated." % request_url) Exception: The resource <https://actinia.mundialis.de/api/v3/resources/demouser/resource_id-5689a0ea-08bb-493c-920f-15d1c8e6f001> has been terminated.
The error message is not clear to me.
Affects also notebooks/actinia_landsat_ndvi.ipynb
notebooks/actinia_landsat_ndvi.ipynb
The https://github.com/mundialis/actinia-jupyter/blob/main/notebooks/actinia_introduction.ipynb notebook fails in section
Landsat and Sentinel-2 NDVI computation
--> Landsat-4 scenewith
The error message is not clear to me.