Skip to content

Update dependent code and examples to use snake_case names (Phase 5)#62

Merged
SBFRF merged 1 commit into
mainfrom
feature/issue-53-phase5-update-dependent-code
Jul 17, 2026
Merged

Update dependent code and examples to use snake_case names (Phase 5)#62
SBFRF merged 1 commit into
mainfrom
feature/issue-53-phase5-update-dependent-code

Conversation

@SBFRF

@SBFRF SBFRF commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

Updates all internal code, examples, and docstrings to use the new snake_case method names introduced in Phase 3+4.

Changes

Internal Code

  • murgtools/getdata/getPlotData.py: getALTget_alt, docstring updated

Examples

  • examples/get_latest_argus.py: findArgusImageryfind_argus_imagery
  • examples/test_wave_and_imagery.py:
    • getWaveDataget_wave_data
    • findArgusImageryfind_argus_imagery

Docstrings

  • Internal implementation method docstrings updated to reference snake_case names
  • getArgusPixelIntensity docstring updated

Test plan

  • All 239 tests pass
  • No remaining old method names in internal code or examples
  • Deprecated aliases still available in __init__.py for backward compatibility

Closes #53

🤖 Generated with Claude Code

Internal code updates:
- murgtools/getdata/getPlotData.py: getALT -> get_alt, docstring update

Example updates:
- examples/get_latest_argus.py: findArgusImagery -> find_argus_imagery
- examples/test_wave_and_imagery.py: getWaveData -> get_wave_data,
  findArgusImagery -> find_argus_imagery

Docstring updates:
- _getCurrents_impl, _getWind_impl, _getWL_impl, _getALT_impl docstrings
- getArgusPixelIntensity docstring references

Closes #53

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 17, 2026 16:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR continues the multi-phase API rename by updating remaining call sites, examples, and docstrings to use the newer snake_case method/function names (while keeping deprecated aliases available for compatibility).

Changes:

  • Updated getALT usage in plotting utilities to get_alt.
  • Updated Argus helper references in examples (findArgusImageryfind_argus_imagery) and wave retrieval (getWaveDataget_wave_data).
  • Updated internal docstrings to reference snake_case names (e.g., get_currents, get_wind, get_wl, get_alt, get_argus_imagery, find_argus_imagery).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
murgtools/getdata/getPlotData.py Switches plotting helper code/docstrings to snake_case data-access methods.
murgtools/getdata/getDataFRF.py Updates implementation/docstring references to snake_case method/function names.
examples/test_wave_and_imagery.py Updates example imports and calls to snake_case wave/Argus APIs.
examples/get_latest_argus.py Updates Argus imagery lookup usage to find_argus_imagery.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


def _getCurrents_impl(self, gaugenumber, roundto):
"""Internal implementation of getCurrents (without caching)."""
"""Internal implementation of get_currents (without caching)."""
@SBFRF
SBFRF merged commit cf204bc into main Jul 17, 2026
5 checks passed
@SBFRF
SBFRF deleted the feature/issue-53-phase5-update-dependent-code branch July 17, 2026 21:17
@SBFRF SBFRF mentioned this pull request Jul 17, 2026
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.

[Phase 5] Update dependent code and examples

2 participants