WeatherLog 4.9

Changes (Features)

  • JSON export changes:
    • Export can now save data as JSON.
    • Export and Export to Pastebin will now indent JSON data by default. This increases the file size but makes it much easier to be read by humans.
    • Added options for JSON indenting and JSON indent amount.
  • Changed menu item ‘View Data Subset’ to ‘Data Subset’ for more consistency.
  • Add Dataset now filters some characters in the dataset name input. This should mean that a user will have more immediate feedback about what dataset names are allowed before the validation occurs.

Changes (Code)

  • Changed all appearances of ‘profile’ to ‘dataset’. Finally. Anything viewable by the user (aside from one little thing I only found this update) was already changed a long while ago, this change affected the last of the variable names and comments that used the old name.
  • Comment clean up. This will never end.
  • List updates will now be faster with large datasets when ‘truncate notes’ option is off.
  • calculations.py:median() now uses statistics.median() if possible. The statistics module was added in Python 3.5, so most Python installations will still use WeatherLog’s implementation.
  • Simplified copy_data_dataset().
  • Renamed get_dates() to get_datetimes() and moved it from graphs.py to dates.py.
  • Fixed warning appearing when opening the About dialog.
  • Moved graph hatch and line dicts into appdata/graphs.json. These were previously in graph_dialog.py.
  • Changed check for unit types in Add New and Edit dialogs to be more sensible.
  • Removed config file ‘lastprofile’. This had not been used in a few updates, but the application would still create it on first launch.

Changes (Bugfixes)

  • Fixed check of incorrect dialog response in Options reset. This issue meant that no matter what the user clicked in the confirmation dialog, whether it was Ok, Cancel, or even the close button, the options would always be reset.
  • Fixed error that would occur in Import when Import and Overwrite was clicked and no file name was entered.
  • Fixed dialog title using ‘Profile’ instead of ‘Dataset’.

Download

Downloads and code are available on Github.
Project page: https://github.com/achesak/weatherlog
Release page: https://github.com/achesak/weatherlog/releases/tag/v4.9

Advertisements

WeatherLog 4.8

This update is entirely internal changes that should not be visible to the user.

Changes (Code)

  • Added new commands.py module for command line features.
  • Added new function datasets.py:get_column_list(). This works similarly to datasets.py:get_column(), but accepts multiple columns instead of one.
  • Simplified getting lists of dates, using the previously mentioned function. Any other code that could be simplified in the same way will be when found.
  • Usage of update_list(), update_title(), and save() is now more consistent.
  • Removed extra, unnecessary calls to update_list().
  • Simplified save().
  • File headers, descriptions, and module imports are now more consistent. This sounds like a simple change, and individually it was, but it affected every file of code in the application. The files now more clearly state their purpose, and they are formatted identically as well.

Changes (Bugfixes)

  • Fixed non-option configuration data occasionally being overwritten. This bug did not affect any user-entered configuration, of the type entered in the Options dialog. It only affected internal configuration that must be manually edited. No options should have been lost as a result of this.

Download

Downloads and code are available on Github.
Project page: https://github.com/achesak/weatherlog
Release page: https://github.com/achesak/weatherlog/releases/tag/v4.8

WeatherLog 4.7

Changes (Features)

  • Bar charts now only use integers on the y-axis. It didn’t really make sense to x.5 of a day of weather.
  • Charts changes:
    • Added extra spacing to columns in Charts. This should make it much easier to read, as before everything was very compact.
    • Simplified display of data in Charts:
      • Any field that previously was “X Value” is now simply “X”. For example, “High Value” became “High”.
      • Fields displaying a numerical difference are no longer formatted with “above” or “below” but instead plus or minus signs. For example, “5.4 above” became “+ 5.4”.
  • Changed error message for Export to Pastebin to be more descriptive and better match the error messages used for Add New and Get Weather.
  • Data Subset changes:
    • Changed name of “condition” to “operator”. This is because “condition” was used to refer to both the operator used (equal to, greater than, etc) and the entire comparison (data field, operator, and value).
    • Added case insensitive option to Data Subset.
  • Added option for default selection mode for Data Subset.
  • Added longer and more descriptive confirmation text for Clear All.
  • Get Weather now rounds temperature, pressure, and precipitation values to one digit instead of to integers. This fixes oddities like days with “0 cm” of rain.
  • Added Control-Shift-w keybinding for Get Weather For.

Changes (Code)

  • Renamed new_dialog.py to add_dialog.py.
  • Moved check to see if matplotlib is installed to a function in the launch module.
  • data_range() and data_selected() now use application constants to determine the info type instead of strings.

Changes (Bugfixes)

  • Fixed Gtk throwing a warning when the application first started.
  • Fixed Add New not formatting dates properly when a new date was selected. All dates in WeatherLog are supposed to be formatted as “dd/mm/yyyy”. Changing the date in Add New when the day or month was a single digit could result in shortened dates like “d/m/yyyy”. To be clear, this was a display issue only; the unintentional date format still worked, and any data that is formatted this way will continue to work.

Download

Downloads and code are available on Github.
Project page: https://github.com/achesak/weatherlog
Release page: https://github.com/achesak/weatherlog/releases/tag/v4.7