Skip to content
GitLab
Explore
Sign in
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
6fa266d7
Commit
6fa266d7
authored
7 years ago
by
Ruud Overeem
Browse files
Options
Downloads
Patches
Plain Diff
TAsk #11473: Exit with error when no rotation value found for station
parent
7c2a9f41
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MAC/Deployment/data/Coordinates/calc_hba_deltas.py
+2
-1
2 additions, 1 deletion
MAC/Deployment/data/Coordinates/calc_hba_deltas.py
with
2 additions
and
1 deletion
MAC/Deployment/data/Coordinates/calc_hba_deltas.py
+
2
−
1
View file @
6fa266d7
...
@@ -26,7 +26,8 @@ def getRotation(station, anttype):
...
@@ -26,7 +26,8 @@ def getRotation(station, anttype):
if
record
!=
None
:
if
record
!=
None
:
rotation
=
float
(
record
[
2
])
rotation
=
float
(
record
[
2
])
return
(
rotation
)
return
(
rotation
)
return
(
0.0
)
print
"
Could not find field rotation for station
"
,
station
,
anttype
exit
(
1
)
##
##
def
getRotationMatrix
(
station
,
anttype
):
def
getRotationMatrix
(
station
,
anttype
):
...
...
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