Skip to content

Add support for joins#25

Open
lindholc wants to merge 1 commit into
mainfrom
joins
Open

Add support for joins#25
lindholc wants to merge 1 commit into
mainfrom
joins

Conversation

@lindholc
Copy link
Copy Markdown
Member

@lindholc lindholc commented Jun 1, 2026

Adds support for making joins using the read_data function.

Example (also in the README):

df = read_data(
    "https://example.org/latis/dap2",
    ["dataset1", "dataset2"],
    "yyyy-mm-dd",
    "yyyy-mm-dd"
)

We will make a request to the join service if 1) the LaTiS instance being queried is assumed to be a LaTiS 3 instance (base URL ends with /dap2) and 2) read_data is given a list or tuple of dataset identifiers. If the LaTiS instance is assumed to be a LaTiS 2 instance, we'll raise an exception.

This guesses the join service URL by replacing /dap2 with /join. Queries are passed to the endpoint like a /dap2 request and the results of /dap2 and /join queries are handled exactly the same.

@lindholc lindholc requested a review from dlindhol June 1, 2026 20:48
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