@neilberkman/sidereon 0.28.0 → 0.29.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.
@@ -2928,6 +2928,19 @@ export class GlonassRecordJs {
2928
2928
  readonly velocityMS: Float64Array;
2929
2929
  }
2930
2930
 
2931
+ /**
2932
+ * Public location and transport metadata for one exact product identity.
2933
+ */
2934
+ export class GnssDistributionLocation {
2935
+ private constructor();
2936
+ free(): void;
2937
+ [Symbol.dispose](): void;
2938
+ readonly archiveFilename: string;
2939
+ readonly compression: string;
2940
+ readonly originalUrl: string | undefined;
2941
+ readonly source: string;
2942
+ }
2943
+
2931
2944
  /**
2932
2945
  * Stateful GNSS/INS filter resource.
2933
2946
  */
@@ -3061,6 +3074,33 @@ export class GnssPass {
3061
3074
  readonly setStepIndex: number;
3062
3075
  }
3063
3076
 
3077
+ /**
3078
+ * Exact public GNSS product identity, independent of distributor.
3079
+ */
3080
+ export class GnssProductIdentity {
3081
+ private constructor();
3082
+ free(): void;
3083
+ [Symbol.dispose](): void;
3084
+ /**
3085
+ * Stable validated identity key suitable for caller-managed cache paths.
3086
+ */
3087
+ readonly cacheKey: string;
3088
+ readonly campaign: string;
3089
+ readonly day: number;
3090
+ readonly family: string;
3091
+ readonly filenameVersion: number;
3092
+ readonly format: string;
3093
+ readonly issue: string | undefined;
3094
+ readonly month: number;
3095
+ readonly officialFilename: string;
3096
+ readonly predictionHorizonDays: number | undefined;
3097
+ readonly publisher: string;
3098
+ readonly sample: string;
3099
+ readonly solutionClass: string;
3100
+ readonly span: string;
3101
+ readonly year: number;
3102
+ }
3103
+
3064
3104
  /**
3065
3105
  * A GNSS constellation. The JS value matches the variant order below.
3066
3106
  */
@@ -9262,6 +9302,11 @@ export function diff(previous: any, current: any): any;
9262
9302
  */
9263
9303
  export function dishGain(diameter_m: number, frequency_hz: number, efficiency: number): number;
9264
9304
 
9305
+ /**
9306
+ * Resolve one explicit public distributor without performing network IO.
9307
+ */
9308
+ export function distributionLocation(center: string, family: string, year: number, month: number, day: number, sample: string | null | undefined, issue: string | null | undefined, source: string): GnssDistributionLocation;
9309
+
9265
9310
  /**
9266
9311
  * GNSS dilution of precision with an explicit ENU convention for the
9267
9312
  * horizontal/vertical split.
@@ -10937,6 +10982,11 @@ export function predictBatchSp3(sp3: Sp3, satellites: string[], receivers_ecef_m
10937
10982
  */
10938
10983
  export function prepareIonosphereFreeRtkArc(epochs: RtkDualFrequencyArcEpoch[], wide_lane_cycles: Record<string, number>, config: RtkIonosphereFreeArcConfig): RtkIonosphereFreeArcResult;
10939
10984
 
