@neilberkman/sidereon 0.30.0 → 0.32.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 +31 -0
- package/README.md +22 -0
- package/package.json +1 -1
- package/pkg/sidereon.d.ts +1835 -1723
- package/pkg/sidereon.js +136 -0
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1728 -1720
- package/pkg-node/sidereon.d.ts +104 -0
- package/pkg-node/sidereon.js +140 -0
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1728 -1720
package/pkg/sidereon.js
CHANGED
|
@@ -17466,6 +17466,70 @@ export class Sp3MergeFlag {
|
|
|
17466
17466
|
}
|
|
17467
17467
|
if (Symbol.dispose) Sp3MergeFlag.prototype[Symbol.dispose] = Sp3MergeFlag.prototype.free;
|
|
17468
17468
|
|
|
17469
|
+
/**
|
|
17470
|
+
* Canonical identity of a complete exact SP3 input set and full merge policy.
|
|
17471
|
+
*/
|
|
17472
|
+
export class Sp3MergeInputIdentity {
|
|
17473
|
+
static __wrap(ptr) {
|
|
17474
|
+
const obj = Object.create(Sp3MergeInputIdentity.prototype);
|
|
17475
|
+
obj.__wbg_ptr = ptr;
|
|
17476
|
+
Sp3MergeInputIdentityFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
17477
|
+
return obj;
|
|
17478
|
+
}
|
|
17479
|
+
__destroy_into_raw() {
|
|
17480
|
+
const ptr = this.__wbg_ptr;
|
|
17481
|
+
this.__wbg_ptr = 0;
|
|
17482
|
+
Sp3MergeInputIdentityFinalization.unregister(this);
|
|
17483
|
+
return ptr;
|
|
17484
|
+
}
|
|
17485
|
+
free() {
|
|
17486
|
+
const ptr = this.__destroy_into_raw();
|
|
17487
|
+
wasm.__wbg_sp3mergeinputidentity_free(ptr, 0);
|
|
17488
|
+
}
|
|
17489
|
+
/**
|
|
17490
|
+
* Contributors in distributor-independent canonical order.
|
|
17491
|
+
* @returns {any}
|
|
17492
|
+
*/
|
|
17493
|
+
get contributors() {
|
|
17494
|
+
const ret = wasm.sp3mergeinputidentity_contributors(this.__wbg_ptr);
|
|
17495
|
+
return ret;
|
|
17496
|
+
}
|
|
17497
|
+
/**
|
|
17498
|
+
* Contributors in semantic source-priority order for precedence merges;
|
|
17499
|
+
* undefined for mean and median.
|
|
17500
|
+
* @returns {any}
|
|
17501
|
+
*/
|
|
17502
|
+
get precedenceContributors() {
|
|
17503
|
+
const ret = wasm.sp3mergeinputidentity_precedenceContributors(this.__wbg_ptr);
|
|
17504
|
+
return ret;
|
|
17505
|
+
}
|
|
17506
|
+
/**
|
|
17507
|
+
* Canonical encoding version.
|
|
17508
|
+
* @returns {number}
|
|
17509
|
+
*/
|
|
17510
|
+
get schemaVersion() {
|
|
17511
|
+
const ret = wasm.sp3mergeinputidentity_schemaVersion(this.__wbg_ptr);
|
|
17512
|
+
return ret;
|
|
17513
|
+
}
|
|
17514
|
+
/**
|
|
17515
|
+
* Versioned stable identity of every artifact and effective merge control.
|
|
17516
|
+
* @returns {string}
|
|
17517
|
+
*/
|
|
17518
|
+
get stableId() {
|
|
17519
|
+
let deferred1_0;
|
|
17520
|
+
let deferred1_1;
|
|
17521
|
+
try {
|
|
17522
|
+
const ret = wasm.sp3mergeinputidentity_stableId(this.__wbg_ptr);
|
|
17523
|
+
deferred1_0 = ret[0];
|
|
17524
|
+
deferred1_1 = ret[1];
|
|
17525
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
17526
|
+
} finally {
|
|
17527
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
17528
|
+
}
|
|
17529
|
+
}
|
|
17530
|
+
}
|
|
17531
|
+
if (Symbol.dispose) Sp3MergeInputIdentity.prototype[Symbol.dispose] = Sp3MergeInputIdentity.prototype.free;
|
|
17532
|
+
|
|
17469
17533
|
/**
|
|
17470
17534
|
* Audit report returned with a merged SP3 product.
|
|
17471
17535
|
*/
|
|
@@ -25537,6 +25601,20 @@ export function mergeNavcen(records, statuses) {
|
|
|
25537
25601
|
return takeFromExternrefTable0(ret[0]);
|
|
25538
25602
|
}
|
|
25539
25603
|
|
|
25604
|
+
/**
|
|
25605
|
+
* Merge time-aware NAVCEN assessments into records by PRN.
|
|
25606
|
+
* @param {any} records
|
|
25607
|
+
* @param {any} assessments
|
|
25608
|
+
* @returns {any}
|
|
25609
|
+
*/
|
|
25610
|
+
export function mergeNavcenAt(records, assessments) {
|
|
25611
|
+
const ret = wasm.mergeNavcenAt(records, assessments);
|
|
25612
|
+
if (ret[2]) {
|
|
25613
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
25614
|
+
}
|
|
25615
|
+
return takeFromExternrefTable0(ret[0]);
|
|
25616
|
+
}
|
|
25617
|
+
|
|
25540
25618
|
/**
|
|
25541
25619
|
* Merge SP3 products with the core consensus merge path.
|
|
25542
25620
|
*
|
|
@@ -26437,6 +26515,24 @@ export function parseNavcen(html) {
|
|
|
26437
26515
|
return takeFromExternrefTable0(ret[0]);
|
|
26438
26516
|
}
|
|
26439
26517
|
|
|
26518
|
+
/**
|
|
26519
|
+
* Parse NAVCEN status HTML and evaluate usability at explicit UTC Unix
|
|
26520
|
+
* microseconds. Parsed intervals are half-open; ambiguous forecasts are
|
|
26521
|
+
* retained without disabling the satellite.
|
|
26522
|
+
* @param {string} html
|
|
26523
|
+
* @param {bigint} evaluated_at_unix_us
|
|
26524
|
+
* @returns {any}
|
|
26525
|
+
*/
|
|
26526
|
+
export function parseNavcenAt(html, evaluated_at_unix_us) {
|
|
26527
|
+
const ptr0 = passStringToWasm0(html, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
26528
|
+
const len0 = WASM_VECTOR_LEN;
|
|
26529
|
+
const ret = wasm.parseNavcenAt(ptr0, len0, evaluated_at_unix_us);
|
|
26530
|
+
if (ret[2]) {
|
|
26531
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
26532
|
+
}
|
|
26533
|
+
return takeFromExternrefTable0(ret[0]);
|
|
26534
|
+
}
|
|
26535
|
+
|
|
26440
26536
|
/**
|
|
26441
26537
|
* Parse NMEA sentences from bytes.
|
|
26442
26538
|
* @param {Uint8Array} bytes
|
|
@@ -28821,6 +28917,29 @@ export function sourceSolveModeToa() {
|
|
|
28821
28917
|
}
|
|
28822
28918
|
}
|
|
28823
28919
|
|
|
28920
|
+
/**
|
|
28921
|
+
* Validate complete exact artifact records and return their canonical merge
|
|
28922
|
+
* input identity.
|
|
28923
|
+
*
|
|
28924
|
+
* `contributors` must be an array of complete `Sp3ArtifactIdentityInput`
|
|
28925
|
+
* objects. Contributor enumeration order does not affect mean or median
|
|
28926
|
+
* identities. Precedence identities bind the original order because it
|
|
28927
|
+
* determines source priority. Unordered policy fields are canonicalized.
|
|
28928
|
+
* Empty, duplicate, incomplete, malformed, non-SP3, or mismatched records fail
|
|
28929
|
+
* closed. Acquisition timestamps, URLs, HTTP metadata, credentials, cache
|
|
28930
|
+
* paths, and retry history are not accepted input fields.
|
|
28931
|
+
* @param {any} contributors
|
|
28932
|
+
* @param {any} options
|
|
28933
|
+
* @returns {Sp3MergeInputIdentity}
|
|
28934
|
+
*/
|
|
28935
|
+
export function sp3MergeInputIdentity(contributors, options) {
|
|
28936
|
+
const ret = wasm.sp3MergeInputIdentity(contributors, options);
|
|
28937
|
+
if (ret[2]) {
|
|
28938
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
28939
|
+
}
|
|
28940
|
+
return Sp3MergeInputIdentity.__wrap(ret[0]);
|
|
28941
|
+
}
|
|
28942
|
+
|
|
28824
28943
|
/**
|
|
28825
28944
|
* Extract a parsed SP3 product as the canonical precise-ephemeris samples, one
|
|
28826
28945
|
* per real position record in ascending epoch order.
|
|
@@ -29899,6 +30018,16 @@ function __wbg_get_imports() {
|
|
|
29899
30018
|
const ret = result;
|
|
29900
30019
|
return ret;
|
|
29901
30020
|
},
|
|
30021
|
+
__wbg_instanceof_Object_33f20e6f12439f3e: function(arg0) {
|
|
30022
|
+
let result;
|
|
30023
|
+
try {
|
|
30024
|
+
result = arg0 instanceof Object;
|
|
30025
|
+
} catch (_) {
|
|
30026
|
+
result = false;
|
|
30027
|
+
}
|
|
30028
|
+
const ret = result;
|
|
30029
|
+
return ret;
|
|
30030
|
+
},
|
|
29902
30031
|
__wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
|
|
29903
30032
|
let result;
|
|
29904
30033
|
try {
|
|
@@ -29929,6 +30058,10 @@ function __wbg_get_imports() {
|
|
|
29929
30058
|
const ret = Symbol.iterator;
|
|
29930
30059
|
return ret;
|
|
29931
30060
|
},
|
|
30061
|
+
__wbg_keys_58421f8f96795607: function(arg0) {
|
|
30062
|
+
const ret = Object.keys(arg0);
|
|
30063
|
+
return ret;
|
|
30064
|
+
},
|
|
29932
30065
|
__wbg_length_1f0964f4a5e2c6d8: function(arg0) {
|
|
29933
30066
|
const ret = arg0.length;
|
|
29934
30067
|
return ret;
|
|
@@ -30669,6 +30802,9 @@ const Sp3InterpolationFinalization = (typeof FinalizationRegistry === 'undefined
|
|
|
30669
30802
|
const Sp3MergeFlagFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
30670
30803
|
? { register: () => {}, unregister: () => {} }
|
|
30671
30804
|
: new FinalizationRegistry(ptr => wasm.__wbg_sp3mergeflag_free(ptr, 1));
|
|
30805
|
+
const Sp3MergeInputIdentityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
30806
|
+
? { register: () => {}, unregister: () => {} }
|
|
30807
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sp3mergeinputidentity_free(ptr, 1));
|
|
30672
30808
|
const Sp3MergeReportFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
30673
30809
|
? { register: () => {}, unregister: () => {} }
|
|
30674
30810
|
: new FinalizationRegistry(ptr => wasm.__wbg_sp3mergereport_free(ptr, 1));
|
package/pkg/sidereon_bg.wasm
CHANGED
|
Binary file
|