gnss-js 1.38.0 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-CKRNXZHT.js → chunk-U47XUQAT.js} +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/trimble.cjs +2 -2
- package/dist/trimble.d.cts +5 -4
- package/dist/trimble.d.ts +5 -4
- package/dist/trimble.js +1 -1
- package/package.json +1 -1
|
@@ -116,13 +116,13 @@ function parseTrimbleNav(data) {
|
|
|
116
116
|
if (f.type !== RETSVDATA) continue;
|
|
117
117
|
const sub = data[f.payload];
|
|
118
118
|
retsvCounts[sub] = (retsvCounts[sub] ?? 0) + 1;
|
|
119
|
-
if (sub === SUB_GPS_EPHEMERIS && f.len >=
|
|
119
|
+
if (sub === SUB_GPS_EPHEMERIS && f.len >= 176) {
|
|
120
120
|
const eph = decodeGpsEphemeris(data, view, f.start);
|
|
121
121
|
if (!eph) continue;
|
|
122
122
|
if (lastIode.get(eph.prn) === eph.iode) continue;
|
|
123
123
|
lastIode.set(eph.prn, eph.iode);
|
|
124
124
|
ephemerides.push(eph);
|
|
125
|
-
} else if (sub === SUB_ION_UTC && f.len >=
|
|
125
|
+
} else if (sub === SUB_ION_UTC && f.len >= 102) {
|
|
126
126
|
const p = f.start;
|
|
127
127
|
const alpha = [];
|
|
128
128
|
const beta = [];
|
package/dist/index.cjs
CHANGED
|
@@ -9666,13 +9666,13 @@ function parseTrimbleNav(data) {
|
|
|
9666
9666
|
if (f.type !== RETSVDATA) continue;
|
|
9667
9667
|
const sub = data[f.payload];
|
|
9668
9668
|
retsvCounts[sub] = (retsvCounts[sub] ?? 0) + 1;
|
|
9669
|
-
if (sub === SUB_GPS_EPHEMERIS && f.len >=
|
|
9669
|
+
if (sub === SUB_GPS_EPHEMERIS && f.len >= 176) {
|
|
9670
9670
|
const eph = decodeGpsEphemeris2(data, view, f.start);
|
|
9671
9671
|
if (!eph) continue;
|
|
9672
9672
|
if (lastIode.get(eph.prn) === eph.iode) continue;
|
|
9673
9673
|
lastIode.set(eph.prn, eph.iode);
|
|
9674
9674
|
ephemerides.push(eph);
|
|
9675
|
-
} else if (sub === SUB_ION_UTC && f.len >=
|
|
9675
|
+
} else if (sub === SUB_ION_UTC && f.len >= 102) {
|
|
9676
9676
|
const p = f.start;
|
|
9677
9677
|
const alpha = [];
|
|
9678
9678
|
const beta = [];
|
package/dist/index.js
CHANGED
package/dist/trimble.cjs
CHANGED
|
@@ -144,13 +144,13 @@ function parseTrimbleNav(data) {
|
|
|
144
144
|
if (f.type !== RETSVDATA) continue;
|
|
145
145
|
const sub = data[f.payload];
|
|
146
146
|
retsvCounts[sub] = (retsvCounts[sub] ?? 0) + 1;
|
|
147
|
-
if (sub === SUB_GPS_EPHEMERIS && f.len >=
|
|
147
|
+
if (sub === SUB_GPS_EPHEMERIS && f.len >= 176) {
|
|
148
148
|
const eph = decodeGpsEphemeris(data, view, f.start);
|
|
149
149
|
if (!eph) continue;
|
|
150
150
|
if (lastIode.get(eph.prn) === eph.iode) continue;
|
|
151
151
|
lastIode.set(eph.prn, eph.iode);
|
|
152
152
|
ephemerides.push(eph);
|
|
153
|
-
} else if (sub === SUB_ION_UTC && f.len >=
|
|
153
|
+
} else if (sub === SUB_ION_UTC && f.len >= 102) {
|
|
154
154
|
const p = f.start;
|
|
155
155
|
const alpha = [];
|
|
156
156
|
const beta = [];
|
package/dist/trimble.d.cts
CHANGED
|
@@ -38,10 +38,11 @@ declare function trimbleFrames(data: Uint8Array, stats: {
|
|
|
38
38
|
* paths (Keplerian `tocDate` a GPS-scale Date, angles in radians).
|
|
39
39
|
*
|
|
40
40
|
* RTKLIB decodes only these two RETSVDATA subtypes; the GLONASS,
|
|
41
|
-
* Galileo, BeiDou and QZSS ephemeris/almanac subtypes
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
41
|
+
* Galileo, BeiDou and QZSS ephemeris/almanac subtypes (RETSVDATA
|
|
42
|
+
* subtypes 9/11/13/21/23/27, seen on the DLF100NLD1 Trimble stream) are
|
|
43
|
+
* not handled here. Validated against a real DLF100NLD1 capture: the
|
|
44
|
+
* subtype-1 GPS ephemerides decode to physical Keplerian elements
|
|
45
|
+
* (√a ≈ 5153.6 m^½, i₀ ≈ 55°, week 2429).
|
|
45
46
|
*/
|
|
46
47
|
|
|
47
48
|
interface TrimbleNavResult {
|
package/dist/trimble.d.ts
CHANGED
|
@@ -38,10 +38,11 @@ declare function trimbleFrames(data: Uint8Array, stats: {
|
|
|
38
38
|
* paths (Keplerian `tocDate` a GPS-scale Date, angles in radians).
|
|
39
39
|
*
|
|
40
40
|
* RTKLIB decodes only these two RETSVDATA subtypes; the GLONASS,
|
|
41
|
-
* Galileo, BeiDou and QZSS ephemeris/almanac subtypes
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
41
|
+
* Galileo, BeiDou and QZSS ephemeris/almanac subtypes (RETSVDATA
|
|
42
|
+
* subtypes 9/11/13/21/23/27, seen on the DLF100NLD1 Trimble stream) are
|
|
43
|
+
* not handled here. Validated against a real DLF100NLD1 capture: the
|
|
44
|
+
* subtype-1 GPS ephemerides decode to physical Keplerian elements
|
|
45
|
+
* (√a ≈ 5153.6 m^½, i₀ ≈ 55°, week 2429).
|
|
45
46
|
*/
|
|
46
47
|
|
|
47
48
|
interface TrimbleNavResult {
|
package/dist/trimble.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gnss-js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.0",
|
|
4
4
|
"description": "Comprehensive GNSS library for JavaScript — time scales, coordinates, RINEX parsing, RTCM3 decoding, orbit computation, and signal analysis",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|