Skip to content

Commit c35d9c9

Browse files
authored
Merge pull request #70 from tmesh/Meshkat
A few changes following the rehearsal
2 parents cf7c4ca + 64eab11 commit c35d9c9

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

tutorials/euclid_access/1_Euclid_intro_MER_images.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ image_table = irsa_service.search(pos=(coord, search_radius), collection='euclid
104104
Convert the table to pandas dataframe
105105

106106
```{code-cell} ipython3
107-
df_im_irsa=image_table.to_table().to_pandas()
107+
df_im_irsa=image_table.to_table().to_pandas().reset_index()
108108
```
109109

110110
Change the settings so we can see all the columns in the dataframe and the full column width (to see the full long URL)
@@ -119,12 +119,16 @@ pd.set_option('display.max_colwidth', None)
119119
# pd.reset_option('display.max_colwidth')
120120
```
121121

122+
```{code-cell} ipython3
123+
df_im_irsa
124+
```
125+
122126
This dataframe contains lots of other datasets that have been "Euclidized", so put on the same pixel scale as the Euclid data. For this example choose science as the data product subtype to see all images of this tile
123127

124128
```{code-cell} ipython3
125-
df_im_euclid=df_im_irsa[ (df_im_irsa['dataproduct_subtype']=='science')]
129+
df_im_euclid=df_im_irsa[ (df_im_irsa['dataproduct_subtype']=='science')].reset_index()
126130
127-
df_im_euclid.head()
131+
df_im_euclid
128132
```
129133

130134
```{code-cell} ipython3

0 commit comments

Comments
 (0)