Skip to content
GitLab
Explore
Sign in
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
1f78159f
Commit
1f78159f
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Add gain cal step
Former-commit-id:
36277e33
parent
47458114
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
steps/gaincal.cwl
+114
-0
114 additions, 0 deletions
steps/gaincal.cwl
test_jobs/gaincal.json
+9
-0
9 additions, 0 deletions
test_jobs/gaincal.json
with
129 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
1f78159f
...
@@ -159,6 +159,12 @@ ddecal:
...
@@ -159,6 +159,12 @@ ddecal:
script
:
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/ddecal.cwl test_jobs/ddecal.json
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/ddecal.cwl test_jobs/ddecal.json
gaincal
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/gaincal.cwl test_jobs/gaincal.json
predict
:
predict
:
stage
:
test_steps
stage
:
test_steps
allow_failure
:
true
allow_failure
:
true
...
...
This diff is collapsed.
Click to expand it.
steps/gaincal.cwl
0 → 100644
+
114
−
0
View file @
1f78159f
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.0
id: gaincal
baseCommand: [DPPP]
requirements:
InlineJavascriptRequirement: {}
hints:
DockerRequirement:
dockerPull: lofareosc/lofar-pipeline-ci:latest
arguments:
- steps=[gaincal]
inputs:
- id: msin
type: Directory?
doc: Input Measurement Set
inputBinding:
prefix: msin=
separate: false
- id: caltype
doc: |
The type of calibration that needs to be performed.
type:
type: enum
symbols:
- diagonal
- fulljones
- phaseonly
- scalarphase
- amplitude
- scalaramplitude
- tec
- tecandphase
inputBinding:
prefix: gaincal.caltype=
separate: false
- id: sourcedb
type: File
inputBinding:
prefix: gaincal.sourcedb=
separate: false
- id: usebeammodel
type: boolean
default: true
inputBinding:
prefix: gaincal.usebeammodel=true
separate: false
- id: solint
type: int
default: 1
doc: |
Number of time slots on which a solution is assumed to be constant (same as CellSize.Time in BBS).
0 means all time slots. Note that for larger settings of solint, and specially for solint = 0,
the memory usage of gaincal will be large (all visibilities for a solint should fit in memory).
- id: msin_datacolumn
type: string?
default: DATA
doc: Input data Column
inputBinding:
prefix: msin.datacolumn=
separate: false
- id: onebeamperpatch
type: boolean
doc: Input data Column
default: true
inputBinding:
prefix: gaincal.onebeamperpatch=True
separate: false
- id: msin_modelcolum
type: string
default: MODEL_DATA
doc: Model data Column
inputBinding:
prefix: msin.modelcolumn=
separate: false
- id: output_name_h5parm
type: string
default: instrument.h5
inputBinding:
prefix: gaincal.parmdb=
separate: false
- id: msout_name
type: string
doc: Output Measurement Set
default: out.MS
inputBinding:
prefix: msout=
separate: false
outputs:
- id: msout
doc: Output Measurement Set
type: Directory
outputBinding:
glob: $(inputs.msout_name=="."?inputs.msin:inputs.msout_name)
- id: h5parm
doc: Filename of output H5Parm (to be read by e.g. losoto)
type: File
format: lofar:#H5Parm
outputBinding:
glob: $(inputs.output_name_h5parm)
$namespaces:
lofar: https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl
$schema:
- https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl
This diff is collapsed.
Click to expand it.
test_jobs/gaincal.json
0 → 100644
+
9
−
0
View file @
1f78159f
{
"msin"
:
{
"class"
:
"Directory"
,
"path"
:
"/data/L570745_SB001_uv_MODEL.MS"
},
"sourcedb"
:
{
"class"
:
"File"
,
"path"
:
"/data/A-Team_lowres.sourcedb"
},
"sourcename"
:
"TauA"
,
"caltype"
:
"diagonal"
}
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