Version 1.4.1 - July 31, 2024
Summary
This release includes significant bug fixes and improvements to enhance the stability and functionality of the iceicedata
application. Key updates involve timestamp parsing, wind direction handling, MQTT publishing, and integration of local changes with remote updates.
Changelog
Bug Fixes
-
Timestamp Parsing Fixes:
- Corrected the parsing logic for timestamps to handle the format
07/31/2024 12:30:04 pm
. - Updated the
database.py
to ensure correct parsing and storage of timestamp values.
- Corrected the parsing logic for timestamps to handle the format
-
Wind Direction Handling:
- Implemented logic to convert compass bearing wind direction values (e.g., "N", "NW") into numeric values for MQTT publishing.
- Ensured that numeric wind direction values in string format are converted to floats before publishing.
-
MQTT Publishing Enhancements:
- Improved the handling of
wind_speed
andwind_direction
data for the-w
option to ensure both are published as numeric values. - Added checks to ensure
wind_direction
is correctly converted and published.
- Improved the handling of
Code Improvements
-
Updated
data_processing.py
:- Added missing import statements for
split_value_and_unit
,convert_timestamp_to_unix_ms
, andconvert_compass_to_degrees
. - Modified the
process_data
function to return four values:data
,None
,station_name
, andattribute_descriptions
. - Added logging for attribute descriptions to improve debugging and data integrity.
- Added missing import statements for
-
General Improvements:
- Enhanced logging and error handling across the application.
Notes
- This version focuses on improving the robustness and accuracy of data processing and publishing, particularly in handling timestamps and wind direction values.