Skip to content

Conversation

@jgallagher59701
Copy link
Member

We have had a long-standing back-and-forth regarding the ERDDAP notation for value based subsetting. I thought I'd revisiting the issue and take this opportunity to update the grid() and maybe geogrid() server functions so they work with DAP4. This branch is the start of that, looking at the syntax that ERDDAP uses and modifying the DAP4 CE parser to recognize it.

What is not so good is that a problem shows up. Using the new
syntax [(45.6)] fails because the '.' scans as a PATH_SEP, and
that breaks everything. This is why I added NUMBER before. But,
that causes its own set of parsing issues. Try FLOAT and add
rules in the parser for both [(FLOAT)] and [(WORD)]?
@jgallagher59701 jgallagher59701 marked this pull request as draft December 22, 2025 18:18
@ndp-opendap
Copy link
Contributor

To be clear, are you talking about implementing what is described on the ERDDAP/GridDap web page?

@sonarqubecloud
Copy link

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.

3 participants