Skip to content

Make zips of dual access grids#989

Merged
ansoncfit merged 5 commits intodevfrom
abyrd/geotiff-zip-dual
Dec 23, 2025
Merged

Make zips of dual access grids#989
ansoncfit merged 5 commits intodevfrom
abyrd/geotiff-zip-dual

Conversation

@ansoncfit
Copy link
Copy Markdown
Member

No description provided.

abyrd and others added 5 commits December 9, 2025 00:36
@abyrd
Copy link
Copy Markdown
Member

abyrd commented Dec 10, 2025

Thanks for the change to extract valid dual thresholds @trevorgerhardt. While reviewing and testing this I noticed we have code paths to infer appropriate cutoff and percentile values when the parameters are missing. I believe this capability hasn't been used for a very long time and stricter validation would be more appropriate. I tried removing this inference and factoring out some of the repetitive validation logic, using more readable constructs like Arrays.toString, List.of, and Ints.contains. See two added commits.

I have tested this via the web UI and CURL API access, with all query parameters absent, present, correct, and incorrect, and all code paths seem to work as intended.

Copy link
Copy Markdown
Member Author

@ansoncfit ansoncfit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I opened the PR so I cannot select "approve"; I'll go ahead and merge.

@ansoncfit ansoncfit merged commit d4e60d3 into dev Dec 23, 2025
3 checks passed
@ansoncfit ansoncfit deleted the abyrd/geotiff-zip-dual branch December 23, 2025 20:42
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