rilling / OpenTracks-Winter-SOEN-6431_2024

OpenTracks is a sport tracking application that completely respects your privacy. SOEN 6431
https://OpenTracksApp.com
Apache License 2.0
0 stars 65 forks source link

Expand the Weather Information Model #113

Closed mihirgediya2001 closed 4 months ago

mihirgediya2001 commented 6 months ago

Describe briefly your feature. This task involves enhancing the existing WeatherInfo model by adding additional attributes to store comprehensive weather data. The new attributes may include humidity, wind speed, atmospheric pressure, visibility, and other relevant weather parameters found from the given api.

Describe the solution you'd like The solution entails extending the WeatherInfo class to include new attributes for the additional weather parameters. Accessor and mutator methods should be implemented to read and update the new attributes.

Describe alternatives you've considered An alternative approach could involve creating separate subclasses or extension classes for specific weather conditions (e.g., RainyWeatherInfo, SunnyWeatherInfo) to manage a broader range of weather scenarios. However, integrating all attributes into a single WeatherInfo class is preferred for simplicity and maintainability.

Additional context Consider researching familiar weather data sources and APIs to identify additional parameters relevant to the application's use cases. Additionally, ensure compatibility with existing API integrations and data retrieval mechanisms to accommodate the expanded weather information model.