Skip to content

Commit ff1ea6d

Browse files
committed
Removing workaround for testers
1 parent 16a84de commit ff1ea6d

File tree

2 files changed

+2
-34
lines changed

2 files changed

+2
-34
lines changed

tutorials/euclid_access/1_Euclid_intro_MER_images.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -147,26 +147,10 @@ tileID=re.search(r'TILE\s*(\d{9})', filename).group(1)
147147
print('The MER tile ID for this object is :',tileID)
148148
```
149149

150-
```{code-cell} ipython3
151-
######### TEMP
152-
######## Note to testers, for now we need to replace the irsa.ipac.caltech.edu url with irsa
153-
######## This will not be the same after the data are made public so this cell will be deleted at that time
154-
def add_dev_to_domain(domain):
155-
parts = domain.split('.', 1) # Split at the first dot
156-
if len(parts) == 2:
157-
return f"{parts[0]}dev.{parts[1]}"
158-
return domain
159-
160-
filename_dev = add_dev_to_domain(filename)
161-
print(filename_dev)
162-
163-
#####################
164-
```
165-
166150
Download the MER image -- note this file is about 1.46 GB
167151

168152
```{code-cell} ipython3
169-
fname = download_file(filename_dev, cache=True)
153+
fname = download_file(filename, cache=True)
170154
hdu_mer_irsa = fits.open(fname)
171155
print(hdu_mer_irsa.info())
172156

tutorials/euclid_access/5_Euclid_intro_SPE_catalog.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -114,27 +114,11 @@ print('The MER tile ID for this object is :',tileID)
114114

115115
## 2. Read in the MER image from IRSA directly
116116

117-
```{code-cell} ipython3
118-
######### TEMP
119-
######## Note to testers, for now we need to replace the irsa.ipac.caltech.edu url with irsa
120-
######## This will not be the same after the data are made public so this cell will be deleted at that time
121-
def add_dev_to_domain(domain):
122-
parts = domain.split('.', 1) # Split at the first dot
123-
if len(parts) == 2:
124-
return f"{parts[0]}dev.{parts[1]}"
125-
return domain
126-
127-
filename_dev = add_dev_to_domain(filename)
128-
print(filename_dev)
129-
130-
#####################
131-
```
132-
133117
### Download the MER image to this notebook
134118
Note this file is about 1.46 GB
135119

136120
```{code-cell} ipython3
137-
fname = download_file(filename_dev, cache=True)
121+
fname = download_file(filename, cache=True)
138122
hdu_mer_irsa = fits.open(fname)
139123
head_mer_irsa = hdu_mer_irsa[0].header
140124

0 commit comments

Comments
 (0)