Commit 6b1b2235 authored by Jean-Eric Campagne's avatar Jean-Eric Campagne
Browse files

add UTC field

parent 7c9bfe94
......@@ -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.4f}'
+f'{Angle(i.alt).degree:10.4f}'
+f'{1.e19:10.2E}'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment