@neilberkman/sidereon 0.21.0 → 0.22.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.
@@ -6427,6 +6427,99 @@ export class Sp3ClockReferenceOffset {
6427
6427
  readonly satellites: number;
6428
6428
  }
6429
6429
 
6430
+ /**
6431
+ * One coordinate-label reconciliation applied before SP3 merge consensus.
6432
+ */
6433
+ export class Sp3FrameReconciliationReport {
6434
+ private constructor();
6435
+ free(): void;
6436
+ [Symbol.dispose](): void;
6437
+ /**
6438
+ * Caller assertion set, empty unless assertion reconciliation was used.
6439
+ */
6440
+ readonly assertedLabelSet: string[];
6441
+ /**
6442
+ * True when the published catalog row was applied in reverse.
6443
+ */
6444
+ readonly catalogInverse: boolean;
6445
+ /**
6446
+ * Source frame of the published catalog row used for Helmert reconciliation.
6447
+ */
6448
+ readonly catalogSourceFrame: string | undefined;
6449
+ /**
6450
+ * Target frame of the published catalog row used for Helmert reconciliation.
6451
+ */
6452
+ readonly catalogTargetFrame: string | undefined;
6453
+ /**
6454
+ * Inclusive decimal-year span of affected records.
6455
+ */
6456
+ readonly epochYearSpan: Float64Array;
6457
+ /**
6458
+ * True when both labels resolved to the same terrestrial realization.
6459
+ */
6460
+ readonly identity: boolean;
6461
+ /**
6462
+ * Reconciliation mechanism: "asserted_equivalence" or "helmert".
6463
+ */
6464
+ readonly method: string;
6465
+ /**
6466
+ * Published-table provenance for the catalog entry.
6467
+ */
6468
+ readonly provenance: string | undefined;
6469
+ /**
6470
+ * Number of satellite position records covered by the reconciliation.
6471
+ */
6472
+ readonly recordsAffected: number;
6473
+ /**
6474
+ * Published transform reference epoch, if a catalog entry was used.
6475
+ */
6476
+ readonly referenceEpochYear: number | undefined;
6477
+ /**
6478
+ * Rotation parameters in milliarcseconds, empty for non-catalog identity.
6479
+ */
6480
+ readonly rotationMas: Float64Array;
6481
+ /**
6482
+ * Rotation rates in milliarcseconds per year.
6483
+ */
6484
+ readonly rotationMasPerYear: Float64Array;
6485
+ /**
6486
+ * Scale parameter in parts per billion, undefined for non-catalog identity.
6487
+ */
6488
+ readonly scalePpb: number | undefined;
6489
+ /**
6490
+ * Scale rate in parts per billion per year.
6491
+ */
6492
+ readonly scalePpbPerYear: number | undefined;
6493
+ /**
6494
+ * Resolved source terrestrial frame for Helmert reconciliation.
6495
+ */
6496
+ readonly sourceFrame: string | undefined;
6497
+ /**
6498
+ * Source index in the mergeSp3 input array.
6499
+ */
6500
+ readonly sourceIndex: number;
6501
+ /**
6502
+ * Original coordinate-system label on that source.
6503
+ */
6504
+ readonly sourceLabel: string;
6505
+ /**
6506
+ * Resolved target terrestrial frame for Helmert reconciliation.
6507
+ */
6508
+ readonly targetFrame: string | undefined;
6509
+ /**
6510
+ * Target coordinate-system label, taken from source 0.
6511
+ */
6512
+ readonly targetLabel: string;
6513
+ /**
6514
+ * Translation parameters in millimetres, empty for non-catalog identity.
6515
+ */
6516
+ readonly translationMm: Float64Array;
6517
+ /**
6518
+ * Translation rates in millimetres per year.
6519
+ */
6520
+ readonly translationMmPerYear: Float64Array;
6521
+ }
6522
+
6430
6523
  /**
6431
6524
  * A batch of interpolated SP3 states.
6432
6525
  */