10985
+ /**
10986
+ * Resolve an exact catalog product independently from distributor.
10987
+ */
10988
+ export function productIdentity(center: string, family: string, year: number, month: number, day: number, sample?: string | null, issue?: string | null): GnssProductIdentity;
10989
+
10940
10990
  /**
10941
10991
  * Propagate a fleet of already-initialized [`Tle`]s over a shared epoch grid in
10942
10992
  * a single call: the batched form of [`Tle.propagate`].
@@ -5878,6 +5878,87 @@ class GlonassRecordJs {
5878
5878
  if (Symbol.dispose) GlonassRecordJs.prototype[Symbol.dispose] = GlonassRecordJs.prototype.free;
5879
5879
  exports.GlonassRecordJs = GlonassRecordJs;
5880
5880
 
5881
+ /**
5882
+ * Public location and transport metadata for one exact product identity.
5883
+ */
5884
+ class GnssDistributionLocation {
5885
+ static __wrap(ptr) {
5886
+ const obj = Object.create(GnssDistributionLocation.prototype);
5887
+ obj.__wbg_ptr = ptr;
5888
+ GnssDistributionLocationFinalization.register(obj, obj.__wbg_ptr, obj);
5889
+ return obj;
5890
+ }
5891
+ __destroy_into_raw() {
5892
+ const ptr = this.__wbg_ptr;
5893
+ this.__wbg_ptr = 0;
5894
+ GnssDistributionLocationFinalization.unregister(this);
5895
+ return ptr;
5896
+ }
5897
+ free() {
5898
+ const ptr = this.__destroy_into_raw();
5899
+ wasm.__wbg_gnssdistributionlocation_free(ptr, 0);
5900
+ }
5901
+ /**
5902
+ * @returns {string}
5903
+ */
5904
+ get archiveFilename() {
5905
+ let deferred1_0;
5906
+ let deferred1_1;
5907
+ try {
5908
+ const ret = wasm.gnssdistributionlocation_archiveFilename(this.__wbg_ptr);
5909
+ deferred1_0 = ret[0];
5910
+ deferred1_1 = ret[1];
5911
+ return getStringFromWasm0(ret[0], ret[1]);
5912
+ } finally {
5913
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
5914
+ }
5915
+ }
5916
+ /**
5917
+ * @returns {string}
5918
+ */
5919
+ get compression() {
5920
+ let deferred1_0;
5921
+ let deferred1_1;
5922
+ try {
5923
+ const ret = wasm.gnssdistributionlocation_compression(this.__wbg_ptr);
5924
+ deferred1_0 = ret[0];
5925
+ deferred1_1 = ret[1];
5926
+ return getStringFromWasm0(ret[0], ret[1]);
5927
+ } finally {
5928
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
5929
+ }
5930
+ }
5931
+ /**
5932
+ * @returns {string | undefined}
5933
+ */
5934
+ get originalUrl() {
5935
+ const ret = wasm.gnssdistributionlocation_originalUrl(this.__wbg_ptr);
5936
+ let v1;
5937
+ if (ret[0] !== 0) {
5938
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
5939
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
5940
+ }
5941
+ return v1;
5942
+ }
5943
+ /**
5944
+ * @returns {string}
5945
+ */
5946
+ get source() {
5947
+ let deferred1_0;
5948
+ let deferred1_1;
5949
+ try {
5950
+ const ret = wasm.gnssdistributionlocation_source(this.__wbg_ptr);
5951
+ deferred1_0 = ret[0];
5952
+ deferred1_1 = ret[1];
5953
+ return getStringFromWasm0(ret[0], ret[1]);
5954
+ } finally {
5955
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
5956
+ }
5957
+ }
5958
+ }
5959
+ if (Symbol.dispose) GnssDistributionLocation.prototype[Symbol.dispose] = GnssDistributionLocation.prototype.free;
5960
+ exports.GnssDistributionLocation = GnssDistributionLocation;
5961
+
5881
5962
  /**
5882
5963
  * Stateful GNSS/INS filter resource.
5883
5964
  */
