0 votes
asked Oct 10 by anonymous | 37 views

1 Answer

0 votes

Thanks for reaching out.

Please note that the NOIRLab mass storage facility is currently down for maintenance. But once it's back up, you should be able to get a full image by using the 'access_url' field from a SIA query. For examples of using SIA to obtain the access_url, please see this example notebook:


For NSC, you would specify the SIA service URL as:

DEF_ACCESS_URL = "https://datalab.noirlab.edu/sia/nsc_dr2"
svc = sia.SIAService(DEF_ACCESS_URL)

and then run your svc.search() query as shown in the notebook.

Once you found the row matching your image, extract the 'access_url' value, and strip from it the 'extn', 'POS', and 'SIZE' arguments. So, for example, turn an access_url like this one:


to this:


(if you don't strip them, you will get a cutout, not the full FITS file).

You can then use at least any of these ways to download the full fits.fz file: wget, curl, your browser, or the download_file() function from astropy.utils.data

Finally, and maybe simplest: if you know the exact file name from somewhere else, you can simply construct a download URL like the one shown above.

Please let us know if you need more help. And thank you for your patience while the datacenter undergoes storage maintenance.


answered Oct 10 by robertdemo (5,120 points)

349 questions

363 answers


2,368 users

Welcome to Data Lab Help Desk, where you can ask questions and receive answers from other members of the community.