DMSC Integration Testing

Last updated: February 03, 2026 06:02:03

Test: ingestor|dream|file_found_by_scicat_is_consistent_with_manual|

None

None

None

None

None

None

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00016326.hdf') in [PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00016340.hdf'), PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00016333.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

None

None

None

None

None

None

None

None

None

None

None

None

None

None

None

None

None

None

None

None

None

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00013266.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00013126.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00012986.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00012839.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00012713.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00012560.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00012423.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00012283.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00012143.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00011996.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00011863.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00011723.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/2025/999999/raw/dream_999999_00011577.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00011558.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00011481.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00011348.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/coda_dream_999999_00011215.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011151.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011144.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

instrument = 'dream', coda_proposal_id = '999999'

def test_file_found_by_scicat_is_consistent_with_manual(
instrument: str,
coda_proposal_id: str,
) -> None:
scicat_path = scicat.get_latest_coda_nexus_path(
proposal_id=coda_proposal_id, instrument=instrument
)
raw_paths = coda.get_latest_nexus_paths(
proposal_id=coda_proposal_id,
instrument=instrument,
n=2,
)

# Resolve symlinks because the raw folder is symlinked to `/ess/data`
# and we don't care whether we access files through links or regular paths.
scicat_path = scicat_path.resolve()
raw_paths = [path.resolve() for path in raw_paths]

> assert scicat_path in raw_paths
E AssertionError: assert PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011018.hdf') in [PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011074.hdf'), PosixPath('/ess/raw/coda/999999/raw/dream_999999_00011067.hdf')]

tests/ingestor/ingestor_test.py:39: AssertionError

None

None

None

None