-
Notifications
You must be signed in to change notification settings - Fork 2
Asset file path #7
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
Conversation
Hmm, I'm thinking whether alignment with radiantearth/stac-spec#956 would help, specifically what I call |
I see the point with the discussion. What is an archive? Only a compressed files container or we consider the a whole set of files? |
Sorry for the slow response. Usually a container for files, e.g. ZIP, TAR, etc. In them, there's usually also a pre-defined path where to store the file after extraction. I'd also be fine to just re-use file:path in archive if that's the best solution, but it should be unambiguous. It feels like they serve the same or a very similar purpose, but maybe they are not? |
It serves the same purpose with a scope larger than only archive files. |
So I guess then we should use file:path and define it in a way that it works for both use cases and then archive can re-use this. |
Agreed |
@m-mohr any progress on this PR? Is the |
Oh, I thought you would propose a more generic description and I guess you thought I'd do it? Sorry about that. Unfortunately, I'm on vacation soon so I could only propose something after that, but I think the name and schema are fine, we just need to tweak the description a bit. So you can start using it and we'll just merge and release it later. I can probably finish this in early October together with the archive extension. |
@m-mohr is it ok with local_path ? |
Context
When downloading assets locally to run some software (e.g. ESA SNAP on S2), it expects the file organized as originally in the SAFE manifest. Assets may be distributed in the cloud and have lost this organizational information in its own url.
Proposed Solution
file:path
field to indicate a relative path that may be used to organize files as expected.