-
Notifications
You must be signed in to change notification settings - Fork 0
Fix #33: Correct case sensitivity in waverider-17m-1d THREDDS path #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -1354,7 +1354,7 @@ def _waveGaugeURLlookup(self, gaugenumber): | |||||
| self.dataloc = 'oceanography/waves/awac-jpier-11m/awac-jpier-11m.ncml' | ||||||
| # New waveriders | ||||||
| elif str(gaugenumber).lower() in ['waverider-17m-1d', '17m-1d']: | ||||||
|
||||||
| self.dataloc = 'oceanography/waves/waverider-17m-1D/waverider-17m-1D.ncml' | ||||||
| self.dataloc = 'oceanography/waves/waverider-17m-1d/waverider-17m-1d.ncml' | ||||||
|
||||||
| self.dataloc = 'oceanography/waves/waverider-17m-1d/waverider-17m-1d.ncml' | |
| self.dataloc = 'oceanography/waves/waverider-17m-1d/waverider-17m-1d.ncml' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Critical syntax error: This line is malformed and will cause a SyntaxError at runtime. The line contains invalid Python syntax with "d/waverider-17m-1d" appearing without proper string quotes or closing bracket. The line should be properly formatted as:
elif str(gaugenumber).lower() in ['waverider-17m-1d', '17m-1d']:to match the pattern used for similar gauges (see line 1358 for waverider-20m as reference).