Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
BAORadio
AnaPAON4
Commits
6b1b2235
Commit
6b1b2235
authored
Feb 22, 2019
by
Jean-Eric Campagne
Browse files
add UTC field
parent
7c9bfe94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
TrackingSrc/altaz/altaz.py
TrackingSrc/altaz/altaz.py
+2
-1
No files found.
TrackingSrc/altaz/altaz.py
View file @
6b1b2235
...
...
@@ -136,11 +136,12 @@ def write_survey(local_lat,
file
.
write
(
"#### Track for {}
\n
"
.
format
(
source
))
file
.
write
(
"#### Observer lat:{} long:{}
\n
"
.
format
(
local_lat
,
local_lon
))
file
.
write
(
"#### Use Galactic coordinate (l,b)
\n
"
)
file
.
write
(
"#### %Y-%m-%d %H:%M:%S.%f Az(deg_dec) Alt(deg_dec) Range l(deg_dec) b(deg_dec) Altitude
\n
"
)
file
.
write
(
"#### %Y-%m-%d %H:%M:%S.%f
UTC
Az(deg_dec) Alt(deg_dec) Range l(deg_dec) b(deg_dec) Altitude
\n
"
)
for
i
in
survey
:
long_lat_galactic
=
i
.
galactic
file
.
write
(
Time
.
strftime
(
i
.
obstime
,
'%Y-%m-%d %H:%M:%S.%f'
)
+
" UTC "
+
f
'
{
Angle
(
i
.
az
).
degree
:
10.4
f
}
'
+
f
'
{
Angle
(
i
.
alt
).
degree
:
10.4
f
}
'
+
f
'
{
1.e19
:
10.2
E
}
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment