Skip to content

Commit 6696f14

Browse files
authored
Merge pull request #11 from bsipocz/MAINT_reformatting
2 parents cbaeee6 + 5a95001 commit 6696f14

File tree

3 files changed

+120
-44
lines changed

3 files changed

+120
-44
lines changed

documentation/index.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22

33

44
## Document Purpose and Scope
5-
The purpose of this document is to facilitate science with SPHEREx data by providing users with an overview of the SPHEREx data that are available at the NASA/IPAC Infrared Science Archive (IRSA) at Caltech, as well as instructions for accessing and downloading these data. We also provide tips for exploring the data and getting help with any questions you may have. This User Guide will evolve as the SPHEREx project delivers new data products and tools to IRSA to make available to the public.
5+
The purpose of this document is to facilitate science with SPHEREx data by providing users with an overview of the SPHEREx data that are available at the NASA/IPAC Infrared Science Archive (IRSA) at Caltech, as well as instructions for accessing and downloading these data.
6+
We also provide tips for exploring the data and getting help with any questions you may have.
7+
This User Guide will evolve as the SPHEREx project delivers new data products and tools to IRSA to make available to the public.
68

79
## SPHEREx Overview
810

9-
SPHEREx is a NASA Astrophysics Medium Explorer mission that launched in March 2025. During its planned two-year mission, SPHEREx will obtain 0.75-5 micron spectroscopy over the entire sky, with deeper data in the SPHEREx Deep Fields. SPHEREx data will be used to:
11+
SPHEREx is a NASA Astrophysics Medium Explorer mission that launched in March 2025.
12+
During its planned two-year mission, SPHEREx will obtain 0.75-5 micron spectroscopy over the entire sky, with deeper data in the SPHEREx Deep Fields.
13+
SPHEREx data will be used to:
1014

1115
* **constrain the physics of inflation** by measuring its imprints on the three-dimensional large-scale distribution of matter,
1216
* **trace the history of galactic light production** through a deep multi-band measurement of large-scale clustering,
@@ -23,4 +27,4 @@ More information is available in the "Mission Overview" section of the SPHEREx E
2327

