Skip to content

BUG - latest version flag does not return all expected files #289

@maxinelasp

Description

@maxinelasp

Description of the issue

When running a query with --version latest, I am not seeing all the expected files. It only returns the latest files for the first descriptor alphabetically.

Steps to reproduce the issue

imap-data-access query --instrument mag --data-level l1d --start-date 20251128 --end-date 20251129
Found [48] matching files in science table

imap-data-access query --instrument mag --data-level l1d --start-date 20251128 --end-date 20251129 --version latest
Found [2] matching files in science table

--> should be 16, as there are 8 descriptors

Expected behavior (What should happen)

imap-data-access query --instrument mag --data-level l1d --start-date 20251128 --end-date 20251129 --version latest
Found [16] matching files in science table

Actual behavior (What does happen)

No response

Code Snippet:

Code

Additional notes, affected areas, and suggested fixes

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions