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

Clarify resolution of relative links used by multi-level datasets #636

Closed
forman opened this issue Mar 3, 2022 · 1 comment
Closed

Clarify resolution of relative links used by multi-level datasets #636

forman opened this issue Mar 3, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request xcube gen This is related to data cube generation, CLI "xcube gen" xcube serve This is related to server component, CLI "xcube serve"

Comments

@forman
Copy link
Member

forman commented Mar 3, 2022

Is your feature request related to a problem? Please describe.

Following the xcube Multi-Resolution Datasets Specification, relative links should be relative to a multi-level dataset's top-level directory. This is not yet consitently implemented in xcube:

  1. if such datasets are opened using the filesystem data stores, such as "file" or "s3", relative links are resolved against the data store's root directory.
  2. in other places either relative links don't work at all ("s3" paths) or are resolved against the current working directory.

Describe the solution you'd like

Resolve relative links consitently against the multi-level dataset's top-level directory.

EDIT

In the longer term, filesystem data stores should be the only way open and write any datasets, see #516.

@forman forman added enhancement New feature or request xcube serve This is related to server component, CLI "xcube serve" xcube gen This is related to data cube generation, CLI "xcube gen" labels Mar 3, 2022
@forman forman self-assigned this Mar 3, 2022
@forman
Copy link
Member Author

forman commented Mar 9, 2022

Closed by #637

@forman forman closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request xcube gen This is related to data cube generation, CLI "xcube gen" xcube serve This is related to server component, CLI "xcube serve"
Projects
None yet
Development

No branches or pull requests

1 participant