2428
[SPHEREx project website](https://spherex.caltech.edu/)
2529

26-
[SPHEREx Explanatory Supplement](https://irsa.ipac.caltech.edu/data/SPHEREx/docs/SPHEREx_Expsupp_QR_v1.0.pdf)
30+
[SPHEREx Explanatory Supplement](https://irsa.ipac.caltech.edu/data/SPHEREx/docs/SPHEREx_Expsupp_QR.pdf)

documentation/spherex_data_access.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# SPHEREx Data Access
22

3-
IRSA serves SPHEREx data on premises at IPAC. IRSA provides layered access to these data to support a variety of use cases and users. These layers include:
3+
IRSA serves SPHEREx data on premises at IPAC.
4+
IRSA provides layered access to these data to support a variety of use cases and users.
5+
These layers include:
46

57
* **Browsable Directories:** SPHEREx on-premises data products are laid out in directories that can be navigated with standard web browsers.
68
* **Application Program Interfaces:** IRSA provides SPHEREx data access APIs that are compliant with International Virtual Observatory Alliance (IVOA) standards.
@@ -10,7 +12,8 @@ IRSA serves SPHEREx data on premises at IPAC. IRSA provides layered access to th
1012
Each of these data access layers is described in greater detail in the subsections below.
1113

1214
## Browsable Directories
13-
SPHEREx data products are laid out in directories that can be navigated with standard web browsers. This is convenient for users to get a quick sense of the types of data products that are available, to quickly download some examples by clicking through the directory tree, and to script bulk downloads using wget or curl.
15+
SPHEREx data products are laid out in directories that can be navigated with standard web browsers.
16+
This is convenient for users to get a quick sense of the types of data products that are available, to quickly download some examples by clicking through the directory tree, and to script bulk downloads using wget or curl.
1417

1518
The root of the SPHEREx data quick release data directories is:
1619
https://irsa.ipac.caltech.edu/ibe/data/spherex/qr
@@ -27,28 +30,38 @@ The public data products are organized into subdirectories based on the followin
2730
* **Read Noise Parameters:** `readnoise_pars/base-[Processing Date]/[Detector]/`
2831
* **Spectral WCS:** `spectral_wcs/base-[Processing Date]/[Detector]/`
2932

30-
The content of each subdirectory is described in greater detail in the Data Products section of this user guide and in the [SPHEREx Explanatory Supplement](https://irsa.ipac.caltech.edu/data/SPHEREx/docs/SPHEREx_Expsupp_QR_v1.0.pdf).
33+
The content of each subdirectory is described in greater detail in the Data Products section of this user guide and in the [SPHEREx Explanatory Supplement](https://irsa.ipac.caltech.edu/data/SPHEREx/docs/SPHEREx_Expsupp_QR.pdf).
3134

3235

3336
## Application Program Interfaces (APIs)
3437

35-
IRSA provides API access to SPHEREx Spectral Images through version 2 of the VO Simple Image Access (SIA2) protocol. SIA2 allows users to query for a list of images that satisfy constraints based on position(s) on the sky, band, time, ID, and instrument. The list returned by the service includes data access URLs, which can be used to retrieve some or all of the images in the list using wget or curl. A brief summary of SIA2 for accessing SPHEREx data for IRSA is given below. Additional [documentation on IRSA’s SIA2 service](https://irsa.ipac.caltech.edu/ibe/sia.html) can be found on the IRSA website:
38+
IRSA provides API access to SPHEREx Spectral Images through version 2 of the VO Simple Image Access (SIA2) protocol.
39+
SIA2 allows users to query for a list of images that satisfy constraints based on position(s) on the sky, band, time, ID, and instrument.
40+
The list returned by the service includes data access URLs, which can be used to retrieve some or all of the images in the list using wget or curl.
41+
A brief summary of SIA2 for accessing SPHEREx data for IRSA is given below.
42+
Additional [documentation on IRSA’s SIA2 service](https://irsa.ipac.caltech.edu/ibe/sia.html) can be found on the IRSA website:
3643

37-
Note: SPHEREx data are ingested on a weekly basis. Due to the nature of the ingestion process, new SPHEREx data will first be available in the browsable directories and in the SPHEREx Data Explorer GUI. Availability via SIA2 and Python libraries like Astroquery and PyVO will lag on the order of a day.
44+
:::{note}
45+
SPHEREx data are ingested on a weekly basis.
46+
Due to the nature of the ingestion process, new SPHEREx data will first be available in the browsable directories and in the SPHEREx Data Explorer GUI.
47+
Availability via SIA2 and Python libraries like Astroquery and PyVO will lag on the order of a day.
48+
:::
3849

3950
IRSA's generric SIA2 endpoint is:
4051

4152
`https://irsa.ipac.caltech.edu/SIA?`
4253

43-
Users must add a `COLLECTION` parameter to this endpoint to specify which dataset to search. There are three SPHEREx-related SIA2 collections:
54+
Users must add a `COLLECTION` parameter to this endpoint to specify which dataset to search.
55+
There are three SPHEREx-related SIA2 collections:
4456

4557
* SPHEREx Quick Release Spectral Image MEFs that are part of the SPHEREx **Wide Survey** can be accessed with: `COLLECTION=spherex_qr`
4658

4759
* SPHEREx Quick Release Spectral Image MEFs that are part of the SPHEREx **Deep Survey** can be accessed with: `COLLECTION=spherex_qr_deep`
4860

4961
* SPHEREx Quick Release **Calibration files** can be accessed with: `COLLECTION=spherex_qr_cal`
5062

51-
You can use `wget` or `curl` to submit SIA2 queries from the command line. For example:
63+
You can use `wget` or `curl` to submit SIA2 queries from the command line.
64+
For example:
5265

5366
* `wget -O example1.html "https://irsatest.ipac.caltech.edu/SIA?COLLECTION=spherex_qr&POS=circle+127.69444+-39.17760+0.01&RESPONSEFORMAT=HTML"`
5467

@@ -58,10 +71,13 @@ See the next section to learn how to use Python wrappers around IRSA’s SIA2 se
5871

5972
If you would like to take advantage of IRSA’s SIA2 service for querying SPHEREx images, but prefer to use Python rather than the command line, you may be interested in using one of two Python libraries:
6073

61-
* **PyVO** -- This module lets you find and retrieve astronomical data available from archives that support standard IVOA protocols.
62-
* **Astroquery** -- This module provides access to IRSA's public astrophysics data from projects such as SPHEREx, Euclid, Spitzer, WISE/NEOWISE, SOFIA, IRTF, 2MASS, Herschel, IRAS, and ZTF.
74+
[PyVO](https://github.com/astropy/pyvo)
75+
: This module lets you find and retrieve astronomical data available from archives that support standard IVOA protocols.
6376

64-
Examples of data queries using both of these libraries can be found in [IRSA’s Python Notebook Tutorial Repository](https://caltech-ipac.github.io/irsa-tutorials/):
77+
[Astroquery](https://github.com/astropy/astroquery)
78+
: This module provides access to IRSA's public astrophysics data from projects such as SPHEREx, Euclid, Spitzer, WISE/NEOWISE, SOFIA, IRTF, 2MASS, Herschel, IRAS, and ZTF.
79+
80+
Examples of data queries using both of these libraries can be found in [IRSA’s Python Notebook Tutorial Repository](https://caltech-ipac.github.io/irsa-tutorials/).
6581

6682
## SPHEREx Data Explorer Web Application
6783

0 commit comments

Comments
 (0)