Fix waverider-17m-1d URL case inconsistency#38
Merged
Conversation
…ndling Co-authored-by: SBFRF <8375832+SBFRF@users.noreply.github.com>
Co-authored-by: SBFRF <8375832+SBFRF@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix case sensitivity inconsistency in waverider-17m gauge URL path
Fix waverider-17m-1d URL case inconsistency
Feb 2, 2026
SBFRF
approved these changes
Feb 2, 2026
SBFRF
marked this pull request as ready for review
February 2, 2026 02:29
SBFRF
added a commit
that referenced
this pull request
Feb 2, 2026
The file had corrupted content from line 1355 which was causing syntax errors. Reverted to correct syntax from PR #38 which was already merged.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes a case inconsistency in the waverider-17m-1d gauge URL path. The gauge identifier uses lowercase 'd' but the URL path incorrectly used uppercase 'D'. The fix normalizes to lowercase to match repository conventions and the pattern used by similar gauges like waverider-20m-1d.
Changes:
- Normalized URL path from
waverider-17m-1Dtowaverider-17m-1dto match repository conventions - Added
waverider-17m-1dtowaveGaugeListanddirectionalWaveGaugeList(previously only non-1d variant was registered) - Updated tests to verify case-insensitive input handling (both '1D' and '1d' variants work)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| murgtools/getdata/getDataFRF.py | Fixed URL path to use lowercase 'd' in waverider-17m-1d, added gauge to waveGaugeList and directionalWaveGaugeList |
| tests/test_getDataFRF.py | Updated tests to verify both case variants ('1D' and '1d') resolve to lowercase URL, added gauge to gauge list membership tests |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
waverider-17m-1dgauge URL path used uppercase 'D' (waverider-17m-1D) while the gauge identifier and similar gauges likewaverider-20m-1duse lowercase.Changes
waverider-17m-1D/waverider-17m-1D.ncmltowaverider-17m-1d/waverider-17m-1d.ncmlto match repository conventionwaverider-17m-1dinwaveGaugeListanddirectionalWaveGaugeList(previously only non-1d variant existed)'17m-1d','17m-1D','WAVERIDER-17M-1D'); existing.lower()normalization handles conversionTests updated to verify both input case handling and gauge list membership.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
chldata.erdc.dren.mil/usr/bin/python3 python3(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.