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

Refactor DAP4 CDM file reading #570

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

lesserwhirls
Copy link
Collaborator

Previously, reading datasets via the CDM was reliant upon extracting a filesystem path from the incoming request through implementation of the abstract method dap4.servlet.DapController#getResourcePath. This has been refactored to use dap4.servlet.DapController#getCDMWrap as the abstract method used to interface the CDM reading code. D4TS continues to use the getResourcePath code in its implementation of getCDMWrap. The TDS utilizes TdsRequestedDataset in its implementation, which takes care of virtual datasets, such as NcML aggregations, object storage based data, etc., as well as authentication/authorization.

Fixes #568

Previously, reading datasets via the CDM was reliant upon extracting a
filesystem path from the incoming request through implementation of the
abstract method dap4.servlet.DapController#getResourcePath. This has
been refactored to use dap4.servlet.DapController#getCDMWrap as the
abstract method used to interface the CDM reading code. D4TS continues
to use the getResourcePath code in its implementation of getCDMWrap. The
TDS utilizes TdsRequestedDataset in its implementation, which takes care
of virtual datasets, such as NcML aggregations, object storage based
data, etc., as well as authentication/authorization.

Fixes Unidata#568
@lesserwhirls lesserwhirls merged commit bffef7a into Unidata:main Feb 13, 2025
4 checks passed
@lesserwhirls lesserwhirls deleted the dap4 branch February 13, 2025 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DAP4 and non-filesystem based dataset
2 participants