Skip to content
Snippets Groups Projects
Commit e1f9b676 authored by Alexander Drabent's avatar Alexander Drabent
Browse files

update link

parent bc6e7472
No related branches found
No related tags found
1 merge request!198update link
Pipeline #86327 passed
......@@ -117,7 +117,7 @@ def main(ms_input, SkymodelPath, Radius="5.", DoDownload="True", Source="TGSS",
tries = 0
while errorcode != 0 and tries < 5:
if Source == 'TGSS':
errorcode = os.system("wget -O "+SkymodelPath+ " \'http://tgssadr.strw.leidenuniv.nl/cgi-bin/gsmv4.cgi?coord="+str(RATar)+","+str(DECTar)+"&radius="+str(Radius)+"&unit=deg&deconv=y\' ")
errorcode = os.system("wget -O "+SkymodelPath+ " \'http://tgssadr.strw.leidenuniv.nl/cgi-bin/gsmv5.cgi?coord="+str(RATar)+","+str(DECTar)+"&radius="+str(Radius)+"&unit=deg&deconv=y\' ")
elif Source == 'GSM':
errorcode = os.system("wget -O "+SkymodelPath+ " \'https://lcs165.lofar.eu/cgi-bin/gsmv1.cgi?coord="+str(RATar)+","+str(DECTar)+"&radius="+str(Radius)+"&unit=deg&deconv=y\' ")
time.sleep(5)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment