Skip to content

Change container type for grdmath dataset operators in the API - #2859

Merged
PaulWessel merged 3 commits into
masterfrom
api-grdmath
Mar 7, 2020
Merged

PaulWessel merged 3 commits into
masterfrom
api-grdmath

Conversation

@PaulWessel

Copy link
Copy Markdown
Contributor

Description of proposed changes

See issue #2476 for background. That solution had it backwards: we must check the next operator, not previous. So now we correctly flag operands as DATASET when they should be, but the example still does not work because of an other mode-related issue. Anyway, please approve this so I can move to the next step.

This PR only applies to API use from external interfaces.  Some operators (e.g., POINT, INSIDE, LDIST) imply a dataset operand and not a grid, so we need to pass this information along.  Addresses issue #2476.
@PaulWessel
PaulWessel requested review from joa-quim and seisman March 7, 2020 19:01
@PaulWessel
PaulWessel merged commit dede412 into master Mar 7, 2020
@PaulWessel
PaulWessel deleted the api-grdmath branch March 7, 2020 19:27
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