Skip to content

Conversation

@eleanorfrajka
Copy link
Collaborator

@eleanorfrajka eleanorfrajka commented Sep 12, 2025

[CLEANUP] Move legacy code

Description:

Move legacy code for RODB format out of the main repository (into legacy/ subfolders).

Update documentation.

Checklist:

  • I have followed the coding conventions.
  • I have updated or added tests to cover my changes.
  • I have updated the documentation if needed.
  • I have run pytest to check that all tests pass.
  • I have run pre-commit run --all-files to lint and format the code.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Move legacy RODB/RAPID format processing code from the main package to a dedicated oceanarray.legacy module to improve code organization and clearly separate deprecated functionality from the modern CF-compliant workflow.

  • Moved legacy RODB processing modules to oceanarray.legacy subdirectory
  • Updated import statements throughout the codebase to reference the new legacy module locations
  • Created comprehensive documentation for the legacy modules with migration guidance

Reviewed Changes

Copilot reviewed 19 out of 27 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/test_tools.py Updated imports to use legacy module paths for RODB processing functions
tests/test_stage2.py Minor spelling correction in skip message for better clarity
tests/legacy/ Created new test directory for legacy RODB processing tests with reorganized imports
oceanarray/legacy/ New legacy module with reorganized RODB processing code and updated internal imports
notebooks/legacy/ Added documentation explaining deprecation of legacy notebooks
docs/source/ Updated documentation to reflect legacy module reorganization and deprecation
README.md Completely restructured to focus on modern processing pipeline with legacy modules noted as deprecated

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ocean-uhh ocean-uhh deleted a comment from Copilot AI Sep 13, 2025
eleanorfrajka and others added 3 commits September 13, 2025 06:33
- Fix missing python-version parameter in setup-python action
- Change Python version from 3.12 to 3.11 to match local environment
- Make logging test more robust to handle CI environment differences
- Specify oceanarray logger explicitly in caplog.at_level()
- Make log message assertion conditional on caplog.text content

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@eleanorfrajka eleanorfrajka merged commit 325d386 into main Sep 13, 2025
4 checks passed
@eleanorfrajka eleanorfrajka deleted the eleanor-patch-21 branch September 13, 2025 04:45
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