Wind Speed Data Population
File: populate_wind_speed_data.py
Features
Manages wind speed data in the database.
Utilizes SQLAlchemy and
tqdmfor database operations and progress tracking.Connects to the database using
DatabaseConnection.
Main Functions
create_wind_speed_data_table: Creates theWindSpeedDatatable if not present.clean_wind_speed_data_table: Clears theWindSpeedDatatable and resets its sequence.populate_wind_speed_data_table: Fills theWindSpeedDatatable from a CSV file, processing wind speed and pressure data.
Execution
Executes table creation, data cleaning, and data population for wind speed data upon running.
Last modified: 24 March 2024