Repository navigation
Garmin Running Data Normalizer v2.3.0
These are the release notes for v2.3.0, which adds to the view page of the
local GUI the laps of an activity and the work laps of the shoes, read from
the FIT files of the Snapshot Store only when asked for, the race days by day
and over 2 or 4 weeks, the highest period of each year, pictures saved as PNG
in the sizes of posts, why a period of a panel left records out, and the
records that changed since the output before. It also fixes the questions of
the bar, the half-written files of a write on Windows, the table of six races,
the window of Save as image…, the windows above the panels in a narrow
window, and the notes and the charts of the panels. Version 2.3.0 is the
current stable release, published from the release-ready main source after
the v2.3.0 tag, GitHub Release, and Production PyPI publication gates. For
the same input, timezone, and options, the normalization, its outputs, and
the Snapshot Store are those of v2.2.1.
Added: the laps of an activity
- Laps… in a row of the list of the activities of a day, week, month, or
year opens the window of the laps of that activity, at the right above the
panels. The kinds of the laps are as the watch recorded them in the FIT
file: Warm Up, Active, Interval, Recovery, Rest, Cool Down, and Unknown (a
lap with no kind recorded, or of another kind). - The window holds the summary by kind (laps, time, distance, average pace,
average heart rate) and the table of the laps (lap, kind, time, distance,
pace, average and maximum heart rate, cadence). The time is the timer time,
without the pauses. - An output does not hold the kinds of the laps, so the view page reads the
FIT file of the activity from the Snapshot Store that the GUI remembers,
only when Laps… is pressed. It writes nothing and sends nothing. Where
the laps cannot be shown, the window says why, and what to do where
something can be done; for an output normalized without the Snapshot Store,
Laps… is gray, and the reason is under the list.
Added: the work laps of the shoes
- In By shoes, Count the work laps… and then Read read the FIT
files of the runs with shoes of the period from the Snapshot Store, and show
the table Work laps (Active, Interval) by pair: the work distance, time,
average pace, and average heart rate of each pair, and the runs counted and
not counted. Warm Up, Recovery, Rest, Cool Down, and laps of no known kind
are not counted. Stop stops the reading.
Added: years and race days
- Compare years by race day can be grouped by Day (Week at
first): every race is lined up on its race day at the right end, and its
days are placed by how many days they are before it. Span can also go
from 2 or 4 weeks before to the race day. - The last line of a picture saved from a comparison of race days names the
grouping, by week too; 2.2.x has no such line. - The highest period of each year (with one month chosen, of that month) and
of the span of each race is marked: a ▲ in the table with a note under it,
"▼Highest …" in the heading of a row, and a small ▼ over its bar (of an item
drawn as a line, over its point). Every item has it; of the average pace, it
is the slowest period, the one with the largest time ÷ distance.
Added: why records were left out
- The second line at the top right of a panel gives the number of records
left out of the value of the step, and why, such as "3 not counted: no
value". A step that left nothing out has an empty second line, so that a
panel keeps its height as the vertical line moves; a narrow panel keeps one
line. - In the list of the activities of a period, a row not counted says why, such
as no value or no time, and a line under the value of the panel
gives their number. - About this panel tells apart the activities whose distance or time is 0
or less and those whose times disagreed and were left empty, and, on a
panel of Body (daily) or Garmin estimates, gives the days and the
records without a value.
Added: the records that changed since the output before
- On the normalization page, a line under the lines of the result gives the
numbers of the records that changed since the output before: the
activities new, with values changed, with shoes changed, and in the output
before only, and the pairs of shoes new, changed, and in the output before
only. Where a record changed, Compare on the view page opens Compare
with the output before on the view page. - Compare with the output before, in Other views of the view page,
lists those records, newest first, with up to 500 rows in each list. It
compares the columns of the list of a period and the shoes; the names and
the shoes are compared only where both outputs could read them. It
remembers nothing, and it is not saved as an image. - Both work only for two outputs normalized the same way, by the same
version, and with the same timezone: from the second output that v2.3.0
makes.
Added: pictures as PNG
- With PNG under Format in the window of Save as image…, the
picture becomes a PNG in the sizes of posts seen on a phone: 4:5 portrait
(1080×1350) (the first), 1:1 square (1080×1080), or 9:16 portrait
(1080×1920) under Size. A PNG draws the charts again about as wide as
the screen of a phone and makes them 2.5 times as fine; the numbers are
those of the page. Where the panels do not fit in its frame, the window says
so and saves nothing.
Changed
- The view page shows the cadence in steps per minute (both feet). Garmin's
files record it of one foot, so the view page doubles it; up to 2.2, it
showed the value as recorded, half of what the watch shows. The values of
the outputs and the CSV files ofseriesdo not change, and a picture saved
with 2.2.x shows the value as recorded. - The view page reads FIT files of the Snapshot Store that the GUI remembers
only when the laps of an activity are shown or the work laps of the shoes
are counted, and writes nothing in the store. Otherwise it reads only an
output, as before. - In pictures, in SVG as in PNG, the space after " · " of the line at the
bottom is back in English (it was lost in 2.2.0), and words wrap neither
inside an English word, nor between a number and its unit, nor right before
or after brackets and punctuation. - The GUI Guide (English and Japanese) says what 2.3.0 changes, and its
pictures of the whole page are taken again with 2.3.0.
Fixed
- The questions Quit this app? and Forget the remembered settings?,
and the question of cancelling a normalization, close by Escape wherever
the focus is while they show. Where two or more show, each Escape closes
one: the one that holds the focus, else the one that opened last. In 2.2.1,
Escape closed one only while the focus was in it. - On Windows, for ten minutes after this app stopped in the middle of a
write, the half-written file stays: the bar now says so, and Forget the
remembered settings… can still be pressed; once the ten minutes have
passed, press it again. In 2.2.1, the button could not be pressed until the
page was loaded again. - In Compare years by race day, the names of the races in the headings of
the table wrap between letters where they do not fit, so that at
1366 × 650 and 1470 × 830 the table does not move sideways in its box, even
with six long names without spaces, in English and in Japanese. - The window of Save as image… keeps its end (why it cannot save,
Cancel, and Save) at its bottom, with what it saves and the warning
before saving at its top; the note on the names of the marks shows under
the choice of the marks, and the window always opens from its top. In 2.2.1,
at 1366 × 650, Save of some of these windows was below the bottom of the
screen until the window was scrolled, in English and in Japanese. - In a narrow window, the windows of Summary…, Marks…, and Other
views and the window of the laps stay inside the part of the page right
of the item shelf, and move up inside it where little room is left under
their row; with the item shelf folded, the list of Add items scrolls
above the bar at the bottom. In 2.2.1, in a window 1000 pixels wide or
narrower, the left of the windows of Summary…, Marks…, and Other
views could be cut, and, with the item shelf folded, the end of the list
of Add items was under the bar at the bottom, also at 1470 × 830. - The notes of a panel (About this panel) open in place, under its row of
numbers and above its chart, and cover nothing; their button closes them
again, and so does Escape in the panels. A panel is never lower than what
it holds, and where the panels do not fit, they scroll. In 2.2.1, the notes
opened as a window over the chart that could cover their own button (in
English at 900 × 1000, 984 × 970, 1366 × 650, 1415 × 970, and 1470 × 830,
and in Japanese at 900 × 1000, 984 × 970, and 1280 × 690), and at
984 × 970 and 900 × 1000 the chart of a panel could run over the heading of
the next one.
Output changes
Outputs record product_version 2.3.0, and what is made from a Snapshot
Store also records parser_version 2.3.0; the values that include them
change with them: the digests and hashes, and the sizes of the files that
hold the version. The datasets, fields, audit records, and warning codes are
those of v2.2.1.
validate-handoff, doctor --run-output, support-bundle, and series of
v2.3.0, and the view page, stop for an output of v2.2.1 with
OUTPUT_OTHER_VERSION, as each version does for the outputs of other
versions; for an output of v1.3, which passes the checks, series and the
view page stop with SERIES_OUTPUT_OTHER_VERSION. To look at the numbers of
an output of v2.2.1, normalize its Export again with v2.3.0 into a new
folder; with a Snapshot Store, make a new output from the Snapshots that it
holds, without importing them again. The change since an earlier output on
the normalization page, and Compare with the output before, work only for
outputs of the same version: from the second output that v2.3.0 makes.
Compatibility
- The 17 datasets, 247 fields, stable keys, and output paths are unchanged.
- Snapshot Stores need no migration. The Snapshot lifecycle contract and
policy registry stayv1.0, and the store format stays 1. The view page
reads FIT files of a store and writes nothing in it. - The Product exit mapping stays
PASS -> 0,PASS_WITH_WARNINGS -> 0,
PARTIAL_SUCCESS -> 3, andFatal -> 2, with 130 forCtrl+C. PARTIAL_SUCCESS/ exit 3 is a completed result: the Activities are valid
and a file or row was left out, which the warnings name. It is not a Fatal
result.- The commands and options of the CLI are those of v2.2.1.
- The settings file of the GUI stays of format 2, and the marks stay in
gui-marks.jsonnext to it: v2.3.0 and v2.2.1 read what the other saves.
Where v2.3.0 remembered a span of 2 or 4 weeks before a race day, v2.2.1
forgets only that span and opens with 16 weeks. - Python 3.11 or later, and no new runtime dependency.
See the Migration Notes.
How it was checked
- The release candidates 2.3.0rc1, 2.3.0rc2, and 2.3.0rc3 were published on
TestPyPI only and checked before this release (see
Release Readiness), with synthetic data. Each
was installed from TestPyPI into a new environment; the files that
2.3.0rc3 installed have the same bytes as its tag, and a scripted browser,
in Chromium and in WebKit, measured the view page that it serves: its
windows, notes, and panels, the steps of the hand checks, and the pictures
that it saves. - On macOS, 2.3.0rc3 was checked by hand in Safari: the comparisons of race
days, the readings and the notes of the panels, a picture saved as PNG,
and the window of the laps, also in a narrow window. A scripted browser,
in Chromium and in WebKit, walked the same steps first, at that window size
and at 1366 × 650 and 1470 × 830. - On Windows 11, 2.3.0rc3 was checked by hand in Edge, with the display at
1920 × 1200 and 150 %: installing it from TestPyPI with Python 3.14,
choosing the ZIP in the window of files, normalizing, the window of the
laps and the table of the work laps, also in English and in half of the
screen, quitting from the view page, and removing what the check made. A
scripted Chromium walked the same steps first, at 1280 × 690 and at
640 × 690. - For the same synthetic Export, 45 of the 50 files of an output have the
same bytes in 2.2.1 and 2.3.0, and the other five differ only in the
version and in what is computed from it;serieswrites the same files and
lines in 94 cases, and each version refuses the output of the other with
OUTPUT_OTHER_VERSION. - The CI runs the tests with Python 3.11 on Linux and Windows and with Python
3.15 on Linux, macOS, and Windows.
Not checked, and good to know
- On Windows, the hand check used one machine, Edge, and 150 %; other
browsers, display scaling, and Windows 10 were not checked by hand. What
2.3.0 does on Windows only, the half-written files of a write and the
reading of the Snapshot Store, was checked by the tests of the Windows CI. - On macOS, opening the icon from the Finder after an update was not checked.
- The full screen of the view page was not checked by hand in Safari.
- In a window narrower than 1366 pixels, the tables of six years or six
races of Compare years can still move sideways inside their box; the
page itself does not. - Where the room to compare is very narrow, the end of the heading of a panel
(the reading at the top right, then Highest) is cut sooner than in
2.2.x; at 1366 × 650 and 1470 × 830, it shows even with a race name of 30
characters. - In English on a narrow screen, the end of the sentence of a month without a
value can be cut. - Reading the laps of an activity can take a few seconds to some tens of
seconds, and counting the work laps of many runs takes longer. The laps are
shown only for an output made from the Snapshot Store that the GUI
remembers now (see Known Limitations).
Install
python -m pip install garmin-running-data-normalizer==2.3.0
garmin-running-data-normalizer --versionTo install the GUI with its icon, use the line in
What you need of the GUI Guide. To update an
installed v2.2.1, follow
Update to a new version, which
stops the GUI first.