Skip to content
Snippets Groups Projects
Commit 21382ef0 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Merge branch 'add_polalign' into 'master'

Add pol_align subworkflow

See merge request eosc/prefactor3-cwl!17

Former-commit-id: 2f9e1130
Former-commit-id: 3d69eb41
parents 52b2154e a018d273
No related branches found
No related tags found
No related merge requests found
test_data/*.MS test_data/*.MS
Docker/scripts Docker/scripts
Docker/prefactor
*.sif *.sif
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/
......
image: lofareosc/prefactor-ci:master image: lofareosc/prefactor-ci:latest
variables: variables:
TEST_DATASET_NAME: "L570745_uv_first10.MS.tar.xz" TEST_DATASET_NAME: "L570745_uv_first10.MS.tar.xz"
...@@ -56,6 +56,11 @@ blsmooth: ...@@ -56,6 +56,11 @@ blsmooth:
script: script:
- cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/blsmooth.cwl test_jobs/blsmooth.json - cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/blsmooth.cwl test_jobs/blsmooth.json
pol_align:
stage: integration_test
script:
- cwltool --no-container subworkflow/pol_align.cwl test_jobs/pol_align.json
prefactor_calibrator: prefactor_calibrator:
stage: integration_test stage: integration_test
script: script:
......
FROM lofareosc/lofar-pipeline:latest FROM lofareosc/lofar-pipeline:latest
USER root
COPY prefactor/scripts/* /opt/lofar/scripts/ COPY prefactor/scripts/* /opt/lofar/scripts/
COPY prefactor/skymodels/* /data/skymodels/ COPY prefactor/skymodels/* /data/skymodels/
COPY prefactor/rfistrategies/* /data/rfistrategies/ COPY prefactor/rfistrategies/* /data/rfistrategies/
COPY prefactor/solutions/ /data/solutions/* COPY prefactor/solutions/ /data/solutions/*
RUN apt update && apt install vim
RUN ln -sf /opt/lofar/scripts/* /usr/local/bin/ RUN ln -sf /opt/lofar/scripts/* /usr/local/bin/
RUN chmod +rx /usr/local/bin/* RUN chmod +rx /usr/local/bin/*
......
class: Workflow
cwlVersion: v1.0
id: pol_align
label: PolAlign
$namespaces:
sbg: 'https://www.sevenbridges.com/'
lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
inputs:
- id: refAnt
type: string?
'sbg:x': -451.3746643066406
'sbg:y': -493.92510986328125
- id: input_h5parm
type: File
'sbg:x': -743.1871948242188
'sbg:y': -316.5615234375
outputs:
- id: output_h5parm
outputSource:
- losoto_residual/output_h5parm
type: File
'sbg:x': 152.59103393554688
'sbg:y': -289.2899169921875
steps:
- id: losoto_duplicate
in:
- id: input_h5parm
source: input_h5parm
- id: soltab
default: sol000/phase000
- id: soltabOut
default: phaseOrig
out:
- id: output_h5parm
run: ../lofar-cwl/steps/LoSoTo.Duplicate.cwl
'sbg:x': -423.6229248046875
'sbg:y': -287.8958435058594
- id: losoto_polalign
in:
- id: input_h5parm
source: losoto_duplicate/output_h5parm
- id: soltab
default: sol000/phase000
- id: soltabout
default: polalign
- id: average
default: true
- id: replace
default: true
- id: refAnt
source: refAnt
out:
- id: output_h5parm
run: ../lofar-cwl/steps/LoSoTo.Polalign.cwl
'sbg:x': -203.663818359375
'sbg:y': -292.61700439453125
- id: losoto_residual
in:
- id: input_h5parm
source: losoto_polalign/output_h5parm
- id: soltab
default: sol000/phase000
- id: soltabsToSub
default:
- polalign
out:
- id: output_h5parm
run: ../lofar-cwl/steps/LoSoTo.Residual.cwl
'sbg:x': -0.012040258385241032
'sbg:y': -287.7294006347656
requirements: []
{
"input_h5parm": {
"class": "File",
"format": "lofar:#H5Parm",
"path": "/data/example.h5"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment