mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-12 06:12:18 +00:00
docs(tools): tighten the heading-wrap changelog, comments and overview
This commit is contained in:
1 parent
a1d3003b57
commit
da6b63b6fd
4 files changed
+7
-10
No files matched your search
@@ -71,7 +71,7 @@ function weatherRow(weather) {
|
||||
precipitation_mm: weather.precipitationMm ?? null,
|
||||
cloud_cover_pct: weather.cloudCoverPct ?? null,
|
||||
wind_kph: weather.windKph ?? null,
|
||||
// Raw Open-Meteo value, like the fields above; it reports north as 360.
|
||||
// Raw Open-Meteo value, so north reads 360.
|
||||
wind_direction_deg: weather.windDirectionDeg ?? null,
|
||||
visibility_m: weather.visibilityM ?? null,
|
||||
};
|
||||
|
||||
@@ -305,8 +305,8 @@ test('satellite azimuths that round to 360 read as 0', async () => {
|
||||
tools: coreTools,
|
||||
services: { satellites: satellites(), clock: CLOCK },
|
||||
});
|
||||
// These points are chosen so the ISS's raw azimuths fall just below 360°;
|
||||
// pin that first, so the test cannot pass on a raw value already near 0.
|
||||
// At these points the ISS's raw azimuths fall just below 360°; check that
|
||||
// first so the test cannot pass on a raw value near 0.
|
||||
const [, line1, line2] = TLE.split('\n');
|
||||
const iss = twoline2satrec(line1, line2);
|
||||
const nearNorth = (deg) => deg > 359.5 && deg < 360;
|
||||
|
||||
Reference in new issue
Block a user