Skip to content

Conversation

@j-atkins
Copy link
Collaborator

@j-atkins j-atkins commented Oct 9, 2025

This PR focuses on refactoring logic for input dataset fetching by consolidating into a base InputDataset class and a child class (e.g. CTDInputDataset) per instrument, in line with V1 aims.

This new model and instrument classes are now also used in virtualship fetch to reduce the amount of repeated logic there. This also works towards reducing the number of areas in the codebase where instrument-related logic is defined. A future PR will continue this by refactoring the instrument simulation logic in the same base class -> child class fashion.

  • Write tests for InputDataset base class and update other existing tests

@j-atkins j-atkins marked this pull request as draft October 17, 2025 13:31
@j-atkins j-atkins force-pushed the instrument-refactor branch from bbfaf8b to c4ddea1 Compare October 22, 2025 13:29
@j-atkins j-atkins marked this pull request as ready for review October 22, 2025 14:04
@j-atkins j-atkins changed the title Instrument refactoring Refactor input datasets Oct 22, 2025
@j-atkins j-atkins requested review from VeckoTheGecko and removed request for VeckoTheGecko October 22, 2025 14:15
@j-atkins j-atkins marked this pull request as draft October 27, 2025 16:32
@j-atkins j-atkins force-pushed the instrument-refactor branch from 46140e9 to a5d10e7 Compare November 3, 2025 12:48
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