fix url
This commit is contained in:
parent
04f1fa0bba
commit
6642199d38
1 changed files with 2 additions and 2 deletions
|
@ -156,9 +156,9 @@ gs_longitude=$(echo "scale=2; $m_longitude / 3600" | bc)
|
||||||
message "gs_longitude $gs_longitude"
|
message "gs_longitude $gs_longitude"
|
||||||
g_longitude=$(echo "scale=2; $g_longitude + $gm_longitude + $gs_longitude" | bc)
|
g_longitude=$(echo "scale=2; $g_longitude + $gm_longitude + $gs_longitude" | bc)
|
||||||
message "g_longitude $g_longitude"
|
message "g_longitude $g_longitude"
|
||||||
#url='http://www.fourmilab.ch/cgi-bin/Earth?img=learth.evif&imgsize=1366&dynimg=y&opt=-l&lat=41&ns=North&lon=0&ew=East&alt=35785&tle=&date=0&utc=&jd='
|
#url='https://www.fourmilab.ch/cgi-bin/Earth?img=learth.evif&imgsize=1366&dynimg=y&opt=-l&lat=41&ns=North&lon=0&ew=East&alt=35785&tle=&date=0&utc=&jd='
|
||||||
|
|
||||||
url="http://www.fourmilab.ch/cgi-bin/Earth?img=learth.evif&imgsize=$screen_width&dynimg=y&opt=-l&lat=$g_latitude&ns=$o_latitude&lon=$g_longitude&ew=$o_longitude&alt=35785&tle=&date=0&utc=&jd="
|
url="https://www.fourmilab.ch/cgi-bin/Earth?img=learth.evif&imgsize=$screen_width&dynimg=y&opt=-l&lat=$g_latitude&ns=$o_latitude&lon=$g_longitude&ew=$o_longitude&alt=35785&tle=&date=0&utc=&jd="
|
||||||
message "URL $url"
|
message "URL $url"
|
||||||
cur_date=$(date +%Y-%m-%d)
|
cur_date=$(date +%Y-%m-%d)
|
||||||
time=$(date +%H.%M.%S)
|
time=$(date +%H.%M.%S)
|
||||||
|
|
Loading…
Reference in a new issue