From f275613a05d5327f3f1790418594885608a36d71 Mon Sep 17 00:00:00 2001 From: Chris Garling Date: Sat, 29 Nov 2025 16:56:32 -0500 Subject: [PATCH 1/2] Fix jwst-image-scale-bar Old data URL no longer valid --- docs/src/tutorials/jwst-image-scale-bar.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/src/tutorials/jwst-image-scale-bar.md b/docs/src/tutorials/jwst-image-scale-bar.md index 971fd7eb66..fea03b7926 100644 --- a/docs/src/tutorials/jwst-image-scale-bar.md +++ b/docs/src/tutorials/jwst-image-scale-bar.md @@ -39,10 +39,7 @@ A mirror of the JWST initial release data is also hosted on AWS. We'll use this ```julia using Downloads -fname = Downloads.download( - "https://stpubdata-jwst.stsci.edu/ero/jw02731/L3/t/"* - "jw02731-o001_t017_nircam_clear-f187n_i2d.fits" -) +fname = Downloads.download("https://mast.stsci.edu/api/v0.1/Download/file?bundle_name=MAST_2025-11-29T2146.sh&uri=mast:JWST/product/jw02731-o001_t017_nircam_clear-f187n_i2d.fits") ``` ## Loading the image @@ -59,10 +56,10 @@ carina_full = load(fname); # semi-colon prevents displaying the image Let's check the resolution of the image: ```julia -size(carina) +size(carina_full) ``` ``` -(14436, 8568) +(14340, 8582) ``` Wow, that's over 120 megapixels! From 1f12ee908103da21a42298222e1c0f8c82f82019 Mon Sep 17 00:00:00 2001 From: Chris Garling Date: Sat, 29 Nov 2025 17:03:44 -0500 Subject: [PATCH 2/2] remove MAST URL bundle_name bundle_name is not significant in MAST download URL --- docs/src/tutorials/jwst-image-scale-bar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tutorials/jwst-image-scale-bar.md b/docs/src/tutorials/jwst-image-scale-bar.md index fea03b7926..730ac55c1b 100644 --- a/docs/src/tutorials/jwst-image-scale-bar.md +++ b/docs/src/tutorials/jwst-image-scale-bar.md @@ -39,7 +39,7 @@ A mirror of the JWST initial release data is also hosted on AWS. We'll use this ```julia using Downloads -fname = Downloads.download("https://mast.stsci.edu/api/v0.1/Download/file?bundle_name=MAST_2025-11-29T2146.sh&uri=mast:JWST/product/jw02731-o001_t017_nircam_clear-f187n_i2d.fits") +fname = Downloads.download("https://mast.stsci.edu/api/v0.1/Download/file?uri=mast:JWST/product/jw02731-o001_t017_nircam_clear-f187n_i2d.fits") ``` ## Loading the image