OpenNeuro import gap: 67 in-scope datasets missing from public NEMAR (58 readable on S3)

Open
#2,693 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
aws, typescript

Research direction

Start by reviewing PR #2641 and the workflows and recovery paths named in the issue: onboard-openneuro.yml, classifyImportFailure, classifyRecovery, and BLOCKLIST_RECHECK_QUERY. Then check the listed NEMAR failure issues, scripts/withdrawn-datasets.json, and the live OpenNeuro S3 status for each missing dataset. Done means identifying which datasets are eligible for recovery or publication and ensuring the documented import and recovery paths can handle them; the issue describes a broad audit and follow-up rather than a bounded code change.

Written by the indexing model from the issue text.

Description

Problem

Auditing all 1,962 OpenNeuro datasets on 2026-12-03 against NEMAR_MODALITIES (eeg, meg, ieeg, emg, nirs, motion) and the public NEMAR catalog (api.nemar.org) found 67 of 646 in-scope OpenNeuro datasets missing from public NEMAR (HTTP 404 on on######, and none present under nm######).

Of those 67 missing datasets, 58 currently return HTTP 200 on live OpenNeuro S3 data objects (only 5 are all-403, 1 is partial-403, and 3 have an empty S3 prefix).

Root causes observed
  1. Copy-phase OpenNeuro 403s never emit [openneuro-upstream-inaccessible] (addressed in #2641):

    • When root metadata is plain git (so prepare succeeds) and annexed data objects return HTTP 403 during copy, curlStreamCopy (curl -sfL) collapses HTTP 403 into curl exit 22, and copyShard prints a plain [copy i/N] X of Y files failed line with no [openneuro-upstream-inaccessible] marker.
    • Under onboard-openneuro.yml's if: !cancelled(), finalize also runs afterward and posts verifyManifestObjects's "N of M objects missing or wrong size at the destination...", which can overwrite copy's diagnosis if async waitUntil recovery has not yet settled.
    • As a result, classifyImportFailure routes these datasets to unknown (needs-triage, nemarDatasets/.github#117), classifyRecovery rolls them back as unambiguous_orphan into terminal rolled_back status, and neither auto-import nor import-retry ever retries them — even after OpenNeuro later restores public S3 access (e.g. ds008798, which failed with 403 in run 34631102693 and is now 100% HTTP 200).
    • Fixed in PR #2641.
  2. Previously stranded / blocklisted / withdrawn datasets now readable upstream (manual admin follow-up / recovery):

    • 21 datasets in nemarDatasets/.github#117 (needs-triage) now return HTTP 200 on OpenNeuro S3 data files (including ds008798, ds008322, ds008349, ds008809, ds008834, ds008836, ds008851, ds008859, ds008861, ds008867, ds008875, ds008878, ds008894, ds008896, ds009033, ds009097, ds009126, ds009134, ds009136, ds005113, plus ds008959 meta-only).
    • Both blocklisted datasets in weekly summary nemarDatasets/.github#172 (on008940, parked 47d; on009082, parked 17d, both upstream_403_after_window) now return HTTP 200 on OpenNeuro S3 — BLOCKLIST_RECHECK_QUERY only re-verifies NEMAR's own empty bucket via verifyDatasetVersionS3, so it cannot detect upstream access restoration on its own.
    • All 4 previously withdrawn upstream_403 datasets in scripts/withdrawn-datasets.json (on008014, on008017, on008099, on008115) now return HTTP 200 on sampled recording files on OpenNeuro S3 and may be eligible for content-recovery + restore.
    • 1 recovered dataset (on007816 / ds007816) was already recovered in full (424 keys, 85 GiB) per scripts/withdrawn-datasets.json and is awaiting publication.
    • 23 datasets have no public failure issue (likely private/held under ADR 0089 such as on008192 with 1,452 .tif files, newly published such as ds009147, or older unimported/withdrawn sets).

Snapshot Breakdown (2026-12-03 UTC)

By modality (67 unique datasets; 2 overlap: ds008892 is eeg,nirs, ds009136 is eeg,motion)
Modality Missing count
eeg 46
meg 11
ieeg 6
nirs 5
motion 1
emg 0
By status & live OpenNeuro S3 probe
Bucket Total Live S3 200 Live S3 403 / Partial Empty S3 Prefix
Failed (nemarDatasets/.github#117 needs-triage) 26 21 4 1
No public failure issue (private/held/withdrawn/new) 23 20 2 1
Open/closed per-dataset failure issue 10 9 0 1
Withdrawn (upstream_403 in scripts/withdrawn-datasets.json) 4 4 0 0
Blocklisted (upstream_403_after_window in #172) 2 2 0 0
Recovered, unpublished (on007816) 1 1 0 0
Quarantined (nemarDatasets/.github#125 data-unavailable) 1 1 0 0

Complete table of all 67 missing OpenNeuro datasets in NEMAR scope
# OpenNeuro NEMAR ID Modalities Tag (Date) Subj Files Size (GB) Live S3 Status / GitHub Issue Title
1 ds003987 on003987 eeg 1.0.0 (2022-01-09) 23 557 27.45 200 OK (data) No public failure issue EEG: Amphetamine trials 5CCPT and Probabilistic Learning
2 ds004212 on004212 meg, mri 3.0.0 (2025-05-29) 4 2,896 255.22 200 OK (data) nemarDatasets/.github#81 THINGS-MEG
3 ds004284 on004284 eeg 1.0.0 (2022-10-03) 18 167 17.56 200 OK (data) No public failure issue eeg-neuroforecasting
4 ds004330 on004330 meg 1.0.0 (2022-11-08) 30 1,145 165.03 200 OK (data) No public failure issue The spatiotemporal neural dynamics of object recognition for natural images
5 ds004582 on004582 eeg 1.0.0 (2023-06-01) 73 881 315.92 200 OK (data) No public failure issue FakeFaceEmo_data
6 ds004770 on004770 ieeg 1.0.0 (2023-09-22) 10 93 9.33 200 OK (data) No public failure issue iEEG on children during gameplay
7 ds004771 on004771 eeg 1.0.0 (2023-09-25) 61 327 1.46 200 OK (data) No public failure issue EEG/ERP data from a Python Reading Task
8 ds004944 on004944 ieeg 1.1.0 (2024-04-11) 22 379 0.47 200 OK (data) nemarDatasets/.github#96 (closed) Dataset of BCI2000-compatible intraoperative ECoG
9 ds005113 on005113 eeg 1.0.0 (2024-04-25) 21 177 2.96 200 OK (data) nemarDatasets/.github#117 EEG: Flankers with varying luminance
10 ds005363 on005363 eeg 1.0.0 (2024-07-27) 43 306 19.01 200 OK (data) No public failure issue Object recognition in healthy aging (ORHA) - EEG
11 ds005662 on005662 eeg 2.0.1 (2026-02-06) 80 175 115.75 200 OK (data) No public failure issue A comprehensive EEG dataset for investigating visual touch perception
12 ds005697 on005697 eeg 1.0.2 (2024-12-10) 52 210 71.46 200 OK (data) No public failure issue PerceiveImagine
13 ds005841 on005841 eeg 1.0.0 (2025-01-14) 48 870 7.89 200 OK (data) No public failure issue EEG Experiment measuring ERPs in VR
14 ds006234 on006234 ieeg 1.0.1 (2026-10-24) 119 1,895 47.17 200 OK (data) No public failure issue Auditory naming
15 ds006254 on006254 ieeg 1.0.0 (2026-09-08) 30 208 168.30 200 OK (data) nemarDatasets/.github#114 IEEG CCEP Recording
16 ds006945 on006945 eeg, mri 1.2.1 (2026-02-18) 5 114 5.76 200 OK (data) No public failure issue T1-Weighted Structural MRI and fMRI/EEG
17 ds007521 on007521 eeg 1.0.1 (2026-03-18) 23 191 31.12 200 OK (data) No public failure issue The effect of hunger and state preferences
18 ds007541 on007541 eeg 1.0.2 (2026-05-07) 32 6,918 1.20 200 OK (data) No public failure issue ds007541
19 ds007703 on007703 ieeg 1.0.0 (2026-05-04) 2 55 12.29 403 Denied (meta) No public failure issue Single pulse electrical stimulation in white matter modulates iEEG
20 ds007721 on007721 eeg 1.0.1 (2026-04-28) 20 306 23.63 200 OK (data) nemarDatasets/.github#74 (closed) Bone conducted responses using parallel ABR
21 ds007801 on007801 eeg 1.0.0 (2026-09-07) 80 486 3.81 200 OK (data) nemarDatasets/.github#106 OpenNeuro EEG Dataset
22 ds007816 on007816 mri, nirs 1.1.1 (2026-09-08) 6 799 138.18 200 OK (data) Recovered, unpublished (withdrawn-datasets.json) Visual Semantic Encoding and Identification of Naturalistic Movies
23 ds007994 on007994 eeg, beh 1.0.0 (2026-07-21) 40 286 2.71 Empty S3 prefix No public failure issue Retinopathy
24 ds008003 on008003 eeg 1.1.0 (2026-09-06) 54 330 14.56 200 OK (data) nemarDatasets/.github#108 (closed) Working Memory Disruption and Altered Alpha Dynamics In Misophonics
25 ds008014 on008014 eeg 1.0.0 (2026-07-09) 78 940 62.26 200 OK (data) Withdrawn (upstream_403) Not passive sponges: When attention wanes
26 ds008017 on008017 meg, mri, beh 1.0.0 (2026-06-25) 15 759 241.68 200 OK (data) Withdrawn (upstream_403) Learning regularities in noise (ASRT MEG)
27 ds008034 on008034 meg, mri 1.1.0 (2026-10-22) 12 2,476 686.41 200 OK (data) No public failure issue MindSentences2025
28 ds008037 on008037 eeg, beh 1.0.2 (2026-11-22) 123 8,115 109.80 200 OK (data) No public failure issue The neural dynamics of working memory and TMS
29 ds008095 on008095 eeg, beh 1.0.0 (2026-07-16) 63 1,484 36.16 Empty S3 prefix nemarDatasets/.github#109 Longevity of the TIME effect
30 ds008099 on008099 eeg 1.0.0 (2026-07-04) 30 188 0.04 200 OK (data) Withdrawn (upstream_403) Pizza-topping meat/vegetarian word categorization (EMOTIV)
31 ds008101 on008101 meg 1.0.1 (2026-07-05) 1 12 1.44 Partial 403 (data) No public failure issue LibriBrain: Sherlock 1 sample
32 ds008104 on008104 eeg 1.0.1 (2026-07-22) 81 410 214.89 200 OK (data) No public failure issue FNR Effort Study EEG Dataset
33 ds008115 on008115 eeg 1.0.0 (2026-07-07) 180 726 0.14 200 OK (data) Withdrawn (upstream_403) ValidPain2 - Nociception Level Index
34 ds008161 on008161 eeg 1.0.4 (2026-07-14) 33 1,545 52.25 200 OK (data) No public failure issue Auditory-motor EEG (one-channel)
35 ds008192 on008192 nirs 1.0.5 (2026-07-31) 122 5,788 2.79 200 OK (data) No public failure issue (1,452 .tif held, ADR 0089) InterGenSynchrony Dataset
36 ds008322 on008322 eeg, beh 1.0.10 (2026-11-18) 20 377 7.72 200 OK (data) nemarDatasets/.github#117 Duorhythm: EEG hyperscanning
37 ds008349 on008349 eeg 2.0.1 (2026-08-17) 125 7,986 122.33 200 OK (data) nemarDatasets/.github#117 Comprehensive physiological dataset of pain
38 ds008462 on008462 meg, mri 1.1.3 (2026-10-30) 38 278 26.78 200 OK (data) nemarDatasets/.github#110 Elena Resting-State MEG Pilot Dataset
39 ds008544 on008544 nirs 1.0.0 (2026-10-17) 39 512 3.31 403 Denied (data) nemarDatasets/.github#117 Open mobile Diffuse Optical Tomography Dataset
40 ds008725 on008725 meg 1.0.2 (2026-08-28) 31 507 354.54 200 OK (data) nemarDatasets/.github#111 Memtrain MEG
41 ds008730 on008730 eeg 1.0.0 (2026-08-26) 104 2,599 46.96 200 OK (data) nemarDatasets/.github#112 Flavors of Reward Positivity
42 ds008798 on008798 nirs 2.1.0 (2026-09-28) 13 246 2.45 200 OK (data) nemarDatasets/.github#117 Disrupted functional connectivity during stroke recovery
43 ds008809 on008809 eeg 1.0.1 (2026-09-15) 13 1,227 30.00 200 OK (data) nemarDatasets/.github#117 ChineseInnerSpeech_HI
44 ds008834 on008834 eeg 1.0.4 (2026-11-20) 25 584 125.46 200 OK (data) nemarDatasets/.github#117 PKUEEG
45 ds008836 on008836 eeg 1.0.3 (2026-11-02) 39 442 72.67 200 OK (data) nemarDatasets/.github#117 Heartbeat-evoked responses in Vipassana
46 ds008837 on008837 eeg 1.1.3 (2026-11-13) 18 158 1.31 200 OK (data) nemarDatasets/.github#125 (data-unavailable) Neural and physiological dynamics before/after collision
47 ds008851 on008851 eeg 1.0.0 (2026-09-21) 60 548 0.24 200 OK (data) nemarDatasets/.github#117 EEG Data for Emotion Recognition: Alcohol Cue-Reactivity
48 ds008858 on008858 eeg 1.0.2 (2026-09-25) 18 116 0.15 403 Denied (data) nemarDatasets/.github#117 EEG Based MI-BCI Mouse Cursor Control Dataset
49 ds008859 on008859 eeg 1.0.2 (2026-09-25) 7 50 0.02 200 OK (data) nemarDatasets/.github#117 EEG MI-BCI Multidirectional Mouse Cursor Dataset
50 ds008861 on008861 meg, mri 1.0.1 (2026-09-25) 30 466 78.13 200 OK (data) nemarDatasets/.github#117 MEG+EEG and Structural MRI: Attended and Ignored Speech-Like Sounds
51 ds008867 on008867 eeg 1.0.0 (2026-09-24) 30 127 0.05 200 OK (data) nemarDatasets/.github#117 EEG and hedonic responses to sonic-seasoning soundscapes
52 ds008875 on008875 eeg 1.0.0 (2026-09-26) 252 1,265 10.03 200 OK (data) nemarDatasets/.github#117 Resting-state EEG in Parkinson's disease and controls
53 ds008878 on008878 eeg 1.0.0 (2026-09-29) 98 700 14.39 200 OK (data) nemarDatasets/.github#117 Chinese compound word priming EEG
54 ds008892 on008892 eeg, nirs 1.0.0 (2026-10-21) 40 2,237 1.89 403 Denied (data) nemarDatasets/.github#117 CuBiAAD: bimodal auditory attention dataset (EEG+fNIRS)
55 ds008894 on008894 meg, mri 1.0.0 (2026-10-02) 43 267 53.92 200 OK (data) nemarDatasets/.github#117 Attentional bias to death-related stimuli
56 ds008896 on008896 eeg 1.0.1 (2026-10-02) 95 386 0.39 200 OK (data) nemarDatasets/.github#117 Preprocessed EEG data in CLN3 disease
57 ds008940 on008940 eeg 1.0.0 (2026-10-12) 77 470 0.24 200 OK (data) Blocklisted 47d (upstream_403_after_window), #135 Dietary identity and neural categorization of food images
58 ds008959 on008959 ieeg 1.0.1 (2026-11-03) 8 45 0.00 200 OK (meta) nemarDatasets/.github#117 MetaMosquito
59 ds009033 on009033 eeg 1.0.0 (2026-10-28) 30 128 0.05 200 OK (data) nemarDatasets/.github#117 EEG and hedonic responses to sonic-seasoning soundscapes
60 ds009082 on009082 eeg 1.0.3 (2026-11-26) 54 5,248 0.06 200 OK (data) Blocklisted 17d (upstream_403_after_window), #135 EEG Lie Detection Dataset (Emotiv EPOC+)
61 ds009097 on009097 eeg 1.0.0 (2026-11-11) 15 90 0.01 200 OK (data) nemarDatasets/.github#117 Resting-state EEG of children with developmental dyslexia
62 ds009109 on009109 meg, mri 1.0.2 (2026-11-17) 20 1,863 179.48 Empty S3 prefix nemarDatasets/.github#117 LittlePrince_MEG_French_Distraction_2026
63 ds009126 on009126 meg, mri 1.0.0 (2026-11-18) 20 1,863 179.48 200 OK (data) nemarDatasets/.github#117 LittlePrince_MEG_French_Distraction_2026
64 ds009133 on009133 eeg 2.0.0 (2026-11-23) 42 2,248 203.11 403 Denied (data) nemarDatasets/.github#117 Effects of Active and Sham tDCS on Pain Perception
65 ds009134 on009134 eeg 1.0.0 (2026-11-23) 28 62 25.19 200 OK (data) nemarDatasets/.github#117 The neural processes of illusory occlusion in object recognition
66 ds009136 on009136 eeg, motion 1.0.0 (2026-11-21) 20 4,964 2.88 200 OK (data) nemarDatasets/.github#117 Real-World Multiactivity EEG-IMU Dataset
67 ds009147 on009147 eeg 1.0.0 (2026-11-30) 38 311 6.14 200 OK (data) No public failure issue Production effect in a remember/know paradigm

Proposed Action Items

  • Fix copy-phase upstream 403 detection and protect copy diagnosis from cascading finalize callbacks (PR #2641).
  • Re-import the 21 #117 datasets that are now HTTP 200 on OpenNeuro S3 (starting with fNIRS ds008798, motion ds009136, MEG ds008861/ds008894/ds009126, and the EEG sets).
  • Unblock / retry on008940 and on009082 (both parked as upstream_403_after_window and now HTTP 200 on OpenNeuro S3).
  • Re-check and recover/restore the 4 previously withdrawn upstream_403 datasets (on008014, on008017, on008099, on008115) that now return HTTP 200 on sampled data keys.
  • Publish on007816 (already recovered in full) and review private/held sets like on008192.
Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
4h 48m
Merged PRs (30d)
468

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nemarOrg/nemar-cli

All issues in nemarOrg/nemar-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.