@@ -6485,6 +6578,11 @@ export class Sp3MergeReport {
6485
6578
  */
6486
6579
  readonly agreement: Sp3AgreementMetric[];
6487
6580
  readonly agreementCount: number;
6581
+ readonly frameReconciliationCount: number;
6582
+ /**
6583
+ * Coordinate-label reconciliations applied before consensus.
6584
+ */
6585
+ readonly frameReconciliations: Sp3FrameReconciliationReport[];
6488
6586
  readonly positionOutlierCount: number;
6489
6587
  /**
6490
6588
  * Cells where an accepted consensus rejected source outliers.
@@ -16381,6 +16381,259 @@ class Sp3ClockReferenceOffset {
16381
16381
  if (Symbol.dispose) Sp3ClockReferenceOffset.prototype[Symbol.dispose] = Sp3ClockReferenceOffset.prototype.free;
16382
16382
  exports.Sp3ClockReferenceOffset = Sp3ClockReferenceOffset;
16383
16383
 
16384
+ /**
16385
+ * One coordinate-label reconciliation applied before SP3 merge consensus.
16386
+ */
16387
+ class Sp3FrameReconciliationReport {
16388
+ static __wrap(ptr) {
16389
+ const obj = Object.create(Sp3FrameReconciliationReport.prototype);
16390
+ obj.__wbg_ptr = ptr;
16391
+ Sp3FrameReconciliationReportFinalization.register(obj, obj.__wbg_ptr, obj);
16392
+ return obj;
16393
+ }
16394
+ __destroy_into_raw() {
16395
+ const ptr = this.__wbg_ptr;
16396
+ this.__wbg_ptr = 0;
16397
+ Sp3FrameReconciliationReportFinalization.unregister(this);
16398
+ return ptr;
16399
+ }
16400
+ free() {
16401
+ const ptr = this.__destroy_into_raw();
16402
+ wasm.__wbg_sp3framereconciliationreport_free(ptr, 0);
16403
+ }
16404
+ /**
16405
+ * Caller assertion set, empty unless assertion reconciliation was used.
16406
+ * @returns {string[]}
16407
+ */
16408
+ get assertedLabelSet() {
16409
+ const ret = wasm.sp3framereconciliationreport_assertedLabelSet(this.__wbg_ptr);
16410
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16411
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16412
+ return v1;
16413
+ }
16414
+ /**
16415
+ * True when the published catalog row was applied in reverse.
16416
+ * @returns {boolean}
16417
+ */
16418
+ get catalogInverse() {
16419
+ const ret = wasm.sp3framereconciliationreport_catalogInverse(this.__wbg_ptr);
16420
+ return ret !== 0;
16421
+ }
16422
+ /**
16423
+ * Source frame of the published catalog row used for Helmert reconciliation.
16424
+ * @returns {string | undefined}
16425
+ */
16426
+ get catalogSourceFrame() {
16427
+ const ret = wasm.sp3framereconciliationreport_catalogSourceFrame(this.__wbg_ptr);
16428
+ let v1;
16429
+ if (ret[0] !== 0) {
16430
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16431
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16432
+ }
16433
+ return v1;
16434
+ }
16435
+ /**
16436
+ * Target frame of the published catalog row used for Helmert reconciliation.
16437
+ * @returns {string | undefined}
16438
+ */
16439
+ get catalogTargetFrame() {
16440
+ const ret = wasm.sp3framereconciliationreport_catalogTargetFrame(this.__wbg_ptr);
16441
+ let v1;
16442
+ if (ret[0] !== 0) {
16443
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16444
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16445
+ }
16446
+ return v1;
16447
+ }
16448
+ /**
16449
+ * Inclusive decimal-year span of affected records.
16450
+ * @returns {Float64Array}
16451
+ */
16452
+ get epochYearSpan() {
16453
+ const ret = wasm.sp3framereconciliationreport_epochYearSpan(this.__wbg_ptr);
16454
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16455
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16456
+ return v1;
16457
+ }
16458
+ /**
16459
+ * True when both labels resolved to the same terrestrial realization.
16460
+ * @returns {boolean}
16461
+ */
16462
+ get identity() {
16463
+ const ret = wasm.sp3framereconciliationreport_identity(this.__wbg_ptr);
16464
+ return ret !== 0;
16465
+ }
16466
+ /**
16467
+ * Reconciliation mechanism: "asserted_equivalence" or "helmert".
16468
+ * @returns {string}
16469
+ */
16470
+ get method() {
16471
+ let deferred1_0;
16472
+ let deferred1_1;
16473
+ try {
16474
+ const ret = wasm.sp3framereconciliationreport_method(this.__wbg_ptr);
16475
+ deferred1_0 = ret[0];
16476
+ deferred1_1 = ret[1];
16477
+ return getStringFromWasm0(ret[0], ret[1]);
16478
+ } finally {
16479
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16480
+ }
16481
+ }
16482
+ /**
16483
+ * Published-table provenance for the catalog entry.
16484
+ * @returns {string | undefined}
16485
+ */
16486
+ get provenance() {
16487
+ const ret = wasm.sp3framereconciliationreport_provenance(this.__wbg_ptr);
16488
+ let v1;
16489
+ if (ret[0] !== 0) {
16490
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16491
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16492
+ }
16493
+ return v1;
16494
+ }
16495
+ /**
16496
+ * Number of satellite position records covered by the reconciliation.
16497
+ * @returns {number}
16498
+ */
16499
+ get recordsAffected() {
16500
+ const ret = wasm.sp3framereconciliationreport_recordsAffected(this.__wbg_ptr);
16501
+ return ret >>> 0;
16502
+ }
16503
+ /**
16504
+ * Published transform reference epoch, if a catalog entry was used.
16505
+ * @returns {number | undefined}
16506
+ */
16507
+ get referenceEpochYear() {
16508
+ const ret = wasm.sp3framereconciliationreport_referenceEpochYear(this.__wbg_ptr);
16509
+ return ret[0] === 0 ? undefined : ret[1];
16510
+ }
16511
+ /**
16512
+ * Rotation parameters in milliarcseconds, empty for non-catalog identity.
16513
+ * @returns {Float64Array}
16514
+ */
16515
+ get rotationMas() {
16516
+ const ret = wasm.sp3framereconciliationreport_rotationMas(this.__wbg_ptr);
16517
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16518
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16519
+ return v1;
16520
+ }
16521
+ /**
16522
+ * Rotation rates in milliarcseconds per year.
16523
+ * @returns {Float64Array}
16524
+ */
16525
+ get rotationMasPerYear() {
16526
+ const ret = wasm.sp3framereconciliationreport_rotationMasPerYear(this.__wbg_ptr);
16527
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16528
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16529
+ return v1;
16530
+ }
16531
+ /**
16532
+ * Scale parameter in parts per billion, undefined for non-catalog identity.
16533
+ * @returns {number | undefined}
16534
+ */
16535
+ get scalePpb() {
16536
+ const ret = wasm.sp3framereconciliationreport_scalePpb(this.__wbg_ptr);
16537
+ return ret[0] === 0 ? undefined : ret[1];
16538
+ }
16539
+ /**
16540
+ * Scale rate in parts per billion per year.
16541
+ * @returns {number | undefined}
16542
+ */
16543
+ get scalePpbPerYear() {
16544
+ const ret = wasm.sp3framereconciliationreport_scalePpbPerYear(this.__wbg_ptr);
16545
+ return ret[0] === 0 ? undefined : ret[1];
16546
+ }
16547
+ /**
16548
+ * Resolved source terrestrial frame for Helmert reconciliation.
16549
+ * @returns {string | undefined}
16550
+ */
16551
+ get sourceFrame() {
16552
+ const ret = wasm.sp3framereconciliationreport_sourceFrame(this.__wbg_ptr);
16553
+ let v1;
16554
+ if (ret[0] !== 0) {
16555
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16556
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16557
+ }
16558
+ return v1;
16559
+ }
16560
+ /**
16561
+ * Source index in the mergeSp3 input array.
16562
+ * @returns {number}
16563
+ */
16564
+ get sourceIndex() {
16565
+ const ret = wasm.sp3framereconciliationreport_sourceIndex(this.__wbg_ptr);
16566
+ return ret >>> 0;
16567
+ }
16568
+ /**
16569
+ * Original coordinate-system label on that source.
16570
+ * @returns {string}
16571
+ */
16572
+ get sourceLabel() {
16573
+ let deferred1_0;
16574
+ let deferred1_1;
16575
+ try {
16576
+ const ret = wasm.sp3framereconciliationreport_sourceLabel(this.__wbg_ptr);
16577
+ deferred1_0 = ret[0];
16578
+ deferred1_1 = ret[1];
16579
+ return getStringFromWasm0(ret[0], ret[1]);
16580
+ } finally {
16581
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16582
+ }
16583
+ }
16584
+ /**
16585
+ * Resolved target terrestrial frame for Helmert reconciliation.
16586
+ * @returns {string | undefined}
16587
+ */
16588
+ get targetFrame() {
16589
+ const ret = wasm.sp3framereconciliationreport_targetFrame(this.__wbg_ptr);
16590
+ let v1;
16591
+ if (ret[0] !== 0) {
16592
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16593
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16594
+ }
16595
+ return v1;
16596
+ }
16597
+ /**
16598
+ * Target coordinate-system label, taken from source 0.
16599
+ * @returns {string}
16600
+ */
16601
+ get targetLabel() {
16602
+ let deferred1_0;
16603
+ let deferred1_1;
16604
+ try {
16605
+ const ret = wasm.sp3framereconciliationreport_targetLabel(this.__wbg_ptr);
16606
+ deferred1_0 = ret[0];
16607
+ deferred1_1 = ret[1];
16608
+ return getStringFromWasm0(ret[0], ret[1]);
16609
+ } finally {
16610
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16611
+ }
16612
+ }
16613
+ /**
16614
+ * Translation parameters in millimetres, empty for non-catalog identity.
16615
+ * @returns {Float64Array}
16616
+ */
16617
+ get translationMm() {
16618
+ const ret = wasm.sp3framereconciliationreport_translationMm(this.__wbg_ptr);
16619
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16620
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16621
+ return v1;
16622
+ }
16623
+ /**
16624
+ * Translation rates in millimetres per year.
16625
+ * @returns {Float64Array}
16626
+ */
16627
+ get translationMmPerYear() {
16628
+ const ret = wasm.sp3framereconciliationreport_translationMmPerYear(this.__wbg_ptr);
16629
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16630
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16631
+ return v1;
16632
+ }
16633
+ }
16634
+ if (Symbol.dispose) Sp3FrameReconciliationReport.prototype[Symbol.dispose] = Sp3FrameReconciliationReport.prototype.free;
16635
+ exports.Sp3FrameReconciliationReport = Sp3FrameReconciliationReport;
16636
+
16384
16637
  /**
16385
16638
  * A batch of interpolated SP3 states.
16386
16639
  */
@@ -16532,6 +16785,23 @@ class Sp3MergeReport {
16532
16785
  const ret = wasm.sp3mergereport_agreementCount(this.__wbg_ptr);
16533
16786
  return ret >>> 0;
16534
16787
  }
16788
+ /**
16789
+ * @returns {number}
16790
+ */
16791
+ get frameReconciliationCount() {
16792
+ const ret = wasm.sp3mergereport_frameReconciliationCount(this.__wbg_ptr);
16793
+ return ret >>> 0;
16794
+ }
16795
+ /**
16796
+ * Coordinate-label reconciliations applied before consensus.
16797
+ * @returns {Sp3FrameReconciliationReport[]}
16798
+ */
16799
+ get frameReconciliations() {
16800
+ const ret = wasm.sp3mergereport_frameReconciliations(this.__wbg_ptr);
16801
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16802
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16803
+ return v1;
16804
+ }
16535
16805
  /**
16536
16806
  * @returns {number}
16537
16807
  */
@@ -29260,6 +29530,10 @@ function __wbg_get_imports() {
29260
29530
  const ret = Sp3ClockReferenceOffset.__wrap(arg0);
29261
29531
  return ret;
29262
29532
  },
29533
+ __wbg_sp3framereconciliationreport_new: function(arg0) {
29534
+ const ret = Sp3FrameReconciliationReport.__wrap(arg0);
29535
+ return ret;
29536
+ },
29263
29537
  __wbg_sp3mergeflag_new: function(arg0) {
29264
29538
  const ret = Sp3MergeFlag.__wrap(arg0);
29265
29539
  return ret;
@@ -29823,6 +30097,9 @@ const Sp3AgreementMetricFinalization = (typeof FinalizationRegistry === 'undefin
29823
30097
  const Sp3ClockReferenceOffsetFinalization = (typeof FinalizationRegistry === 'undefined')
29824
30098
  ? { register: () => {}, unregister: () => {} }
29825
30099
  : new FinalizationRegistry(ptr => wasm.__wbg_sp3clockreferenceoffset_free(ptr, 1));
30100
+ const Sp3FrameReconciliationReportFinalization = (typeof FinalizationRegistry === 'undefined')
30101
+ ? { register: () => {}, unregister: () => {} }
30102
+ : new FinalizationRegistry(ptr => wasm.__wbg_sp3framereconciliationreport_free(ptr, 1));
29826
30103
  const Sp3InterpolationFinalization = (typeof FinalizationRegistry === 'undefined')
29827
30104
  ? { register: () => {}, unregister: () => {} }
29828
30105
  : new FinalizationRegistry(ptr => wasm.__wbg_sp3interpolation_free(ptr, 1));
Binary file