From 0704938ccd1b33e148fbea47ad744eec61ccf861 Mon Sep 17 00:00:00 2001 From: Leah Morabito Date: Mon, 23 Mar 2026 15:22:45 +0000 Subject: [PATCH 1/2] update to use dr3 --- src/plot_field/plot_field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plot_field/plot_field.py b/src/plot_field/plot_field.py index cdf79d6..af2d46d 100644 --- a/src/plot_field/plot_field.py +++ b/src/plot_field/plot_field.py @@ -190,7 +190,7 @@ def my_lotss_catalogue( # url = 'http://vo.astron.nl/lofartier1/q/cone/scs.xml' # HETDEX database. # url = 'https://vo.astron.nl/hetdex/lotss-dr1/cone/scs.xml' - url = "https://vo.astron.nl/lotss_dr2/q/src_cone/scs.xml" + url = "https://vo.astron.nl/lotss_dr3/q/src_cone/scs.xml" ## query the database query = vo.dal.scs.SCSQuery(url, maxrec=10000000) From c2965dea471269152fd1ffc095a0aca1cffd24e0 Mon Sep 17 00:00:00 2001 From: Leah Morabito Date: Mon, 23 Mar 2026 15:24:31 +0000 Subject: [PATCH 2/2] error if updataing already existing file --- src/plot_field/plot_field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plot_field/plot_field.py b/src/plot_field/plot_field.py index af2d46d..b1073d3 100644 --- a/src/plot_field/plot_field.py +++ b/src/plot_field/plot_field.py @@ -178,7 +178,7 @@ def my_lotss_catalogue( tb_final = Table.read(outfile, format="csv") if "Source_Name" in tb_final.colnames: tb_final.rename_column("Source_Name", "Source_id") - tb_final.write(outfile, format="csv") + tb_final.write(outfile, format="csv",overwrite=True) else: print("DOWNLOADING LOTSS Skymodel for the target field") print("Radius is", Radius)