Skip to content

Conversation

DennisHeimbigner
Copy link
Collaborator

@DennisHeimbigner DennisHeimbigner commented Oct 9, 2023

Prior to this PR, DAP4 always fetched the whole (constrained) dataset This PR changes the query processing so

  1. It reads data on a per-variable request (equivalent to calling nc_get_var()).
  2. It tracks a response for every query.
  3. The responses are cached so that the data for a variable is only requested once.

Most of the changes reflect having to do per-variable requests. In any case, doing all this significantly reduces the amount of data transmitted and hence speeds up DAP4 requests.

Prior to this PR, DAP4 always fetched the whole (constrained) dataset
This PR changes the query processing so
1. It reads data on a per-variable request (equivalent to calling nc_get_var()).
2. It tracks a response for every query.

Most of the changes reflect having to do per-variable requests.
In any case, doing all this significantly reduces the amount of data transmitted and hence speeds up DAP4 requests.
@WardF WardF merged commit 0d09cf8 into Unidata:main Nov 16, 2023
@DennisHeimbigner DennisHeimbigner deleted the dap4ce.dmh branch November 21, 2023 01:22
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.

2 participants