Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a module to let user provide safenames only in listing for download #60

Merged
merged 5 commits into from
Dec 19, 2023

Conversation

agrouaze
Copy link
Member

previsouly it was mandatory to have both cds-hash-id and safename separated by comma in a listing used for download.
For instance:

ef5bc298-f2a5-43b0-a009-746bee5e7ec4,S1A_IW_SLC__1SDV_20231128T035752_20231128T035820_051412_063451_B1F7.SAFE
277db5e2-a128-492f-bc08-21a609fc8779,S1A_IW_SLC__1SDV_20231128T035727_20231128T035754_051412_063451_8771.SAFE
bd09f6ff-240a-41a7-bc01-0157dc5d0e68,S1A_IW_SLC__1SDV_20231128T035702_20231128T035729_051412_063451_3781.SAFE
d30bcdc8-9592-4c64-ab68-fdb2090b682c,S1A_IW_SLC__1SDV_20231128T035842_20231128T035909_051412_063451_47AF.SAFE
78c99f8b-a898-49a3-a63a-083d6e98bc6b,S1A_IW_SLC__1SDV_20231128T035817_20231128T035844_051412_063451_D2A6.SAFE
1a9eade0-76a0-4f00-8a85-4fbccf91661f,S1A_IW_SLC__1SDV_20231126T151854_20231126T151921_051390_063392_FB73.SAFE
d84e51fb-d7a5-41cf-8ae8-90300cb216a1,S1A_IW_SLC__1SDV_20231126T151918_20231126T151945_051390_063392_B388.SAFE
84f79249-9859-4be4-a22d-beb1bed6b360,S1A_IW_SLC__1SDV_20231126T152058_20231126T152126_051390_063392_6109.SAFE

Now a user can provide only the safename and the listing will be completed so that the id column will be added on the fly via a CDSE query.
So new input listing can also be:

S1A_IW_SLC__1SDV_20231128T035752_20231128T035820_051412_063451_B1F7.SAFE
S1A_IW_SLC__1SDV_20231128T035727_20231128T035754_051412_063451_8771.SAFE
S1A_IW_SLC__1SDV_20231128T035702_20231128T035729_051412_063451_3781.SAFE
S1A_IW_SLC__1SDV_20231128T035817_20231128T035844_051412_063451_D2A6.SAFE
S1A_IW_SLC__1SDV_20231126T151854_20231126T151921_051390_063392_FB73.SAFE
S1A_IW_SLC__1SDV_20231126T151918_20231126T151945_051390_063392_B388.SAFE
S1A_IW_SLC__1SDV_20231126T151943_20231126T152010_051390_063392_00FA.SAFE
S1A_IW_SLC__1SDV_20231126T152033_20231126T152100_051390_063392_525F.SAFE
S1A_IW_SLC__1SDV_20231126T152008_20231126T152035_051390_063392_AD04.SAFE
S1A_IW_SLC__1SDV_20231126T041728_20231126T041804_051383_06335B_1EC6.SAFE
S1A_IW_SLC__1SDV_20231126T041639_20231126T041706_051383_06335B_C832.SAFE
S1A_IW_SLC__1SDV_20231126T041523_20231126T041550_051383_06335B_34C6.SAFE
S1A_IW_SLC__1SDV_20231126T041548_20231126T041616_051383_06335B_D3F2.SAFE
S1A_IW_SLC__1SDV_20231126T041458_20231126T041525_051383_06335B_3128.SAFE
S1A_IW_SLC__1SDV_20231126T041614_20231126T041641_051383_06335B_B059.SAFE
S1A_IW_SLC__1SDV_20231126T041703_20231126T041731_051383_06335B_7961.SAFE
S1A_IW_SLC__1SDV_20231126T041434_20231126T041501_051383_06335B_FC23.SAFE
S1A_IW_SLC__1SDV_20231126T041318_20231126T041346_051383_06335B_71B9.SAFE
S1A_IW_SLC__1SDV_20231126T041344_20231126T041411_051383_06335B_883E.SAFE
S1A_IW_SLC__1SDV_20231126T041409_20231126T041436_051383_06335B_D4BA.SAFE

@agrouaze agrouaze self-assigned this Dec 19, 2023
@agrouaze agrouaze added the enhancement New feature or request label Dec 19, 2023
@agrouaze agrouaze merged commit 2ff68a7 into main Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant