Skip to content
Snippets Groups Projects
Commit dd1a1b2f authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #9054: Fixes for CEP4 online procesing (reintegrated task branch)

parents 65ee71f6 29ae2d82
Branches
No related tags found
No related merge requests found
......@@ -36,8 +36,17 @@ function setkey {
echo "$KEY = $VAL" >> "$PARSET"
}
COBALT_DATAPRODUCTS="Correlated CoherentStokes IncoherentStokes"
function read_cluster_model {
CLUSTER_NAME=$(getkey Observation.Cluster.ProcessingCluster.clusterName "")
# HACK: Search for first cluster, and assume they're all the same. We support only output
# to a single cluster for now.
for DP in ${COBALT_DATAPRODUCTS}; do
CLUSTER_NAME=$(getkey Observation.DataProducts.Output_${DP}.storageClusterName "")
if [ -n "${CLUSTER_NAME}" ]; then
break
fi
done
# Hack to derive required properties (cluster model) from cluster name.
case "${CLUSTER_NAME}" in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment