CoolFace
Datasetpublic

aryana-haghjoo/jades-dr4-dr5-multimodal

JADES DR4/DR5 Multimodal Dataset Cold-storage archive of the data products for the multimodal_superresolution project: JADES DR4 NIRSpec spectra matched to DR5 NIRCam/HST imaging cutouts, used for multimodal galaxy super-resolution and redshift estimation. Archived 2026-08-28. The local working copy was deleted to free disk. Code and trained model weights are on GitHub; everything Git ignored is here. ๐Ÿ‘‰ RECONSTRUCT.md is the full recipe for rebuilding the project from scratch.โ€ฆ See the full description on the dataset page: https://huggingface.co/datasets/aryana-haghjoo/jades-dr4-dr5-multimodal.

sourceHugging Facecc-by-4.0updated 29d agoView on Hugging Face
0likes236downloads
Dataset Card

JADES DR4/DR5 Multimodal Dataset

Cold-storage archive of the data products for the `multimodal_superresolution` project: JADES DR4 NIRSpec spectra matched to DR5 NIRCam/HST imaging cutouts, used for multimodal galaxy super-resolution and redshift estimation.

Archived 2026-08-28. The local working copy was deleted to free disk. Code and trained model weights are on GitHub; everything Git ignored is here.

๐Ÿ‘‰ [`RECONSTRUCT.md`](RECONSTRUCT.md) is the full recipe for rebuilding the project from scratch. Read it first.


What this is

2937 galaxies with both a NIRSpec spectrum and NIRCam imaging, across the GOODS-S and GOODS-N fields:

  • โ€”Spectra โ€” DR4 prism + R1000 grating, 4702 wavelength points each
  • โ€”Images โ€” DR5 224ร—224 cutouts in up to 13 bands, with science, error, exposure, weight and nim planes
  • โ€”Manifests + splits โ€” the exact train/test partitions the published models were trained on

The expensive part is the imaging: the cutouts were extracted from JADES DR5 mosaics totalling 757 GB of downloads (~29 hours of transfer). This archive exists so that never has to be repeated โ€” pulling 21 GB from here takes under an hour.

Quick start

bash
pip install huggingface_hub

# everything (~21 GB)
hf download aryana-haghjoo/jades-dr4-dr5-multimodal \
    --repo-type dataset --local-dir ./jades_data

# or just the manifests and one band
hf download aryana-haghjoo/jades-dr4-dr5-multimodal --repo-type dataset \
    --local-dir ./jades_data \
    --include "data/multimodal/*" "data/JADES/cutouts_shared_bands/goods-s/f090w.tar"

To rebuild the full repo layout:

bash
git clone git@github.com:aryana-haghjoo/multimodal_superresolution.git
bash ./jades_data/restore.sh ./jades_data ./multimodal_superresolution

Reading a single cutout:

python
import numpy as np
d = np.load("goods-s/f090w/dr4id_1603_dr5id_94222.npz")
print(list(d))       # science, error, exposure, weight, nim, ra, dec,
                     # dr4_id, dr5_id, match_sep_arcsec, band, field
print(d["science"].shape)   # (224, 224)

Layout

PathSizeContents
data/DR4/dataset_whole_DR4.pkl951 M3279 spectra (prism + grating), no builder script exists โ€” see RECONSTRUCT.md
data/JADES/*.csv *.txt7.5 MDR4โ†”DR5 match tables, band coverage, keep-lists
data/JADES/cutouts_shared_bands/goods-s/*.tar11 G13 archives, 22,036 cutouts
data/JADES/cutouts_shared_bands/goods-n/*.tar5.7 G12 archives, 11,609 cutouts
data/multimodal/*.pkl *.csv1.7 Gdataset manifests (2937 / 2920 rows)
data/multimodal/splits/1.6 Gtrain 2190 / test 730 (+ 80/20 re-split)
data/multimodal/splits_qualitycut/38 Mstrict line-S/N splits (97/16/17)
evaluations/137 MSR1 + foundation-v2 inference outputs, logs
train_artifacts/39 Mfoundation inference npz, all training logs
wandb/wandb_local_runs.tar184 M46 local W&B run dirs
external/90 MDR4 line catalogue (Combined_DR4_external_v1.2.1.fits)
โ€”โ€”DR5 photometry catalogues are _not_ included โ€” see below
env/requirements-freeze.txtโ€”157 pinned packages, Python 3.11.13
MANIFEST.sha256โ€”checksums for every file
restore.shโ€”unpacks archives back into repo layout

Cutouts are bundled as uncompressed .tar, one per band/field. .npz is already DEFLATE-compressed internally, so gzip/zstd gained only 0.3% โ€” not worth the CPU on either end.

Bands

FieldBandsCutouts
goods-sf070w f090w f115w f150w f162m f182m f200w f210m f277w f335m f356w f410m f444w22,036
goods-nf090w f115w f150w f162m f182m f200w f210m f277w f335m f356w f410m f444w11,609

f070w exists only in goods-s โ€” it was excluded from the project because it has no matched coverage in goods-n. The trained models use 11 bands: f090w f115w f150w f200w f277w f356w f444w f410m f335m f182m f210m. f070w and f162m are archived but unused.

Companion models

Trained weights are on GitHub, not here:

BranchWeights
main (690e045)best_sr1_multimodal.pth, best_zhead_multimodal.pth
foundation-model (7985b0b)best_foundation_v7.pth, best_foundation_v10.pth
foundation-model-v2 (b8b4382)best_foundation_v2_r1.pth

Not included: DR5 photometry catalogues

The pipeline that produced these cutouts also reads the JADES DR5 photometry catalogues (HDU FLAG) to resolve object positions and real per-band coverage:

hlsp_jades_jwst_nircam_goods-s_photometry_v5.0_catalog.fits   6.17 GB
hlsp_jades_jwst_nircam_goods-n_photometry_v5.0_catalog.fits   3.12 GB

They are not mirrored here โ€” large, re-downloadable, and only needed to redo the DR4โ†”DR5 matching or re-extract cutouts from the mosaics. Everything they were used to produce is archived: the match tables, the coverage tables, and the cutouts themselves.

bash
BASE=https://slate.ucsc.edu/~brant/jades-dr5
wget -c "$BASE/GOODS-S/hlsp/catalogs/hlsp_jades_jwst_nircam_goods-s_photometry_v5.0_catalog.fits"
wget -c "$BASE/GOODS-N/hlsp/catalogs/hlsp_jades_jwst_nircam_goods-n_photometry_v5.0_catalog.fits"

โš ๏ธ That source is a collaboration server under a ~brant user path, not MAST โ€” verified live 2026-08-28, but it may move when DR5 goes public. Fall back to <https://archive.stsci.edu/hlsp/jades>. See `RECONSTRUCT.md` for full detail.

Known issues

  • โ€”multimodal_dataset_qualitycut*.pkl are empty (0 rows). The strict line-S/Nโ‰ฅ5 cut selected nothing on its last run, though splits_qualitycut/ retains 130 rows from an earlier working generation.
  • โ€”splits/multimodal_dataset_val.pkl (315 rows) is a stale leftover from an abandoned 3-way split. The models used train.pkl (2190) and test.pkl (730). split_counts.csv and split_field_summary.csv disagree for the same reason.
  • โ€”Foundation-v2 checkpoints r2/r3/r4 were already lost before archiving; only their inference outputs survive. Check W&B cloud if needed.

RECONSTRUCT.md documents all of these in detail.

Provenance and citation

Derived from public JWST/JADES data โ€” DR4 NIRSpec spectra and DR5 NIRCam/HST mosaics from https://slate.ucsc.edu/~brant/jades-dr5/. The original survey data is released by the JADES Collaboration; please cite JADES when using this derived product. Derived cutouts, manifests and splits are shared under CC-BY-4.0.