@@ -6282,6 +6363,219 @@ class GnssPass {
6282
6363
  if (Symbol.dispose) GnssPass.prototype[Symbol.dispose] = GnssPass.prototype.free;
6283
6364
  exports.GnssPass = GnssPass;
6284
6365
 
6366
+ /**
6367
+ * Exact public GNSS product identity, independent of distributor.
6368
+ */
6369
+ class GnssProductIdentity {
6370
+ static __wrap(ptr) {
6371
+ const obj = Object.create(GnssProductIdentity.prototype);
6372
+ obj.__wbg_ptr = ptr;
6373
+ GnssProductIdentityFinalization.register(obj, obj.__wbg_ptr, obj);
6374
+ return obj;
6375
+ }
6376
+ __destroy_into_raw() {
6377
+ const ptr = this.__wbg_ptr;
6378
+ this.__wbg_ptr = 0;
6379
+ GnssProductIdentityFinalization.unregister(this);
6380
+ return ptr;
6381
+ }
6382
+ free() {
6383
+ const ptr = this.__destroy_into_raw();
6384
+ wasm.__wbg_gnssproductidentity_free(ptr, 0);
6385
+ }
6386
+ /**
6387
+ * Stable validated identity key suitable for caller-managed cache paths.
6388
+ * @returns {string}
6389
+ */
6390
+ get cacheKey() {
6391
+ let deferred2_0;
6392
+ let deferred2_1;
6393
+ try {
6394
+ const ret = wasm.gnssproductidentity_cacheKey(this.__wbg_ptr);
6395
+ var ptr1 = ret[0];
6396
+ var len1 = ret[1];
6397
+ if (ret[3]) {
6398
+ ptr1 = 0; len1 = 0;
6399
+ throw takeFromExternrefTable0(ret[2]);
6400
+ }
6401
+ deferred2_0 = ptr1;
6402
+ deferred2_1 = len1;
6403
+ return getStringFromWasm0(ptr1, len1);
6404
+ } finally {
6405
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
6406
+ }
6407
+ }
6408
+ /**
6409
+ * @returns {string}
6410
+ */
6411
+ get campaign() {
6412
+ let deferred1_0;
6413
+ let deferred1_1;
6414
+ try {
6415
+ const ret = wasm.gnssproductidentity_campaign(this.__wbg_ptr);
6416
+ deferred1_0 = ret[0];
6417
+ deferred1_1 = ret[1];
6418
+ return getStringFromWasm0(ret[0], ret[1]);
6419
+ } finally {
6420
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6421
+ }
6422
+ }
6423
+ /**
6424
+ * @returns {number}
6425
+ */
6426
+ get day() {
6427
+ const ret = wasm.gnssproductidentity_day(this.__wbg_ptr);
6428
+ return ret;
6429
+ }
6430
+ /**
6431
+ * @returns {string}
6432
+ */
6433
+ get family() {
6434
+ let deferred1_0;
6435
+ let deferred1_1;
6436
+ try {
6437
+ const ret = wasm.gnssproductidentity_family(this.__wbg_ptr);
6438
+ deferred1_0 = ret[0];
6439
+ deferred1_1 = ret[1];
6440
+ return getStringFromWasm0(ret[0], ret[1]);
6441
+ } finally {
6442
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6443
+ }
6444
+ }
6445
+ /**
6446
+ * @returns {number}
6447
+ */
6448
+ get filenameVersion() {
6449
+ const ret = wasm.gnssproductidentity_filenameVersion(this.__wbg_ptr);
6450
+ return ret;
6451
+ }
6452
+ /**
6453
+ * @returns {string}
6454
+ */
6455
+ get format() {
6456
+ let deferred1_0;
6457
+ let deferred1_1;
6458
+ try {
6459
+ const ret = wasm.gnssproductidentity_format(this.__wbg_ptr);
6460
+ deferred1_0 = ret[0];
6461
+ deferred1_1 = ret[1];
6462
+ return getStringFromWasm0(ret[0], ret[1]);
6463
+ } finally {
6464
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6465
+ }
6466
+ }
6467
+ /**
6468
+ * @returns {string | undefined}
6469
+ */
6470
+ get issue() {
6471
+ const ret = wasm.gnssproductidentity_issue(this.__wbg_ptr);
6472
+ let v1;
6473
+ if (ret[0] !== 0) {
6474
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
6475
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
6476
+ }
6477
+ return v1;
6478
+ }
6479
+ /**
6480
+ * @returns {number}
6481
+ */
6482
+ get month() {
6483
+ const ret = wasm.gnssproductidentity_month(this.__wbg_ptr);
6484
+ return ret;
6485
+ }
6486
+ /**
6487
+ * @returns {string}
6488
+ */
6489
+ get officialFilename() {
6490
+ let deferred1_0;
6491
+ let deferred1_1;
6492
+ try {
6493
+ const ret = wasm.gnssproductidentity_officialFilename(this.__wbg_ptr);
6494
+ deferred1_0 = ret[0];
6495
+ deferred1_1 = ret[1];
6496
+ return getStringFromWasm0(ret[0], ret[1]);
6497
+ } finally {
6498
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6499
+ }
6500
+ }
6501
+ /**
6502
+ * @returns {number | undefined}
6503
+ */
6504
+ get predictionHorizonDays() {
6505
+ const ret = wasm.gnssproductidentity_predictionHorizonDays(this.__wbg_ptr);
6506
+ return ret === 0xFFFFFF ? undefined : ret;
6507
+ }
6508
+ /**
6509
+ * @returns {string}
6510
+ */
6511
+ get publisher() {
6512
+ let deferred1_0;
6513
+ let deferred1_1;
6514
+ try {
6515
+ const ret = wasm.gnssproductidentity_publisher(this.__wbg_ptr);
6516
+ deferred1_0 = ret[0];
6517
+ deferred1_1 = ret[1];
6518
+ return getStringFromWasm0(ret[0], ret[1]);
6519
+ } finally {
6520
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6521
+ }
6522
+ }
6523
+ /**
6524
+ * @returns {string}
6525
+ */
6526
+ get sample() {
6527
+ let deferred1_0;
6528
+ let deferred1_1;
6529
+ try {
6530
+ const ret = wasm.gnssproductidentity_sample(this.__wbg_ptr);
6531
+ deferred1_0 = ret[0];
6532
+ deferred1_1 = ret[1];
6533
+ return getStringFromWasm0(ret[0], ret[1]);
6534
+ } finally {
6535
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6536
+ }
6537
+ }
6538
+ /**
6539
+ * @returns {string}
6540
+ */
6541
+ get solutionClass() {
6542
+ let deferred1_0;
6543
+ let deferred1_1;
6544
+ try {
6545
+ const ret = wasm.gnssproductidentity_solutionClass(this.__wbg_ptr);
6546
+ deferred1_0 = ret[0];
6547
+ deferred1_1 = ret[1];
6548
+ return getStringFromWasm0(ret[0], ret[1]);
6549
+ } finally {
6550
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6551
+ }
6552
+ }
6553
+ /**
6554
+ * @returns {string}
6555
+ */
6556
+ get span() {
6557
+ let deferred1_0;
6558
+ let deferred1_1;
6559
+ try {
6560
+ const ret = wasm.gnssproductidentity_span(this.__wbg_ptr);
6561
+ deferred1_0 = ret[0];
6562
+ deferred1_1 = ret[1];
6563
+ return getStringFromWasm0(ret[0], ret[1]);
6564
+ } finally {
6565
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6566
+ }
6567
+ }
6568
+ /**
6569
+ * @returns {number}
6570
+ */
6571
+ get year() {
6572
+ const ret = wasm.gnssproductidentity_year(this.__wbg_ptr);
6573
+ return ret;
6574
+ }
6575
+ }
6576
+ if (Symbol.dispose) GnssProductIdentity.prototype[Symbol.dispose] = GnssProductIdentity.prototype.free;
6577
+ exports.GnssProductIdentity = GnssProductIdentity;
6578
+
6285
6579
  /**
6286
6580
  * A GNSS constellation. The JS value matches the variant order below.
6287
6581
  * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6}
@@ -22405,6 +22699,37 @@ function dishGain(diameter_m, frequency_hz, efficiency) {
22405
22699
  }
22406
22700
  exports.dishGain = dishGain;
22407
22701
 
22702
+ /**
22703
+ * Resolve one explicit public distributor without performing network IO.
22704
+ * @param {string} center
22705
+ * @param {string} family
22706
+ * @param {number} year
22707
+ * @param {number} month
22708
+ * @param {number} day
22709
+ * @param {string | null | undefined} sample
22710
+ * @param {string | null | undefined} issue
22711
+ * @param {string} source
22712
+ * @returns {GnssDistributionLocation}
22713
+ */
22714
+ function distributionLocation(center, family, year, month, day, sample, issue, source) {
22715
+ const ptr0 = passStringToWasm0(center, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22716
+ const len0 = WASM_VECTOR_LEN;
22717
+ const ptr1 = passStringToWasm0(family, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22718
+ const len1 = WASM_VECTOR_LEN;
22719
+ var ptr2 = isLikeNone(sample) ? 0 : passStringToWasm0(sample, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22720
+ var len2 = WASM_VECTOR_LEN;
22721
+ var ptr3 = isLikeNone(issue) ? 0 : passStringToWasm0(issue, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22722
+ var len3 = WASM_VECTOR_LEN;
22723
+ const ptr4 = passStringToWasm0(source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22724
+ const len4 = WASM_VECTOR_LEN;
22725
+ const ret = wasm.distributionLocation(ptr0, len0, ptr1, len1, year, month, day, ptr2, len2, ptr3, len3, ptr4, len4);
22726
+ if (ret[2]) {
22727
+ throw takeFromExternrefTable0(ret[1]);
22728
+ }
22729
+ return GnssDistributionLocation.__wrap(ret[0]);
22730
+ }
22731
+ exports.distributionLocation = distributionLocation;
22732
+
22408
22733
  /**
22409
22734
  * GNSS dilution of precision with an explicit ENU convention for the
22410
22735
  * horizontal/vertical split.
@@ -27156,6 +27481,34 @@ function prepareIonosphereFreeRtkArc(epochs, wide_lane_cycles, config) {
27156
27481
  }
27157
27482
  exports.prepareIonosphereFreeRtkArc = prepareIonosphereFreeRtkArc;
27158
27483
 
27484
+ /**
27485
+ * Resolve an exact catalog product independently from distributor.
27486
+ * @param {string} center
27487
+ * @param {string} family
27488
+ * @param {number} year
27489
+ * @param {number} month
27490
+ * @param {number} day
27491
+ * @param {string | null} [sample]
27492
+ * @param {string | null} [issue]
27493
+ * @returns {GnssProductIdentity}
27494
+ */
27495
+ function productIdentity(center, family, year, month, day, sample, issue) {
27496
+ const ptr0 = passStringToWasm0(center, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
27497
+ const len0 = WASM_VECTOR_LEN;
27498
+ const ptr1 = passStringToWasm0(family, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
27499
+ const len1 = WASM_VECTOR_LEN;
27500
+ var ptr2 = isLikeNone(sample) ? 0 : passStringToWasm0(sample, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
27501
+ var len2 = WASM_VECTOR_LEN;
27502
+ var ptr3 = isLikeNone(issue) ? 0 : passStringToWasm0(issue, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
27503
+ var len3 = WASM_VECTOR_LEN;
27504
+ const ret = wasm.productIdentity(ptr0, len0, ptr1, len1, year, month, day, ptr2, len2, ptr3, len3);
27505
+ if (ret[2]) {
27506
+ throw takeFromExternrefTable0(ret[1]);
27507
+ }
27508
+ return GnssProductIdentity.__wrap(ret[0]);
27509
+ }
27510
+ exports.productIdentity = productIdentity;
27511
+
27159
27512
  /**
27160
27513
  * Propagate a fleet of already-initialized [`Tle`]s over a shared epoch grid in
27161
27514
  * a single call: the batched form of [`Tle.propagate`].
@@ -30509,12 +30862,18 @@ const GeometryQualityFinalization = (typeof FinalizationRegistry === 'undefined'
30509
30862
  const GlonassRecordJsFinalization = (typeof FinalizationRegistry === 'undefined')
30510
30863
  ? { register: () => {}, unregister: () => {} }
30511
30864
  : new FinalizationRegistry(ptr => wasm.__wbg_glonassrecordjs_free(ptr, 1));
30865
+ const GnssDistributionLocationFinalization = (typeof FinalizationRegistry === 'undefined')
30866
+ ? { register: () => {}, unregister: () => {} }
30867
+ : new FinalizationRegistry(ptr => wasm.__wbg_gnssdistributionlocation_free(ptr, 1));
30512
30868
  const GnssInsFilterFinalization = (typeof FinalizationRegistry === 'undefined')
30513
30869
  ? { register: () => {}, unregister: () => {} }
30514
30870
  : new FinalizationRegistry(ptr => wasm.__wbg_gnssinsfilter_free(ptr, 1));
30515
30871
  const GnssPassFinalization = (typeof FinalizationRegistry === 'undefined')
30516
30872
  ? { register: () => {}, unregister: () => {} }
30517
30873
  : new FinalizationRegistry(ptr => wasm.__wbg_gnsspass_free(ptr, 1));
30874
+ const GnssProductIdentityFinalization = (typeof FinalizationRegistry === 'undefined')
30875
+ ? { register: () => {}, unregister: () => {} }
30876
+ : new FinalizationRegistry(ptr => wasm.__wbg_gnssproductidentity_free(ptr, 1));
30518
30877
  const GnssVisibilityCountFinalization = (typeof FinalizationRegistry === 'undefined')
30519
30878
  ? { register: () => {}, unregister: () => {} }
30520
30879
  : new FinalizationRegistry(ptr => wasm.__wbg_gnssvisibilitycount_free(ptr, 1));
Binary file