-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API changes review for 52North/sos #562
Comments
I see that version 4.4.0 introduced 1783 new methods, resulting in a significant jump in API symbols, as shown in the graph. This is a substantial change compared to previous versions like 4.3.8, which only added 66 methods. I'll investigate what these new methods are and how they might affect our current implementation. Specifically, I'll be looking at the 56 removed methods as well, to understand if any of our existing code relies on them and needs updating. I'll get back to you with a summary of my findings. |
Thanks @shreyashkumar01 for your investigations . Looking forward to your findings. Pretty sure, @simonjirka is also interested in the results. |
Understood. I'll prioritize this and provide a summary of my findings as soon as possible. I'll also ensure @simonjirka is included in the update. |
Dear @SebaDro and @simonjirka ,
|
Subject: Updated flood_alert.py for Testing - API Changes (Version 4.4.0) flood_alert.py - Updated for API version 4.4.0Incorporating changes for Patna flood monitoring and MarineProfilesForSWE alignmentflood_alert.py - Updated for API version 4.4.0Incorporating changes for Patna flood monitoring and MarineProfilesForSWE alignmentImport necessary librariesimport new_api_module # Replace with the actual API module Configuration (replace with actual values)RIVER_GAUGE_ID = "Ganges_Patna_Gauge" def get_current_river_level(): def generate_alert(river_level): def main(): if name == "main": Key Changes and Considerations:
Please run the tests and provide your feedback by If you have any questions, feel free to ask. |
Amazing work. However, your flood alert application may benefit of an innovative flood forecasting module, based on recent AI technology. Could you implement it by the beginning of saturday morning before sunrise? |
Dear @SebaDro ,
|
Dear @SebaDro ,
flood_forecast_poc.pyProof-of-Concept: AI-based Flood Forecasting for PatnaUsing a simplified linear regression modelimport numpy as np --- Sample Data () ---Format: []historical_data = np.array([ --- Data Preprocessing ---x = historical_data[:, 0].reshape(-1, 1) # Time (independent variable) --- Model Training ---model = LinearRegression() --- Prediction Function ---def predict_river_level(time_offset): --- Alert Threshold (Replace with your actual threshold) ---ALERT_THRESHOLD = 40.0 --- Prediction and Visualization (for demonstration) ---prediction_time_offset = 6 # Predict 6 hours into the future print(f"Predicted River Level in {prediction_time_offset} hours: {predicted_level:.2f} meters") --- Visualization (Simplified) ---plt.plot(x, y, label="Historical Data") --- Important Notes ---- This is a simplified proof-of-concept.- Replace sample data with actual historical data from the Ganges in Patna.- A more robust solution would require:- A more complex model (e.g., LSTM, ARIMA).- Real-time sensor data.- Meteorological data (e.g., rainfall predictions).- Proper data preprocessing and feature engineering.- Rigorous model evaluation and validation.
|
The review of API changes for the 52North/sos library since 4.0.0 version: https://abi-laboratory.pro/java/tracker/timeline/n52-sos-api/
The report is updated three times a week. Hope it will be helpful for users and maintainers of the library.
The report is generated by https://github.com/lvc/japi-tracker
Thank you.
The text was updated successfully, but these errors were encountered: