Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
RadioObservatory
LOFAR
Commits
416b3374
Commit
416b3374
authored
4 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
TMSS-183
: MAC is very sensitive for key prefixes. Try them all.
parent
f9a76a88
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SAS/TMSS/src/tmss/tmssapp/adapters/parset.py
+26
-24
26 additions, 24 deletions
SAS/TMSS/src/tmss/tmssapp/adapters/parset.py
with
26 additions
and
24 deletions
SAS/TMSS/src/tmss/tmssapp/adapters/parset.py
+
26
−
24
View file @
416b3374
...
...
@@ -73,14 +73,15 @@ def _convert_to_parset_for_observationcontrol_schema(subtask: models.Subtask) ->
parset
[
beam_prefix
+
"
angle1
"
]
=
analog_beam
[
'
angle1
'
]
parset
[
beam_prefix
+
"
angle2
"
]
=
analog_beam
[
'
angle2
'
]
parset
[
"
Observation.ObservationControl.OnlineControl.Cobalt.realTime
"
]
=
True
parset
[
"
Observation.ObservationControl.OnlineControl.Cobalt.blockSize
"
]
=
spec
[
'
COBALT
'
][
'
blocksize
'
]
parset
[
"
Observation.ObservationControl.OnlineControl.Cobalt.correctBandPass
"
]
=
spec
[
'
COBALT
'
][
'
bandpass_correction
'
]
parset
[
"
Observation.ObservationControl.OnlineControl.Cobalt.delayCompensation
"
]
=
spec
[
'
COBALT
'
][
'
delay_compensation
'
]
for
prefix
in
[
""
,
"
Observation.ObservationControl.OnlineControl.
"
]:
parset
[
prefix
+
"
Cobalt.realTime
"
]
=
True
parset
[
prefix
+
"
Cobalt.blockSize
"
]
=
spec
[
'
COBALT
'
][
'
blocksize
'
]
parset
[
prefix
+
"
Cobalt.correctBandPass
"
]
=
spec
[
'
COBALT
'
][
'
bandpass_correction
'
]
parset
[
prefix
+
"
Cobalt.delayCompensation
"
]
=
spec
[
'
COBALT
'
][
'
delay_compensation
'
]
parset
[
"
Observation.ObservationControl.OnlineControl.
Cobalt.Correlator.nrChannelsPerSubband
"
]
=
spec
[
'
COBALT
'
][
'
correlator
'
][
'
channels_per_subband
'
]
parset
[
"
Observation.ObservationControl.OnlineControl.
Cobalt.Correlator.nrBlocksPerIntegration
"
]
=
spec
[
'
COBALT
'
][
'
correlator
'
][
'
blocks_per_integration
'
]
parset
[
"
Observation.ObservationControl.OnlineControl.
Cobalt.Correlator.nrIntegrationsPerBlock
"
]
=
spec
[
'
COBALT
'
][
'
correlator
'
][
'
integrations_per_block
'
]
parset
[
prefix
+
"
Cobalt.Correlator.nrChannelsPerSubband
"
]
=
spec
[
'
COBALT
'
][
'
correlator
'
][
'
channels_per_subband
'
]
parset
[
prefix
+
"
Cobalt.Correlator.nrBlocksPerIntegration
"
]
=
spec
[
'
COBALT
'
][
'
correlator
'
][
'
blocks_per_integration
'
]
parset
[
prefix
+
"
Cobalt.Correlator.nrIntegrationsPerBlock
"
]
=
spec
[
'
COBALT
'
][
'
correlator
'
][
'
integrations_per_block
'
]
parset
[
"
Observation.Cluster.ProcessingCluster.clusterName
"
]
=
subtask
.
cluster
.
name
...
...
@@ -100,23 +101,24 @@ def _convert_to_parset_for_observationcontrol_schema(subtask: models.Subtask) ->
parset
[
"
prefix
"
]
=
"
LOFAR.
"
parset
[
"
Observation.claimPeriod
"
]
=
35
parset
[
"
Observation.preparePeriod
"
]
=
20
parset
[
"
ObservationControl.OnlineControl.CorrAppl.CorrProc._executable
"
]
=
"
CN_Processing
"
parset
[
"
ObservationControl.OnlineControl.CorrAppl.CorrProc._hostname
"
]
=
"
cbmmaster
"
parset
[
"
ObservationControl.OnlineControl.CorrAppl.CorrProc._nodes
"
]
=
[]
parset
[
"
ObservationControl.OnlineControl.CorrAppl.CorrProc._startstopType
"
]
=
"
bgl
"
parset
[
"
ObservationControl.OnlineControl.CorrAppl.CorrProc.workingdir
"
]
=
"
/opt/lofar/bin/
"
parset
[
"
ObservationControl.OnlineControl.CorrAppl._hostname
"
]
=
"
cbmmaster
"
parset
[
"
ObservationControl.OnlineControl.CorrAppl.extraInfo
"
]
=
'
[
"
PIC
"
,
"
Cobalt
"
]
'
parset
[
"
ObservationControl.OnlineControl.CorrAppl.procesOrder
"
]
=
[]
parset
[
"
ObservationControl.OnlineControl.CorrAppl.processes
"
]
=
'
[
"
CorrProc
"
]
'
parset
[
"
ObservationControl.OnlineControl._hostname
"
]
=
'
CCU001
'
parset
[
"
ObservationControl.OnlineControl.applOrder
"
]
=
'
[
"
CorrAppl
"
]
'
parset
[
"
ObservationControl.OnlineControl.applications
"
]
=
'
[
"
CorrAppl
"
]
'
parset
[
"
ObservationControl.OnlineControl.inspectionHost
"
]
=
'
head01.cep4.control.lofar
'
parset
[
"
ObservationControl.OnlineControl.inspectionProgram
"
]
=
'
inspection-plots-observation.sh
'
parset
[
"
ObservationControl.StationControl._hostname
"
]
=
parset
[
"
Observation.VirtualInstrument.stationList
"
]
parset
[
"
ObservationControl.StationControl.aartfaacPiggybackAllowed
"
]
=
False
parset
[
"
ObservationControl.StationControl.tbbPiggybackAllowed
"
]
=
False
for
prefix
in
[
""
,
"
Observation.
"
]:
parset
[
prefix
+
"
ObservationControl.OnlineControl.CorrAppl.CorrProc._executable
"
]
=
"
CN_Processing
"
parset
[
prefix
+
"
ObservationControl.OnlineControl.CorrAppl.CorrProc._hostname
"
]
=
"
cbmmaster
"
parset
[
prefix
+
"
ObservationControl.OnlineControl.CorrAppl.CorrProc._nodes
"
]
=
[]
parset
[
prefix
+
"
ObservationControl.OnlineControl.CorrAppl.CorrProc._startstopType
"
]
=
"
bgl
"
parset
[
prefix
+
"
ObservationControl.OnlineControl.CorrAppl.CorrProc.workingdir
"
]
=
"
/opt/lofar/bin/
"
parset
[
prefix
+
"
ObservationControl.OnlineControl.CorrAppl._hostname
"
]
=
"
cbmmaster
"
parset
[
prefix
+
"
ObservationControl.OnlineControl.CorrAppl.extraInfo
"
]
=
'
[
"
PIC
"
,
"
Cobalt
"
]
'
parset
[
prefix
+
"
ObservationControl.OnlineControl.CorrAppl.procesOrder
"
]
=
[]
parset
[
prefix
+
"
ObservationControl.OnlineControl.CorrAppl.processes
"
]
=
'
[
"
CorrProc
"
]
'
parset
[
prefix
+
"
ObservationControl.OnlineControl._hostname
"
]
=
'
CCU001
'
parset
[
prefix
+
"
ObservationControl.OnlineControl.applOrder
"
]
=
'
[
"
CorrAppl
"
]
'
parset
[
prefix
+
"
ObservationControl.OnlineControl.applications
"
]
=
'
[
"
CorrAppl
"
]
'
parset
[
prefix
+
"
ObservationControl.OnlineControl.inspectionHost
"
]
=
'
head01.cep4.control.lofar
'
parset
[
prefix
+
"
ObservationControl.OnlineControl.inspectionProgram
"
]
=
'
inspection-plots-observation.sh
'
parset
[
prefix
+
"
ObservationControl.StationControl._hostname
"
]
=
parset
[
"
Observation.VirtualInstrument.stationList
"
]
parset
[
prefix
+
"
ObservationControl.StationControl.aartfaacPiggybackAllowed
"
]
=
False
parset
[
prefix
+
"
ObservationControl.StationControl.tbbPiggybackAllowed
"
]
=
False
# convert dict to real parameterset, and return it
...
...
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