From 6a6ab716e3e0510c42441b07655a94cfc8ca70da Mon Sep 17 00:00:00 2001 From: Doug Boulware Date: Fri, 12 Apr 2024 11:27:09 -0600 Subject: [PATCH] correct index in accessing data products. --- scos_actions/actions/acquire_sea_data_product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scos_actions/actions/acquire_sea_data_product.py b/scos_actions/actions/acquire_sea_data_product.py index 013842f5..abcabe97 100644 --- a/scos_actions/actions/acquire_sea_data_product.py +++ b/scos_actions/actions/acquire_sea_data_product.py @@ -586,7 +586,7 @@ def __call__(self, sensor: Sensor, schedule_entry: dict, task_id: int): logger.debug(f"Working on channel {index}") channel_data = [] # Now block until the data is ready - dp_refs_tuple = ray.get(data_products_refs[i]) + dp_refs_tuple = ray.get(data_products_refs[index]) psd_ref, pvt_ref, pfp_ref, apd_ref = dp_refs_tuple logger.debug("Getting PSD data.") psd_data = ray.get(psd_ref)