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.
@@ -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 >= 178) {
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) {
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 >= 178) {
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 >= 125) {
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
@@ -79,7 +79,7 @@ import {
79
79
  parseTrimble,
80
80
  parseTrimbleNav,
81
81
  trimbleFrames
82
- } from "./chunk-CKRNXZHT.js";
82
+ } from "./chunk-U47XUQAT.js";
83
83
  import {
84
84
  binexCrc16,
85
85
  binexCrc32,
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 >= 178) {
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 >= 125) {
153
+ } else if (sub === SUB_ION_UTC && f.len >= 102) {
154
154
  const p = f.start;
155
155
  const alpha = [];
156
156
  const beta = [];
@@ -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 are not handled
42
- * here (see the module note in the package README / decoder report).
43
- * This path is validated against synthetic records only: the DLF100
44
- * ALLOY capture carried GLONASS/BeiDou subtypes but no GPS ephemeris.
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 are not handled
42
- * here (see the module note in the package README / decoder report).
43
- * This path is validated against synthetic records only: the DLF100
44
- * ALLOY capture carried GLONASS/BeiDou subtypes but no GPS ephemeris.
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
@@ -2,7 +2,7 @@ import {
2
2
  parseTrimble,
3
3
  parseTrimbleNav,
4
4
  trimbleFrames
5
- } from "./chunk-CKRNXZHT.js";
5
+ } from "./chunk-U47XUQAT.js";
6
6
  export {
7
7
  parseTrimble,
8
8
  parseTrimbleNav,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gnss-js",
3
- "version": "1.38.0",
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,