@neilberkman/sidereon 4.0.0 → 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 +21 -7
- package/README.md +1 -1
- package/THIRD-PARTY-NOTICES.md +4 -4
- package/package.json +4 -4
- package/pkg/sidereon.d.ts +2257 -2257
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +2257 -2257
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +2257 -2257
- /package/third_party_source/{sidereon-core-4.0.0 → sidereon-core-4.1.0}/tides/mod.rs +0 -0
- /package/third_party_source/{sidereon-core-4.0.0 → sidereon-core-4.1.0}/tides/ocean.rs +0 -0
- /package/third_party_source/{sidereon-core-4.0.0 → sidereon-core-4.1.0}/tides/pole.rs +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
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
|
+
|
|
5
15
|
## 4.0.0 - 2026-11-16
|
|
6
16
|
|
|
7
17
|
### Added
|
|
@@ -53,6 +63,7 @@
|
|
|
53
63
|
|
|
54
64
|
- Adds `Sp3.toSp3StringWithRounding()`, returning SP3 text and maximum absolute
|
|
55
65
|
record-field changes in SI units, while keeping `toSp3String()` strict.
|
|
66
|
+
|
|
56
67
|
### Fixed
|
|
57
68
|
|
|
58
69
|
- Writes source-grid-derived SP3 merge means at record precision and keeps the
|
|
@@ -157,7 +168,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
157
168
|
from the first configured pair whose carriers resolve, and a satellite no
|
|
158
169
|
pair resolves for is left out of that epoch and listed in the new
|
|
159
170
|
`unresolvedCarriers` as `{ receiver, epochIndex, satelliteId,
|
|
160
|
-
|
|
171
|
+
observableCode }`.
|
|
161
172
|
- **Breaking.** A PPP observation whose code is zero or negative is no longer
|
|
162
173
|
solved at a meaningless transmission epoch. It is left out and reported in
|
|
163
174
|
the new `unplacedObservations` on `PppFloatSolution` and
|
|
@@ -202,8 +213,8 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
202
213
|
a spent robust budget reports `converged: false`. The status is typed as the
|
|
203
214
|
new `SolveStatus` union, and the metadata as `StaticSolveMetadata`.
|
|
204
215
|
- `SppSolution.metadata` reports how the solve ran and ended, `{ iterations,
|
|
205
|
-
|
|
206
|
-
|
|
216
|
+
converged, status, outerIterations, finalRobustScaleM, ionosphereApplied,
|
|
217
|
+
troposphereApplied, usedCount }` (`SppSolveMetadata`).
|
|
207
218
|
- The SPP carrier check applies only when a frequency-dependent term is
|
|
208
219
|
applied, so a solve without the ionosphere correction no longer leaves out a
|
|
209
220
|
satellite for want of a carrier. The PPP auto-init SPP seed passes each
|
|
@@ -335,7 +346,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
335
346
|
matrix is refused. `matrix` returns the stored values unvalidated and
|
|
336
347
|
`toValidatedMatrix()` checks positive semidefiniteness.
|
|
337
348
|
- **Breaking.** `OemSegment(metadata, states, covariances, dataComments?,
|
|
338
|
-
|
|
349
|
+
covarianceComments?)` throws on invalid input. `skippedStates` is an array of
|
|
339
350
|
`{ line, segment, text, reason, itemCount, field, issue }`, with the count in
|
|
340
351
|
`skippedStateCount`.
|
|
341
352
|
- Every record the messages define is retained: OMM `classification`,
|
|
@@ -361,7 +372,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
361
372
|
- **Breaking.** Bias lookups (`codeOsbSeconds`, `phaseOsbCycles`,
|
|
362
373
|
`codeDsbSeconds`, `codeBiasModelM`) return a `BiasLookup`,
|
|
363
374
|
`{ status, value, records, overridden, productScale, queryScale,
|
|
364
|
-
|
|
375
|
+
observable }`, instead of a number or `undefined`, so an absent, ambiguous or
|
|
365
376
|
out-of-scale lookup is distinct from a value. `phaseOsbCycles` takes
|
|
366
377
|
`timeScale?` and `carrierHz?`.
|
|
367
378
|
- Bias records carry `family`, `unit`, `svn`, `validFrom`, `validUntil`,
|
|
@@ -397,8 +408,8 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
397
408
|
departs from RTCM 3. It returned the frames it could read. Use
|
|
398
409
|
`decodeRtcmStream` for noisy input.
|
|
399
410
|
- **Breaking.** `decodeRtcmStream(bytes, policy?)`, `decodeRtcmFrame(bytes,
|
|
400
|
-
|
|
401
|
-
|
|
411
|
+
policy?)`, `encodeRtcm(message, policy?)` and `encodeRtcmFrame(message,
|
|
412
|
+
policy?, reserved?)` take a policy, `"strict"` (the default) or
|
|
402
413
|
`"lenient"`. Messages carry `trailingBits`, MSM messages `signalMask` and
|
|
403
414
|
GLONASS fields `negativeZero`, so a lenient decode re-encodes byte for byte.
|
|
404
415
|
Stream diagnostics gain `crcFailures` and `departures`, and skipped frames
|
|
@@ -455,6 +466,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
455
466
|
- a map inheriting an earlier map's `EXPONENT`, reported as `EXPONENT_CARRIED_INTO_MAP`
|
|
456
467
|
|
|
457
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
|
+
|
|
458
470
|
- **Breaking.** The reader refuses what it used to misplace or pass over:
|
|
459
471
|
- a `MAP DIMENSION 3` product, or an `HGT1 / HGT2 / DHGT` giving several heights
|
|
460
472
|
- a band whose latitude, longitude or height is not a grid node
|
|
@@ -514,6 +526,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
514
526
|
- in the file header only: `RINEX VERSION / TYPE`, `TIME OF FIRST OBS`, `TIME OF LAST OBS`, `LEAP SECONDS` and `# OF SATELLITES`
|
|
515
527
|
|
|
516
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
|
+
|
|
517
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).
|
|
518
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.
|
|
519
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`.
|
|
@@ -610,6 +623,7 @@ restates an engine change as it reaches the JavaScript API.
|
|
|
610
623
|
- a comment in which a word `ORDER` is followed by labels to the end of the line
|
|
611
624
|
|
|
612
625
|
A header naming a label outside the eleven constituents, repeating one, or holding another count is refused with a `BlqParseError`.
|
|
626
|
+
|
|
613
627
|
- The BLQ writer throws a `BlqWriteError` with the zero-based `block` index for a block that would not read back unchanged:
|
|
614
628
|
- a station that is empty, holds a line break or surrounding whitespace, or reads as a comment, header or row
|
|
615
629
|
- a non-finite coefficient
|
package/README.md
CHANGED
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` 4.
|
|
80
|
-
at commit
|
|
81
|
-
`third_party_source/sidereon-core-4.
|
|
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": "4.
|
|
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-4.
|
|
50
|
-
"third_party_source/sidereon-core-4.
|
|
51
|
-
"third_party_source/sidereon-core-4.
|
|
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",
|