Skip to content

Conversation

@develop-cs
Copy link
Collaborator

@develop-cs develop-cs commented Dec 20, 2024

What?

🚧 In progress Part 1 🚧

The main idea is to make meteole interfaces untied to models and clients. This would give meteole the ability to access various forecast models from different sources (i.e., from different clients).

Here are things to work on (only suggestions) in a second part:

  • The Forecast class is highly tied to MeteoFrance models --> Maybe we should extract common attributes and methods of forecast models into a BaseForecast (abstract class) and create another abstract class MeteoFranceForecast (base class of ArpegeForecast and AromeForecast, two concrete and final classes)?
  • Some cache mechanism is on disk --> Can we use in-memory cache instead?
  • Review all the docstrings
  • Code tests

Signed-off-by: develop-cs <43383361+develop-cs@users.noreply.github.com>
Signed-off-by: develop-cs <43383361+develop-cs@users.noreply.github.com>
Signed-off-by: develop-cs <43383361+develop-cs@users.noreply.github.com>
Signed-off-by: develop-cs <43383361+develop-cs@users.noreply.github.com>
@develop-cs develop-cs changed the title chore: refactoring (work in progress) chore: refactoring (part 1) Jan 2, 2025
@develop-cs develop-cs marked this pull request as ready for review January 2, 2025 14:50
Signed-off-by: develop-cs <43383361+develop-cs@users.noreply.github.com>
GratienDSX
GratienDSX previously approved these changes Jan 6, 2025
Copy link
Collaborator

@GratienDSX GratienDSX left a comment

Choose a reason for hiding this comment

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

Great work, it significantly improves overall readability. I left one comment for the sake.

ThomasBouche
ThomasBouche previously approved these changes Jan 6, 2025
@GratienDSX GratienDSX dismissed stale reviews from ThomasBouche and themself via f1e9103 January 6, 2025 13:19
GratienDSX and others added 2 commits January 6, 2025 14:19
Signed-off-by: GratienDSX <11066079+GratienDSX@users.noreply.github.com>
@GratienDSX GratienDSX merged commit d2cf40e into main Jan 6, 2025
4 checks passed
@GratienDSX GratienDSX deleted the feature/refactoring branch January 6, 2025 13:26
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.

4 participants