Skip to content

Add Euclid HATS tutorial #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
49e9195
Drop obsolete .gitkeep
troyraen Mar 24, 2025
e86592e
Add euclid-hats-parquet notebook
troyraen Mar 25, 2025
154f4ef
Update index.md
troyraen Mar 25, 2025
aa50600
TMP: ignore euclid-hats-parquet notebook until data is fully public
bsipocz Mar 25, 2025
539a69c
Apply review feedback from @bsipocz
troyraen Mar 25, 2025
b8b3a22
Add a sentence about Parquet
troyraen Mar 26, 2025
fa42641
Add the common Euclid abbreviations "ERO" and "Q1" index headers
troyraen Mar 26, 2025
48536df
Apply @afaisst feedback. Use euclid_s3_path.
troyraen Mar 28, 2025
2f33bc2
Temp fix. Uninstall numpy and pyerfa before installs.
troyraen Mar 28, 2025
9e0a7ae
Add anon=True option for IPAC
troyraen Mar 28, 2025
f0055e7
Adding new dependencies to the central requirements file, too
bsipocz Mar 28, 2025
313c1e0
Apply suggestions from @bsipocz code review
troyraen Mar 29, 2025
be4e326
Apply suggestions from @bsipocz code review
troyraen Mar 29, 2025
d24b599
Add pyerfa>=2.0.1.3 to binder requirements.txt. Needed for numpy>=2.0.
troyraen Mar 29, 2025
82310ad
Apply suggestions from @afaisst and @bsipocz code reviews.
troyraen Mar 29, 2025
822db12
Apply suggestions from code review
troyraen May 6, 2025
01112f2
Apply suggestions from @jaladh-singhal code review
troyraen May 6, 2025
e93f551
Major rewrite. Add PHZ and SPE.
troyraen Jun 5, 2025
f60f0e4
CI: update oldestdeps versions
bsipocz Jun 11, 2025
d347b20
CI: bump minimum astropy and matplotlib and pandas
bsipocz Jun 11, 2025
a1a5ed4
Apply feedback from @vandesai1
troyraen Jun 16, 2025
ffa5134
Add Lines and Models to spe_filter and patch text
troyraen Jun 29, 2025
e7384c2
Lower case column names
troyraen Jun 29, 2025
ed7e4c4
Switch to public bucket
troyraen Jun 30, 2025
7b62495
Add Lines and Models to schema info
troyraen Jun 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .binder/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@
# undeclared optional dependencies of functionalities we rely on
#
tqdm
numpy>=1.24
matplotlib>=3.7
astropy>=5.3
# Required by hats, was 1.24 before
numpy>=2
# Required by hats, was 3.7 before
matplotlib>=3.10.3
# Required by hats, was 5.3 before
astropy>=6.1.5
pyvo>=1.5
astroquery>=0.4.10
scipy>=1.10
# Due to the numpy>=2 limit
scipy>=1.13
pyarrow>=10.0.1
hpgeom
pandas>=1.5.2
# Required by hats via nested-pandas, was 1.5.2 before
pandas>=2.2.3
dask[distributed]
psutil
ray
Expand All @@ -23,6 +28,9 @@ fsspec
sep>=1.4
h5py
requests
hats>=0.5.2
lsdb>=0.5.2
pyerfa>=2.0.1.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only if the notebook actually ends up using lsdb (currently, it does not). I'll prune the dependencies once that is known.

# For supporting myst-based notebooks
jupytext
# Making admonotions look nice for the myst notebooks
Expand Down
2 changes: 2 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
# Both NEOWISE parquet notebooks work with large data that doesn't work within CircleCI or GHA resource limits
nb_execution_excludepatterns += ['neowise-source-table-strategies.md',
'neowise-source-table-lightcurves.md',]
# Data is not yet public
nb_execution_excludepatterns += ['euclid-hats-parquet.md', ]

if platform.platform().startswith("mac") or platform.platform().startswith("win"):
# The way the notebooks use the multiprocessing module is known to not work on non-Linux
Expand Down
1 change: 1 addition & 0 deletions ignore_testing
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
euclid-hats-parquet
10 changes: 6 additions & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,19 @@ caption: Cloud data access
---

tutorials/cloud_access/cloud-access-intro
tutorials/cloud_access/euclid-cloud-access
tutorials/parquet-catalog-demos/euclid-hats-parquet
tutorials/parquet-catalog-demos/wise-allwise-catalog-demo
tutorials/parquet-catalog-demos/neowise-source-table-strategies
tutorials/parquet-catalog-demos/neowise-source-table-lightcurves
tutorials/openuniversesims/openuniverse2024_roman_simulated_timedomainsurvey
tutorials/openuniversesims/openuniverse2024_roman_simulated_wideareasurvey
tutorials/cloud_access/euclid-cloud-access

```

## Accessing Euclid data

### Euclid Early Release Observation
### Euclid Early Release Observation (ERO)

```{toctree}
---
Expand All @@ -55,7 +56,7 @@ tutorials/euclid_access/Euclid_ERO

```

### Euclid Quick Release 1
### Euclid Quick Release 1 (Q1)

```{toctree}
---
Expand All @@ -69,6 +70,7 @@ tutorials/euclid_access/3_Euclid_intro_1D_spectra
tutorials/euclid_access/4_Euclid_intro_PHZ_catalog
tutorials/euclid_access/5_Euclid_intro_SPE_catalog
tutorials/cloud_access/euclid-cloud-access
tutorials/parquet-catalog-demos/euclid-hats-parquet

```

Expand Down Expand Up @@ -123,4 +125,4 @@ tutorials/parallelize/Parallelize_Convolution

**Authors:** IRSA Scientists and Developers wrote and maintain these notebooks.

**Contact:** [the IRSA Helpdesk](https://irsa.ipac.caltech.edu/docs/help_desk.html) with questions or reporting problems.
**Contact:** [the IRSA Helpdesk](https://irsa.ipac.caltech.edu/docs/help_desk.html) with questions or reporting problems.
19 changes: 14 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,25 @@ deps =

# Notebooks sets minimums for photutils, astroquery, sep, pyvo, pandas;
# the rest is indirect minimums for those
oldestdeps: numpy==1.24.0
oldestdeps: matplotlib==3.7.0
oldestdeps: scipy==1.10.0
oldestdeps: astropy==5.3.0
# Required by hats
oldestdeps: numpy==2.0.0
# Required by hats
oldestdeps: matplotlib==3.10.3
# For numpy 2.0 compatibility
oldestdeps: scipy==1.13.0
# Required by hats
oldestdeps: astropy==6.1.5
oldestdeps: photutils==2.0.0
oldestdeps: astroquery==0.4.10
oldestdeps: firefly_client==3.2.0
oldestdeps: sep==1.4.0
oldestdeps: pyvo==1.5.0
oldestdeps: pandas==1.5.2
# Required by nested-pandas (indirectly by hats)
oldestdeps: pandas==2.2.3
oldestdeps: lsdb==0.5.2
oldestdeps: hats==0.5.2
# Non-direct dependency, required by hats
oldestdeps: nested-pandas==0.4.1

devdeps: astropy>0.0.dev0
devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo
Expand Down
Empty file removed tutorials/euclid_access/.gitkeep
Empty file.
Loading