diff --git a/scripts/download_skymodel_target.py b/scripts/download_skymodel_target.py index 4c4d15b20901cd6bd0d870b852b44dfa7d2a2bc8..5c2ee232175520e04e3505205dff239fe5b32aa5 100755 --- a/scripts/download_skymodel_target.py +++ b/scripts/download_skymodel_target.py @@ -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)