Skip to content

Commit 99017e7

Browse files
committed
Fix jwst-image-scale-bar
Old data URL no longer valid
1 parent fe8c6a7 commit 99017e7

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

docs/src/tutorials/jwst-image-scale-bar.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ A mirror of the JWST initial release data is also hosted on AWS. We'll use this
3939
```julia
4040
using Downloads
4141

42-
fname = Downloads.download(
43-
"https://stpubdata-jwst.stsci.edu/ero/jw02731/L3/t/"*
44-
"jw02731-o001_t017_nircam_clear-f187n_i2d.fits"
45-
)
42+
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")
4643
```
4744

4845
## Loading the image
@@ -59,10 +56,10 @@ carina_full = load(fname); # semi-colon prevents displaying the image
5956

6057
Let's check the resolution of the image:
6158
```julia
62-
size(carina)
59+
size(carina_full)
6360
```
6461
```
65-
(14436, 8568)
62+
(14340, 8582)
6663
```
6764
Wow, that's over 120 megapixels!
6865

0 commit comments

Comments
 (0)