@neilberkman/sidereon 3.0.6 → 4.1.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/CHANGELOG.md +60 -7
- package/README.md +73 -4
- package/THIRD-PARTY-NOTICES.md +4 -4
- package/package.json +6 -5
- package/pkg/sidereon.d.ts +3896 -2227
- package/pkg/sidereon.js +4319 -299
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +2479 -2165
- package/pkg-node/sidereon.d.ts +1409 -54
- package/pkg-node/sidereon.js +4410 -296
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +2479 -2165
- /package/third_party_source/{sidereon-core-3.0.6 → sidereon-core-4.1.0}/tides/mod.rs +0 -0
- /package/third_party_source/{sidereon-core-3.0.6 → sidereon-core-4.1.0}/tides/ocean.rs +0 -0
- /package/third_party_source/{sidereon-core-3.0.6 → sidereon-core-4.1.0}/tides/pole.rs +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 4.1.0 - 2026-11-19
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Engine update: `sidereon` / `sidereon-core` 4.1.0.
|
|
10
|
+
- `Constellation.groundTracks`, `groundTrackOutcomes`, `lookAngleArcs`, `lookAngleArcOutcomes`, `visible` and `coverageLookAngles` evaluate each epoch's Earth-orientation transform once for all satellites instead of once per satellite; results are unchanged bit for bit. Median times in Node:
|
|
11
|
+
- `groundTracks`, 143 satellites × 51 epochs: 559.8 ms → 42.1 ms (40 satellites: 167.0 ms → 20.2 ms).
|
|
12
|
+
- `lookAngleArcs`, 143 satellites × 51 epochs: 474.3 ms → 37.3 ms (40 satellites: 146.9 ms → 23.2 ms).
|
|
13
|
+
- `visible`, 143 satellites at one epoch: 8.83 ms → 0.16 ms.
|
|
14
|
+
|
|
15
|
+
## 4.0.0 - 2026-11-16
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- Add CelesTrak GP and NAVCEN source metadata, validated URL builders, GP response parsing, and TLE-to-OMM conversion.
|
|
20
|
+
- Add OMM source spans, explicit lenient KVN/XML writers, validated CCSDS headers, and `TleFitConfig.ommHeader`.
|
|
21
|
+
- Add `Tle.elements` and core value equality for OMM, TLE catalog records, checksum warnings, and GP response handles.
|
|
22
|
+
- Add `TdmUnit`, typed unit getters, core-validated range-unit editing, and value equality for TDM handles.
|
|
23
|
+
- Add precise-positioning dual-frequency TEC estimation, thin-shell mapping, ionospheric pierce points, snapshot PPP RAIM/FDE, and VMF site-series limits.
|
|
24
|
+
- Add precise-positioning Melbourne-Wubbena and geometry-free cycle-slip detection, mutable detector state, wide-lane fixed preparation, and ambiguity-arc splitting.
|
|
25
|
+
- Add sequential kinematic PPP configuration, motion and process-noise models, predict/correct state, and epoch solutions.
|
|
26
|
+
- Add explicit PPP auto-init strategy drivers, single-epoch float PPP, solution equality, ambiguity-search metadata, and typed range-rate prediction and velocity solving.
|
|
27
|
+
- Add owned PPP correction lookups, receiver-antenna and satellite-clock values, and correction-aware float and fixed solves.
|
|
28
|
+
- Add `chi2Isf`, checked `tryVisibleMask` and `tryAccessCounts`, the ADD v3.0 ARAIM local-error model, and optional SPP/FDE `maxGdop` validation.
|
|
29
|
+
- Add multi-constellation combined wide-lane/ionosphere-free RTK arc solving, per-epoch reference and elevation-mask reports, and released integer-hold details.
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- **Breaking:** PPP RAIM protection levels now return Brown snapshot fault protection levels and require positive redundancy. Use `pppRaimFaultFreeAccuracyBounds` for the former fault-free K × sigma × DOP quantity.
|
|
34
|
+
- **Breaking:** PPP FDE reports `untested` when a successful solve has no positive redundancy. RAIM errors distinguish unsupported noncentrality, unsupported degrees of freedom, and numerical protection-level failure.
|
|
35
|
+
- **Breaking:** OMM KVN and XML writers require the mandatory CCSDS fields. Use the explicit lenient writers for partial records.
|
|
36
|
+
- **Breaking:** Non-default UKF options on EKF filters and non-default loose/tight EKF options on UKF filters are refused. Joint-gate probabilities must be finite in `(0, 1)`; joint and per-row gates are mutually exclusive.
|
|
37
|
+
- **Breaking:** Correction reports include separate `jointInnovationGate` diagnostics. Tight EKF updates apply the joint gate and coast without changing state or covariance on rejection.
|
|
38
|
+
- **Breaking:** Invalid SPP pseudoranges report `nonFinitePseudorange` or `nonPositivePseudorange`; GDOP validation and unsupported ARAIM constellations have distinct error details.
|
|
39
|
+
- **Breaking:** RTK reports released holds and mask convergence. Missing ambiguity columns and carried states without required fixed-cycle values are refused explicitly.
|
|
40
|
+
- PPP float and fixed solutions expose `posteriorVarianceFactorEstimated`, distinguishing a residual variance estimate from an a-priori unit scale.
|
|
41
|
+
- Every `NdmErrorDetail` includes `format`, `byteOffset`, and `fields`.
|
|
42
|
+
- Deprecate unchecked coverage mask and access-count helpers in favor of their checked forms.
|
|
43
|
+
- Evaluate elevation-weighted RTK geometry with RTKLIB `ecef2pos`/`satazel` arithmetic.
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
|
|
47
|
+
- Preserve tight cross-covariance when a loose update is rejected.
|
|
48
|
+
- Coast when IGG III removes every loose measurement row, reporting all rows rejected for a per-row gate and no joint report for a joint gate.
|
|
49
|
+
- Apply FDE GDOP validation to every candidate; reject unsupported GDOP policy placements and `coarseSearchSeeds` on FDE requests.
|
|
50
|
+
- Correct combined RTK metadata, measurement-model, and update-option TypeScript declarations.
|
|
51
|
+
|
|
3
52
|
## 3.0.6 - 2026-10-30
|
|
4
53
|
|
|
5
54
|
### Added
|
|
@@ -14,6 +63,7 @@
|
|
|
14
63
|
|
|
15
64
|
- Adds `Sp3.toSp3StringWithRounding()`, returning SP3 text and maximum absolute
|
|
16
65
|
record-field changes in SI units, while keeping `toSp3String()` strict.
|
|
66
|
+
|
|
17
67
|
### Fixed
|
|
18
68
|
|
|
19
69
|
- Writes source-grid-derived SP3 merge means at record precision and keeps the
|
|
@@ -118,7 +168,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
118
168
|
from the first configured pair whose carriers resolve, and a satellite no
|
|
119
169
|
pair resolves for is left out of that epoch and listed in the new
|
|
120
170
|
`unresolvedCarriers` as `{ receiver, epochIndex, satelliteId,
|
|
121
|
-
|
|
171
|
+
observableCode }`.
|
|
122
172
|
- **Breaking.** A PPP observation whose code is zero or negative is no longer
|
|
123
173
|
solved at a meaningless transmission epoch. It is left out and reported in
|
|
124
174
|
the new `unplacedObservations` on `PppFloatSolution` and
|
|
@@ -163,8 +213,8 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
163
213
|
a spent robust budget reports `converged: false`. The status is typed as the
|
|
164
214
|
new `SolveStatus` union, and the metadata as `StaticSolveMetadata`.
|
|
165
215
|
- `SppSolution.metadata` reports how the solve ran and ended, `{ iterations,
|
|
166
|
-
|
|
167
|
-
|
|
216
|
+
converged, status, outerIterations, finalRobustScaleM, ionosphereApplied,
|
|
217
|
+
troposphereApplied, usedCount }` (`SppSolveMetadata`).
|
|
168
218
|
- The SPP carrier check applies only when a frequency-dependent term is
|
|
169
219
|
applied, so a solve without the ionosphere correction no longer leaves out a
|
|
170
220
|
satellite for want of a carrier. The PPP auto-init SPP seed passes each
|
|
@@ -296,7 +346,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
296
346
|
matrix is refused. `matrix` returns the stored values unvalidated and
|
|
297
347
|
`toValidatedMatrix()` checks positive semidefiniteness.
|
|
298
348
|
- **Breaking.** `OemSegment(metadata, states, covariances, dataComments?,
|
|
299
|
-
|
|
349
|
+
covarianceComments?)` throws on invalid input. `skippedStates` is an array of
|
|
300
350
|
`{ line, segment, text, reason, itemCount, field, issue }`, with the count in
|
|
301
351
|
`skippedStateCount`.
|
|
302
352
|
- Every record the messages define is retained: OMM `classification`,
|
|
@@ -322,7 +372,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
322
372
|
- **Breaking.** Bias lookups (`codeOsbSeconds`, `phaseOsbCycles`,
|
|
323
373
|
`codeDsbSeconds`, `codeBiasModelM`) return a `BiasLookup`,
|
|
324
374
|
`{ status, value, records, overridden, productScale, queryScale,
|
|
325
|
-
|
|
375
|
+
observable }`, instead of a number or `undefined`, so an absent, ambiguous or
|
|
326
376
|
out-of-scale lookup is distinct from a value. `phaseOsbCycles` takes
|
|
327
377
|
`timeScale?` and `carrierHz?`.
|
|
328
378
|
- Bias records carry `family`, `unit`, `svn`, `validFrom`, `validUntil`,
|
|
@@ -358,8 +408,8 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
358
408
|
departs from RTCM 3. It returned the frames it could read. Use
|
|
359
409
|
`decodeRtcmStream` for noisy input.
|
|
360
410
|
- **Breaking.** `decodeRtcmStream(bytes, policy?)`, `decodeRtcmFrame(bytes,
|
|
361
|
-
|
|
362
|
-
|
|
411
|
+
policy?)`, `encodeRtcm(message, policy?)` and `encodeRtcmFrame(message,
|
|
412
|
+
policy?, reserved?)` take a policy, `"strict"` (the default) or
|
|
363
413
|
`"lenient"`. Messages carry `trailingBits`, MSM messages `signalMask` and
|
|
364
414
|
GLONASS fields `negativeZero`, so a lenient decode re-encodes byte for byte.
|
|
365
415
|
Stream diagnostics gain `crcFailures` and `departures`, and skipped frames
|
|
@@ -416,6 +466,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
416
466
|
- a map inheriting an earlier map's `EXPONENT`, reported as `EXPONENT_CARRIED_INTO_MAP`
|
|
417
467
|
|
|
418
468
|
`slantDelay` also interpolates across the longitude seam of a grid that closes the circle, and returns a value along a line of sight through a pole.
|
|
469
|
+
|
|
419
470
|
- **Breaking.** The reader refuses what it used to misplace or pass over:
|
|
420
471
|
- a `MAP DIMENSION 3` product, or an `HGT1 / HGT2 / DHGT` giving several heights
|
|
421
472
|
- a band whose latitude, longitude or height is not a grid node
|
|
@@ -475,6 +526,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
475
526
|
- in the file header only: `RINEX VERSION / TYPE`, `TIME OF FIRST OBS`, `TIME OF LAST OBS`, `LEAP SECONDS` and `# OF SATELLITES`
|
|
476
527
|
|
|
477
528
|
Two scale factors for one code and two channels for one GLONASS slot are refused too. The later record used to win. Conflicting phase shifts or GLONASS biases are kept and read as `ambiguous` instead of being refused.
|
|
529
|
+
|
|
478
530
|
- Flag 6 epochs are read as cycle slips into `ObsEpoch.cycleSlips` and `cycleSlipSatellites`, with `satellites` and `observations` empty, and `rinexObsCycleSlipFlag()` returns the flag. New `ObsEpoch` getters: `observations`, `rcvClockOffsetS`, `epochPicoseconds`, `declaredRecordCount` and `specialRecords` (the records an event carried, verbatim; they used to be discarded).
|
|
479
531
|
- New `ObsHeader` getters: `rinex2Types`, `rinex2System`, `programRunByDate`, `comments`, `markerNumber`, `markerType`, `observer`, `agency`, `receiver`, `antenna`, `timeOfLastObsEpoch`, `timeOfLastObsScale`, `declaredSatelliteCount`, `prnObsCounts`, `scaleFactors`, `signalStrengthUnit` and `unretainedHeaderLabels`. `leapSeconds` is an `ObsLeapSeconds` with `bigint` fields and a `timeSystem` that keeps blank and `GPS` distinct. `RinexObs.skippedRecords` is also new.
|
|
480
532
|
- `ObsHeader.glonassCodPhsBis` returns the record as written, with `biasM: null` for a blank bias. A header with a blank bias used to be refused. `glonassCodePhaseBias(code)` returns `available`, `none`, `unknown` or `ambiguous`.
|
|
@@ -571,6 +623,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
571
623
|
- a comment in which a word `ORDER` is followed by labels to the end of the line
|
|
572
624
|
|
|
573
625
|
A header naming a label outside the eleven constituents, repeating one, or holding another count is refused with a `BlqParseError`.
|
|
626
|
+
|
|
574
627
|
- The BLQ writer throws a `BlqWriteError` with the zero-based `block` index for a block that would not read back unchanged:
|
|
575
628
|
- a station that is empty, holds a line break or surrounding whitespace, or reads as a comment, header or row
|
|
576
629
|
- a non-finite coefficient
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ checked against IGS products.
|
|
|
15
15
|
## Install
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
|
-
npm install @neilberkman/sidereon
|
|
18
|
+
npm install @neilberkman/sidereon@4.1.0
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
The package is dual ESM/CJS and ships prebuilt wasm with bundled TypeScript
|
|
@@ -53,6 +53,20 @@ console.log(look.azimuthDeg[0], look.elevationDeg[0], look.rangeKm[0]);
|
|
|
53
53
|
`BigInt64Array` of unix-microsecond epochs) and `findPasses(station, start, end,
|
|
54
54
|
minElevationDeg)` for visibility windows.
|
|
55
55
|
|
|
56
|
+
CelesTrak GP and NAVCEN source entries, URL builders, and the GP response parser are available without network access. Callers fetch the URL themselves and pass the response bytes to `parseCelestrakGpResponse`. Accepted and rejected records retain their source bytes and typed details. The `records` and `rejected` getters each clone their full collection; retain the returned array when iterating. GP records convert to OMM or SGP4 element sets. Response, record, TLE payload, rejection, rejection reason, checksum warning, OMM, and OMM epoch handles provide `equals` for value comparison; source entries, spans, and element data are plain objects whose fields can be compared structurally. Fitted OMMs can receive their creation date and originator through `fitTle`'s `ommHeader` option.
|
|
57
|
+
|
|
58
|
+
```js
|
|
59
|
+
import { CelestrakGpFormat, celestrakGpUrl, parseCelestrakGpResponse } from "@neilberkman/sidereon";
|
|
60
|
+
|
|
61
|
+
const url = celestrakGpUrl({ kind: "catalogNumber", value: 25544 }, CelestrakGpFormat.Tle);
|
|
62
|
+
const response = await fetch(url);
|
|
63
|
+
const catalog = parseCelestrakGpResponse(new Uint8Array(await response.arrayBuffer()), CelestrakGpFormat.Tle);
|
|
64
|
+
for (const record of catalog.records) console.log(record.objectName, record.toOmm());
|
|
65
|
+
for (const rejected of catalog.rejected) console.log(rejected.lineNumber, rejected.reason.detail);
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
OMM KVN and XML writers require the mandatory CCSDS fields. Use `toKvnStringLenient()` or `toXmlStringLenient()` for partial records, and `withCcsdsHeader(version, creationDate, originator)` to set a validated header.
|
|
69
|
+
|
|
56
70
|
An OMM uses the same SGP4 kernel through its canonical mean-element bridge:
|
|
57
71
|
|
|
58
72
|
```js
|
|
@@ -250,8 +264,7 @@ returns successfully. For SP3 observed/predicted timing, use
|
|
|
250
264
|
fields.
|
|
251
265
|
|
|
252
266
|
Browser and Node callers retain control of `fetch`, Earthdata credentials,
|
|
253
|
-
retries, and product-format validation. The browser cache
|
|
254
|
-
commit builder/verifier as the other interfaces:
|
|
267
|
+
retries, and product-format validation. The browser cache validates commit records through WASM:
|
|
255
268
|
|
|
256
269
|
```js
|
|
257
270
|
import { BrowserExactProductCache } from "@neilberkman/sidereon/exact-cache";
|
|
@@ -417,7 +430,7 @@ as `undefined`.
|
|
|
417
430
|
|
|
418
431
|
## Capabilities
|
|
419
432
|
|
|
420
|
-
The
|
|
433
|
+
The package provides these APIs:
|
|
421
434
|
|
|
422
435
|
- **Orbit propagation:** SGP4 from TLE and OMM, numerical propagation with a
|
|
423
436
|
composable force model (spherical-harmonic geopotential to selectable degree
|
|
@@ -503,6 +516,10 @@ The wasm surface mirrors the full breadth of the engine:
|
|
|
503
516
|
RINEX observation/navigation/clock, CRINEX (Hatanaka), SP3, IONEX, ANTEX,
|
|
504
517
|
Bias-SINEX, RTCM.
|
|
505
518
|
|
|
519
|
+
The TDM surface preserves unknown unit labels with `TdmUnit`, supports
|
|
520
|
+
core-validated range-unit editing, and exposes core value equality through
|
|
521
|
+
`equals` on TDM class instances. See [docs/tdm.md](docs/tdm.md).
|
|
522
|
+
|
|
506
523
|
The binding adds no modeling of its own: every result is exactly what the engine
|
|
507
524
|
computes. Failures surface as the JS exception you would expect (`Error` for
|
|
508
525
|
engine rejections such as parse failures, non-converging solves, and SGP4 error
|
|
@@ -538,6 +555,58 @@ checksums cross as JavaScript `bigint` values. Their attested Node path-open
|
|
|
538
555
|
methods require a `bigint` in the unsigned 64-bit range; `digestProvenance`
|
|
539
556
|
reports `"attested"` until `verify()` succeeds, then reports `"verified"`.
|
|
540
557
|
|
|
558
|
+
PPP also exposes `solvePppFloatEpoch`, the explicit-strategy
|
|
559
|
+
`solvePppAutoInitFloatWithStrategy` / `solvePppAutoInitFixedWithStrategy`
|
|
560
|
+
drivers, and `PppFloatSolution.equals` / `PppFixedSolution.equals`. Doppler
|
|
561
|
+
range-rate workflows use `predictRangeRateMS`,
|
|
562
|
+
`stationaryReceiverVelocityState`, and `solveVelocityLeastSquares`; their
|
|
563
|
+
inputs and results are plain structurally comparable TypeScript data.
|
|
564
|
+
`buildPppLookup` and `buildPppLookupWithValidity` create owned correction
|
|
565
|
+
tables for `PppRangeCorrections`; `solvePppFloatWithCorrections` and
|
|
566
|
+
`solvePppFixedWithCorrections` apply those tables together with optional
|
|
567
|
+
receiver-antenna calibration, external satellite clocks, and satellite-clock
|
|
568
|
+
relativity.
|
|
569
|
+
|
|
570
|
+
Dual-frequency ionosphere workflows use `PppTecConfig` with
|
|
571
|
+
`pppEstimateTec`, `pppLevelSlantTecArc`, the code/phase slant-TEC helpers,
|
|
572
|
+
`pppThinShellMappingFunction`, and `pppIonosphericPiercePoint`. Result handles
|
|
573
|
+
provide core value equality and `toJSON()` returns their complete typed value.
|
|
574
|
+
`VMF_SITE_MAX_SAMPLES()` and `VMF_SITE_SINGLE_SAMPLE_CLAMP_DAYS()` report the
|
|
575
|
+
core VMF site-series limits.
|
|
576
|
+
|
|
577
|
+
Snapshot precise-positioning integrity uses `PppRaimConfig` with
|
|
578
|
+
`pppRaimGlobalTest`, `pppRaimGlobalTestWithGeometry`,
|
|
579
|
+
`pppRaimPerSatelliteStatistics`, and `pppRaimProtectionLevels`.
|
|
580
|
+
`pppFdeFloatEpoch` and `solvePppFloatEpochWithRaim` run the core SP3-backed
|
|
581
|
+
float solve and exclusion loop. These names retain the `ppp` prefix to remain
|
|
582
|
+
distinct from the package's range-domain `raim` and `raimFdeDesign` APIs.
|
|
583
|
+
|
|
584
|
+
Precise-positioning cycle-slip processing uses `PppCycleSlipConfig`,
|
|
585
|
+
`PppRunningMeanVariance`, and `PppSatelliteCycleSlipState` with
|
|
586
|
+
`pppUpdateMelbourneWubbena`, `pppUpdateGeometryFree`, and
|
|
587
|
+
`pppDetectCycleSlips`. The `ppp` prefix distinguishes this detector from the
|
|
588
|
+
released observable-domain `detectCycleSlips`. `preparePppWidelaneFixedEpochs`
|
|
589
|
+
delegates wide-lane fixing, ionosphere-free preparation, and slip policy to the
|
|
590
|
+
core; `splitPppFloatCycleSlipEpochs` returns the corresponding float ambiguity
|
|
591
|
+
arc identifiers. Exact gap epochs remain `ExactEpoch` values throughout.
|
|
592
|
+
|
|
593
|
+
Sequential precise positioning uses `PppKinematicConfig`, motion and
|
|
594
|
+
process-noise value classes, and a mutable `PppKinematicState`.
|
|
595
|
+
`predictKinematicState` and `correctKinematicState` drive that owned state
|
|
596
|
+
through the core filter; `solveKinematicPpp` returns per-epoch solutions.
|
|
597
|
+
|
|
598
|
+
### Integrity, RTK and fusion options
|
|
599
|
+
|
|
600
|
+
PPP snapshot RAIM protection levels are Brown fault-mode levels and require positive redundancy. `pppRaimProtectionLevelsWithWeights` accepts inverse-standard-deviation weights; `pppRaimFaultFreeAccuracyBounds` exposes the separate fault-free K × sigma × DOP bounds. `chi2Isf` accepts an upper-tail probability directly. Coverage grids provide checked `tryVisibleMask` and `tryAccessCounts`; the legacy methods are deprecated.
|
|
601
|
+
|
|
602
|
+
`araimSatelliteIsmModelAddV30` constructs the ADD v3.0 local-error model for supported constellations and reports `unsupportedConstellation` in the error detail when Appendix A does not cover a system. Joint innovation gating is available through `jointInnovationGateProbability` in `loose.updateOptions` and `tight.updateOptions` for EKF filters, and in `ukf` for UKF filters; correction reports include `jointInnovationGate`. The probability must be finite and strictly between zero and one, and a joint gate cannot be combined with a per-row `innovationGate`. Options for a different filter kind are refused.
|
|
603
|
+
|
|
604
|
+
`solveWideLaneFixedRtkArc` accepts dual-frequency arc epochs directly and supports one reference per constellation. `solveRtkArc` attaches an `RtkArcErrorDetail` to thrown errors; an update failure carries its specific `RtkUpdateErrorDetail`, including `missingAmbiguityColumn` and the ambiguity ID. RTK epoch results report `referenceSatelliteIds`, `elevationMaskedSatelliteIds`, `elevationMaskConverged`, and `releasedHolds`; hold reasons are `unheldReference` and `incompatibleWavelengths`.
|
|
605
|
+
|
|
606
|
+
PPP FDE status `untested` means a solve succeeded without positive redundancy. PPP RAIM error details distinguish `UNSUPPORTED_NONCENTRALITY` (the bias root exceeds the supported noncentrality), `UNSUPPORTED_DOF` (with `dof` and `max`), and `NUMERICAL_PROTECTION_LEVEL` (failure of the numerical probability calculation). SPP reports invalid measurements as `nonFinitePseudorange` or `nonPositivePseudorange`; GDOP validation failures use `DEGENERATE_GEOMETRY_GDOP`. A PPP posterior variance factor is an estimate only when `posteriorVarianceFactorEstimated` is true.
|
|
607
|
+
|
|
608
|
+
FDE applies `maxGdop` to every candidate solution. Batch SPP accepts it in the shared options; per-epoch values, and values supplied to static, Doppler, broadcast-only, SBAS, or fallback paths without that policy, are rejected. FDE rejects the unsupported `coarseSearchSeeds` option.
|
|
609
|
+
|
|
541
610
|
## Live demo
|
|
542
611
|
|
|
543
612
|
The interactive demo at [sidereon.dev](https://sidereon.dev) runs on this exact
|
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -76,13 +76,13 @@ source documents how it is based on and differs from the original. The complete
|
|
|
76
76
|
official IERS notice is reproduced in
|
|
77
77
|
`licenses/IERS-Conventions-Software-License.txt`.
|
|
78
78
|
|
|
79
|
-
The exact public non-test tide sources distributed in `sidereon-core`
|
|
80
|
-
at commit
|
|
81
|
-
`third_party_source/sidereon-core-
|
|
79
|
+
The exact public non-test tide sources distributed in `sidereon-core` 4.1.0
|
|
80
|
+
at commit 012c6c38ea054b61293e83fc95ac60ff6d11fb8b are included under
|
|
81
|
+
`third_party_source/sidereon-core-4.1.0/tides/`. Their contents match that
|
|
82
82
|
release source. These copies provide the source for every tide routine in the
|
|
83
83
|
compiled WebAssembly artifact; they are not represented as original IERS
|
|
84
84
|
software or as endorsed by the IERS Conventions Center.
|
|
85
|
-
Source: [sidereon-core tides at the pinned commit](https://github.com/neilberkman/sidereon/tree/
|
|
85
|
+
Source: [sidereon-core tides at the pinned commit](https://github.com/neilberkman/sidereon/tree/012c6c38ea054b61293e83fc95ac60ff6d11fb8b/crates/sidereon-core/src/tides).
|
|
86
86
|
|
|
87
87
|
--------------------------------------------------------------------------------
|
|
88
88
|
## Reference algorithms (no code copied)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neilberkman/sidereon",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "WebAssembly / JavaScript interface over the sidereon GNSS + astrodynamics engine: SP3 loading and multi-product merge, SPP / RTK (float + fixed) / PPP (float + fixed) positioning, IONEX slant delay, SGP4 and numerical orbit propagation, RINEX observation/navigation/clock parsing, CRINEX (Hatanaka) decoding, observable-domain math (carrier combinations, cycle slips, Hatch smoothing, weighting, velocity, GPS C/A signal), and the astro domain (scale-tagged time, frame transforms, Sun/Moon ephemerides, eclipse / body angles, DOP, passes / visibility, conjunction + collision probability, CDM / OMM / ANTEX parsing, RF link budget)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"licenses/IERS-Conventions-Software-License.txt",
|
|
47
47
|
"licenses/SciPy-BSD-3-Clause.txt",
|
|
48
48
|
"licenses/libloading-ISC.txt",
|
|
49
|
-
"third_party_source/sidereon-core-
|
|
50
|
-
"third_party_source/sidereon-core-
|
|
51
|
-
"third_party_source/sidereon-core-
|
|
49
|
+
"third_party_source/sidereon-core-4.1.0/tides/mod.rs",
|
|
50
|
+
"third_party_source/sidereon-core-4.1.0/tides/ocean.rs",
|
|
51
|
+
"third_party_source/sidereon-core-4.1.0/tides/pole.rs",
|
|
52
52
|
"pkg/sidereon.js",
|
|
53
53
|
"pkg/sidereon.d.ts",
|
|
54
54
|
"pkg/sidereon_bg.wasm",
|
|
@@ -71,7 +71,8 @@
|
|
|
71
71
|
"typecheck": "tsc --noEmit",
|
|
72
72
|
"check:package": "node scripts/check-package.mjs",
|
|
73
73
|
"lint": "eslint . && prettier --check \"test/**/*.mjs\" \"type-test/**/*.ts\" \"scripts/**/*.mjs\" \"*.json\" \"eslint.config.js\"",
|
|
74
|
-
"format": "prettier --write \"test/**/*.mjs\" \"type-test/**/*.ts\" \"scripts/**/*.mjs\" \"*.json\" \"eslint.config.js\""
|
|
74
|
+
"format": "prettier --write \"test/**/*.mjs\" \"type-test/**/*.ts\" \"scripts/**/*.mjs\" \"*.json\" \"eslint.config.js\"",
|
|
75
|
+
"check:core": "node scripts/check-core-source.mjs"
|
|
75
76
|
},
|
|
76
77
|
"devDependencies": {
|
|
77
78
|
"@eslint/js": "^10.0.1",
|