parent
b6c0132576
commit
65b4c066a0
|
@ -24,8 +24,7 @@ stage:
|
|||
- echo "$SSH_PRIVATE_KEY" >> ~/.ssh/id_rsa
|
||||
- chmod -R u=rwX,o=,g= ~/.ssh/
|
||||
- echo "$SSH_SERVER_HOSTKEY" > ~/.ssh/known_hosts
|
||||
- git remote add origin ssh://$SERVER_USER@$SERVER_HOST$SERVER_PATH
|
||||
- git push -u origin dev
|
||||
- git push -u ssh://$SERVER_USER@$SERVER_HOST$SERVER_PATH dev
|
||||
|
||||
production:
|
||||
stage: deploy
|
||||
|
@ -37,5 +36,4 @@ production:
|
|||
- echo "$SSH_PRIVATE_KEY" >> ~/.ssh/id_rsa
|
||||
- chmod -R u=rwX,o=,g= ~/.ssh/
|
||||
- echo "$SSH_SERVER_HOSTKEY" > ~/.ssh/known_hosts
|
||||
- git remote add origin ssh://$SERVER_USER@$SERVER_HOST$SERVER_PATH
|
||||
- git push -u origin master
|
||||
- git push -u ssh://$SERVER_USER@$SERVER_HOST$SERVER_PATH master
|
||||
|
|
|
@ -561,9 +561,12 @@ def station_view(request, id):
|
|||
|
||||
# using the angles module convert the sexagesimal degree into
|
||||
# something more easily read by a human
|
||||
elevation = format(math.degrees(altt), '.0f')
|
||||
azimuth_r = format(math.degrees(azr), '.0f')
|
||||
azimuth_s = format(math.degrees(azs), '.0f')
|
||||
try:
|
||||
elevation = format(math.degrees(altt), '.0f')
|
||||
azimuth_r = format(math.degrees(azr), '.0f')
|
||||
azimuth_s = format(math.degrees(azs), '.0f')
|
||||
except:
|
||||
continue
|
||||
passid += 1
|
||||
|
||||
# show only if >= configured horizon and in next 6 hours,
|
||||
|
|
Loading…
Reference in New Issue