Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LINC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
LINC
Commits
fbe20b0d
Commit
fbe20b0d
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Add ddecal
Former-commit-id:
1c942690
parent
fd7c8a62
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+5
-0
5 additions, 0 deletions
.gitlab-ci.yml
steps/ddecal.cwl
+87
-0
87 additions, 0 deletions
steps/ddecal.cwl
test_jobs/ddecal.json
+8
-0
8 additions, 0 deletions
test_jobs/ddecal.json
with
100 additions
and
0 deletions
.gitlab-ci.yml
+
5
−
0
View file @
fbe20b0d
...
@@ -88,6 +88,10 @@ blsmooth:
...
@@ -88,6 +88,10 @@ 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
ddecal
:
stage
:
test_steps
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/ddecal.cwl test_jobs/ddecal.json
prefactor_calibrator
:
prefactor_calibrator
:
stage
:
integration_test
stage
:
integration_test
...
@@ -98,3 +102,4 @@ flag_average:
...
@@ -98,3 +102,4 @@ flag_average:
stage
:
integration_test
stage
:
integration_test
script
:
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH test_workflow/flag_average.cwl --msin=/data/L570745_SB001_uv_first10.MS
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH test_workflow/flag_average.cwl --msin=/data/L570745_SB001_uv_first10.MS
This diff is collapsed.
Click to expand it.
steps/ddecal.cwl
0 → 100644
+
87
−
0
View file @
fbe20b0d
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.0
id: ddecal
baseCommand: [DPPP]
requirements:
InlineJavascriptRequirement: {}
hints:
DockerRequirement:
dockerPull: prefactor
arguments:
- steps=[solve]
- solve.type=ddecal
- solve.h5parm=h5parm
- solve.mode=rotation+diagonal
- solve.uvlambdamin=300
- solve.maxiter=50
- solve.nchan=1
- solve.solint=1
- solve.propagateconvergedonly=True
- solve.flagdivergedonly=True
- solve.tolerance=1.e-3
inputs:
- id: msin
type: Directory?
doc: Input Measurement Set
inputBinding:
prefix: msin=
separate: false
- id: msin_datacolumn
type: string
default: SMOOTHED_DATA
doc: Input data Column
inputBinding:
prefix: msin.datacolumn=
separate: false
- id: msout_name
type: string
doc: Output Measurement Set
default: out.MS
inputBinding:
prefix: msout=
separate: false
- id: usemodelcolumn
type: boolean
default: false
doc: |
Use model column. The model column name can be specified
with msin.modelcolumn (default MODEL_DATA)
inputBinding:
prefix: solve.usemodelcolumn=True
#--------------------
- id: flagunconverged
type: boolean
default: false
doc: |
Flag unconverged solutions (i.e., those from solves that did not converge
within maxiter iterations).
inputBinding:
prefix: flagdivergedonly=True
- id: flagdivergedonly
default: false
type: boolean
doc: |
Flag only the unconverged solutions for which divergence was detected.
At the moment, this option is effective only for rotation+diagonal
solves, where divergence is detected when the amplitudes of any station
are found to be more than a factor of 5 from the mean amplitude over all
stations.
If divergence for any one station is detected, all stations are flagged
for that solution interval. Only effective when flagunconverged=true
and mode=rotation+diagonal.
inputBinding:
prefix: flagdivergedonly=True
outputs:
- id: msout
doc: Output Measurement Set
type: Directory
outputBinding:
glob: $(inputs.msout_name=="."?inputs.msin:inputs.msout_name)
This diff is collapsed.
Click to expand it.
test_jobs/ddecal.json
0 → 100644
+
8
−
0
View file @
fbe20b0d
{
"msin"
:
{
"class"
:
"Directory"
,
"path"
:
"/data/L570745_SB001_uv_first10.MS"
},
"msin_datacolumn"
:
"DATA"
,
"usemodelcolumn"
:
true
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment