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
23ac5a1a
Commit
23ac5a1a
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Add LoSoTo Faraday
Former-commit-id:
805d7667
[formerly
a488792f
] Former-commit-id:
d5609198
Former-commit-id:
a8f45fb5
parent
10eb0eb4
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
+8
-2
8 additions, 2 deletions
.gitlab-ci.yml
steps/LoSoTo.Faraday.cwl
+61
-0
61 additions, 0 deletions
steps/LoSoTo.Faraday.cwl
test_jobs/losoto_faraday.json
+5
-0
5 additions, 0 deletions
test_jobs/losoto_faraday.json
with
74 additions
and
2 deletions
.gitlab-ci.yml
+
8
−
2
View file @
23ac5a1a
...
...
@@ -111,6 +111,12 @@ losoto_clip:
script
:
-
cwl-runner --no-container steps/LoSoTo.Clip.cwl test_jobs/losoto_clip.json
losoto_faraday
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwl-runner --no-container steps/LoSoTo.Faraday.cwl test_jobs/losoto_faraday.json
losoto_residual
:
stage
:
test_steps
allow_failure
:
true
...
...
@@ -122,7 +128,7 @@ losoto_polalign:
allow_failure
:
true
script
:
-
cwl-runner --no-container steps/LoSoTo.Polalign.cwl test_jobs/losoto_polalign.json
parset_selector
:
stage
:
test_steps
...
...
@@ -135,7 +141,7 @@ file_selector:
allow_failure
:
true
script
:
-
cwl-runner steps/FileSelector.cwl test_jobs/file_selector.json
NDPPP
:
stage
:
test_steps
...
...
This diff is collapsed.
Click to expand it.
steps/LoSoTo.Faraday.cwl
0 → 100644
+
61
−
0
View file @
23ac5a1a
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.0
id: losoto_faraday
$namespaces:
lofar: https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl
doc: |
Faraday rotation extraction from either a rotation table or a
circular phase (of which the operation get the polarisation difference).
requirements:
InlineJavascriptRequirement:
expressionLib:
- { $include: utils.js}
InitialWorkDirRequirement:
listing:
- entryname: 'parset.config'
entry: $(get_losoto_config('FARADAY').join('\n'))
- entryname: $(inputs.input_h5parm.basename)
entry: $(inputs.input_h5parm)
writable: true
baseCommand: "losoto"
arguments:
- $(inputs.input_h5parm.basename)
- parset.config
hints:
DockerRequirement:
dockerPull: lofareosc/lofar-pipeline-ci:latest
inputs:
- id: input_h5parm
type: File
format: lofar:#H5Parm
- id: soltab
type: string
doc: "Solution table"
- id: refAnt
type: string?
doc: Reference antenna, by default the first.
- id: maxResidual
type: float?
doc: |
Max average residual in radians before flagging datapoint,
by default 1. If 0: no check.
outputs:
- id: output_h5parm
type: File
format: lofar:#H5Parm
outputBinding:
glob: $(inputs.input_h5parm.basename)
$schema:
- https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl
This diff is collapsed.
Click to expand it.
test_jobs/losoto_faraday.json
0 → 100644
+
5
−
0
View file @
23ac5a1a
{
"input_h5parm"
:
{
"class"
:
"File"
,
"path"
:
"/data/example.h5"
,
"format"
:
"lofar:#H5Parm"
},
"soltab"
:
"sol000/phase000"
,
"ncpu"
:
1
}
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