Image Cutout Script No Longer Working

30 views
Skip to first unread message

Juan

unread,
Mar 28, 2025, 3:49:22 PM3/28/25
to DECam Legacy Survey
Hello,

I have a script I have used for a while now to download image cutouts that seems to stop working after the recent server outage. The bash script is:

xargs < "image_urls.txt" -P 8 -L 1 wget -q -O

where "image_urls.txt" contains the file name in the first column and the url for downloading the image in the second column. This has worked with 0 issues in the past and I wondering if something with the recent server outage (maybe a rate limit?) might be affecting it now.

Dustin Lang

unread,
Mar 28, 2025, 3:57:11 PM3/28/25
to Juan, DECam Legacy Survey
What's the URL pattern you're using?

There is a rate limit (maybe 5/second?).  You'll get an HTTP error code (429, maybe?).

cheers,
dustin

--
You received this message because you are subscribed to the Google Groups "DECam Legacy Survey" group.
To unsubscribe from this group and stop receiving emails from it, send an email to decam-legacy-su...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/decam-legacy-survey/a4bc7761-752e-47d3-8729-49aa804460f0n%40googlegroups.com.

Juan

unread,
Mar 28, 2025, 4:10:35 PM3/28/25
to DECam Legacy Survey

Dustin Lang

unread,
Mar 28, 2025, 4:19:59 PM3/28/25
to Juan, DECam Legacy Survey
Hi,

I just ran your script on my computer and it worked for me.

If you open those URLs in your browser, or just run a single wget from the command line (with the -q so you can see any error messages), does it work?

cheers,
dustin



Juan

unread,
Mar 28, 2025, 4:24:27 PM3/28/25
to DECam Legacy Survey
Hello,

So I am downloading these images on a remote server and when I try to open the links on it in a browser it does not load and the connection times out (it does load on my laptop). And removing the -q I see I am getting 443 errors. I think maybe the ip of my server got flagged

Dustin Lang

unread,
Mar 28, 2025, 4:26:00 PM3/28/25
to Juan, DECam Legacy Survey
Yeah, could be, NERSC network operations does that sometimes when they see what looks like DOS attacks.


Reply all
Reply to author
Forward
0 new messages