gnss-js 2.11.0 → 2.12.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/README.md +15 -0
- package/dist/analysis.cjs +24 -25
- package/dist/analysis.js +2 -2
- package/dist/{clk-DGVBGRzA.d.cts → bias-sinex-OGMw9xEZ.d.cts} +66 -1
- package/dist/{clk-DGVBGRzA.d.ts → bias-sinex-OGMw9xEZ.d.ts} +66 -1
- package/dist/{chunk-MDO77CCC.js → chunk-2DJ4XENO.js} +45 -0
- package/dist/{chunk-IQHQHUOB.js → chunk-2KQMCJ5Z.js} +5 -3
- package/dist/chunk-E3Y6YKQM.js +65 -0
- package/dist/{chunk-3U5AX7PY.js → chunk-FEABDV5P.js} +24 -25
- package/dist/{chunk-RFPR4LKM.js → chunk-HWHD5E6V.js} +19 -75
- package/dist/{chunk-KUSUN7DP.js → chunk-MFCPYUEI.js} +1 -1
- package/dist/{chunk-SSWFX3P3.js → chunk-NIJ6WFQJ.js} +6 -321
- package/dist/{chunk-UMINQTMK.js → chunk-RWFJEVLJ.js} +589 -295
- package/dist/chunk-TWGZTRBL.js +323 -0
- package/dist/index.cjs +655 -316
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +14 -9
- package/dist/osnma.cjs +1336 -0
- package/dist/osnma.d.cts +273 -0
- package/dist/osnma.d.ts +273 -0
- package/dist/osnma.js +1216 -0
- package/dist/positioning.cjs +585 -291
- package/dist/positioning.d.cts +114 -4
- package/dist/positioning.d.ts +114 -4
- package/dist/positioning.js +1 -1
- package/dist/rinex.cjs +70 -25
- package/dist/rinex.d.cts +2 -50
- package/dist/rinex.d.ts +2 -50
- package/dist/rinex.js +4 -2
- package/dist/sbf.js +7 -4
- package/dist/ubx.js +3 -2
- package/package.json +6 -1
package/dist/rinex.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { R as RinexHeader } from './parser-JPjjFgeP.js';
|
|
|
2
2
|
export { E as EpochSummary, P as ParseOptions, a as RinexResult, b as RinexStats, S as SYSTEM_ORDER, c as SatObsCallback, p as parseRinexStream, s as systemCmp, d as systemName } from './parser-JPjjFgeP.js';
|
|
3
3
|
import { b as NavResult, N as NavHeader, E as Ephemeris, R as RinexCnavEphemeris, B as BdsCnavEphemeris } from './nav-COp0Vmlw.js';
|
|
4
4
|
export { a as BdsCnavMessage, G as GlonassEphemeris, K as KeplerEphemeris, p as parseNavFile } from './nav-COp0Vmlw.js';
|
|
5
|
-
export { C as ClkFile, I as IonexGrid, S as Sp3File,
|
|
5
|
+
export { B as BiasRecord, a as BiasSinex, C as ClkFile, I as IonexGrid, S as SatOsbTable, b as Sp3File, c as Sp3Sample, d as biasMetres, e as clkBias, f as findSatBias, p as parseBiasSinex, g as parseClk, h as parseIonex, i as parseSp3, s as sp3Position } from './bias-sinex-OGMw9xEZ.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Compact RINEX (Hatanaka / CRX) decompression utilities.
|
|
@@ -185,54 +185,6 @@ interface Nav4Input {
|
|
|
185
185
|
*/
|
|
186
186
|
declare function writeRinexNav4(nav: Nav4Input): string;
|
|
187
187
|
|
|
188
|
-
/**
|
|
189
|
-
* Bias-SINEX (`.BIA`) parser — GNSS code/phase biases published by the IGS
|
|
190
|
-
* analysis centres. Two record kinds matter here:
|
|
191
|
-
*
|
|
192
|
-
* - **DSB** differential signal bias (OBS1−OBS2), the classic inter-code
|
|
193
|
-
* bias used for ionosphere/DCB corrections in SPP.
|
|
194
|
-
* - **OSB** observable-specific (absolute) bias for a single OBS, the
|
|
195
|
-
* ingredient PPP-AR needs: the *phase* OSBs are the satellite
|
|
196
|
-
* fractional-cycle biases that make the ambiguities integer-recoverable.
|
|
197
|
-
*
|
|
198
|
-
* Values keep their file unit (`ns` for code/most phase biases, `cyc` for
|
|
199
|
-
* cycle-based phase biases); `biasMetres` converts ns → m via c.
|
|
200
|
-
*/
|
|
201
|
-
interface BiasRecord {
|
|
202
|
-
/** 'DSB' | 'OSB' | 'ISB' | … */
|
|
203
|
-
type: string;
|
|
204
|
-
/** Satellite PRN (e.g. 'G01', 'E11'); '' for a pure station bias. */
|
|
205
|
-
prn: string;
|
|
206
|
-
/** Station (9-char), '' for satellite biases. */
|
|
207
|
-
station: string;
|
|
208
|
-
/** First observable code (e.g. 'C1W', 'L1C'). */
|
|
209
|
-
obs1: string;
|
|
210
|
-
/** Second observable (DSB only; '' for OSB). */
|
|
211
|
-
obs2: string;
|
|
212
|
-
/** Validity start / end (GPS-scale ms); ±Infinity when open. */
|
|
213
|
-
startMs: number;
|
|
214
|
-
endMs: number;
|
|
215
|
-
/** Estimated value in the file unit. */
|
|
216
|
-
value: number;
|
|
217
|
-
/** File unit ('ns' | 'cyc' | …). */
|
|
218
|
-
unit: string;
|
|
219
|
-
}
|
|
220
|
-
interface BiasSinex {
|
|
221
|
-
records: BiasRecord[];
|
|
222
|
-
/** All satellite records grouped by PRN (station === ''). */
|
|
223
|
-
bySat: Map<string, BiasRecord[]>;
|
|
224
|
-
}
|
|
225
|
-
/** Parse a Bias-SINEX file. */
|
|
226
|
-
declare function parseBiasSinex(text: string): BiasSinex;
|
|
227
|
-
/** A satellite bias record's value in metres (ns → m via c; cyc left as-is). */
|
|
228
|
-
declare function biasMetres(r: BiasRecord): number;
|
|
229
|
-
/**
|
|
230
|
-
* Look up a satellite bias: a DSB by its (obs1,obs2) pair, or an OSB by obs1
|
|
231
|
-
* alone (pass obs2 = undefined), valid at `tMs` (default: any). Returns the
|
|
232
|
-
* record or null.
|
|
233
|
-
*/
|
|
234
|
-
declare function findSatBias(bias: BiasSinex, prn: string, obs1: string, obs2?: string, tMs?: number): BiasRecord | null;
|
|
235
|
-
|
|
236
188
|
/**
|
|
237
189
|
* RINEX 3.04 / 4.01 observation file writer.
|
|
238
190
|
*
|
|
@@ -323,4 +275,4 @@ declare function createGzipLineSink(): {
|
|
|
323
275
|
*/
|
|
324
276
|
declare function stationHeaderLines(header: RinexHeader): string[];
|
|
325
277
|
|
|
326
|
-
export { BdsCnavEphemeris, type
|
|
278
|
+
export { BdsCnavEphemeris, type CompactEpoch, type CrxField, type DiffState, EMPTY_WARNINGS, Ephemeris, type Nav4Input, NavHeader, NavResult, RinexCnavEphemeris, RinexHeader, type RinexWarning, type RinexWarnings, WarningAccumulator, type WarningSeverity, type WriteCrxOptions, createGzipLineSink, crxDecompress, crxRepair, fmtD, fmtF, hdrLine, modalIntervalS, padL, padR, parseCrxDataLine, stationHeaderLines, writeCrx, writeModernObsBlob, writeRinex2ObsBlob, writeRinex4ObsBlob, writeRinexNav, writeRinexNav4, writeRinexObsBlob };
|
package/dist/rinex.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EMPTY_WARNINGS,
|
|
3
|
+
SatOsbTable,
|
|
3
4
|
WarningAccumulator,
|
|
4
5
|
biasMetres,
|
|
5
6
|
createGzipLineSink,
|
|
@@ -21,7 +22,7 @@ import {
|
|
|
21
22
|
writeRinexNav,
|
|
22
23
|
writeRinexNav4,
|
|
23
24
|
writeRinexObsBlob
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2DJ4XENO.js";
|
|
25
26
|
import {
|
|
26
27
|
SYSTEM_ORDER,
|
|
27
28
|
crxDecompress,
|
|
@@ -30,7 +31,7 @@ import {
|
|
|
30
31
|
parseRinexStream,
|
|
31
32
|
systemCmp,
|
|
32
33
|
systemName
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FEABDV5P.js";
|
|
34
35
|
import "./chunk-NL2ORX75.js";
|
|
35
36
|
import {
|
|
36
37
|
clkBias,
|
|
@@ -44,6 +45,7 @@ import "./chunk-FIEWO4J4.js";
|
|
|
44
45
|
export {
|
|
45
46
|
EMPTY_WARNINGS,
|
|
46
47
|
SYSTEM_ORDER,
|
|
48
|
+
SatOsbTable,
|
|
47
49
|
WarningAccumulator,
|
|
48
50
|
biasMetres,
|
|
49
51
|
clkBias,
|
package/dist/sbf.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SBAS_L5_MT_NAMES,
|
|
3
3
|
SBAS_L5_PREAMBLE_UW,
|
|
4
|
-
crc16,
|
|
5
4
|
decodeSbfNavigation,
|
|
6
5
|
extractSbfNavicSubframe,
|
|
7
6
|
feedGeoBlock,
|
|
@@ -26,10 +25,14 @@ import {
|
|
|
26
25
|
parseSbfPvt,
|
|
27
26
|
parseSbfReceiverSetup,
|
|
28
27
|
sbasL5MessageName,
|
|
29
|
-
sbasL5MessageType
|
|
28
|
+
sbasL5MessageType
|
|
29
|
+
} from "./chunk-HWHD5E6V.js";
|
|
30
|
+
import {
|
|
31
|
+
crc16,
|
|
30
32
|
scanSbfFrames
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-E3Y6YKQM.js";
|
|
34
|
+
import "./chunk-NIJ6WFQJ.js";
|
|
35
|
+
import "./chunk-TWGZTRBL.js";
|
|
33
36
|
import "./chunk-H3AKFD25.js";
|
|
34
37
|
import "./chunk-HVXYFUCB.js";
|
|
35
38
|
import "./chunk-37QNKGTC.js";
|
package/dist/ubx.js
CHANGED
|
@@ -6,8 +6,9 @@ import {
|
|
|
6
6
|
parseUbxRawNav,
|
|
7
7
|
parseUbxRawx,
|
|
8
8
|
ubxFrames
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-2KQMCJ5Z.js";
|
|
10
|
+
import "./chunk-NIJ6WFQJ.js";
|
|
11
|
+
import "./chunk-TWGZTRBL.js";
|
|
11
12
|
import "./chunk-H3AKFD25.js";
|
|
12
13
|
import "./chunk-HVXYFUCB.js";
|
|
13
14
|
import "./chunk-LEEU5OIO.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gnss-js",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.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,
|
|
@@ -104,6 +104,11 @@
|
|
|
104
104
|
"types": "./dist/positioning.d.ts",
|
|
105
105
|
"import": "./dist/positioning.js",
|
|
106
106
|
"require": "./dist/positioning.cjs"
|
|
107
|
+
},
|
|
108
|
+
"./osnma": {
|
|
109
|
+
"types": "./dist/osnma.d.ts",
|
|
110
|
+
"import": "./dist/osnma.js",
|
|
111
|
+
"require": "./dist/osnma.cjs"
|
|
107
112
|
}
|
|
108
113
|
},
|
|
109
114
|
"main": "./dist/index.cjs",
|