@neilberkman/sidereon 0.33.1 → 0.34.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 +20 -0
- package/README.md +18 -0
- package/THIRD-PARTY-NOTICES.md +2 -2
- package/package.json +4 -4
- package/pkg/sidereon.d.ts +1402 -1351
- package/pkg/sidereon.js +91 -0
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1354 -1351
- package/pkg-node/sidereon.d.ts +48 -0
- package/pkg-node/sidereon.js +95 -0
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1354 -1351
- /package/third_party_source/{sidereon-core-0.33.1 → sidereon-core-0.34.0}/tides/mod.rs +0 -0
- /package/third_party_source/{sidereon-core-0.33.1 → sidereon-core-0.34.0}/tides/ocean.rs +0 -0
- /package/third_party_source/{sidereon-core-0.33.1 → sidereon-core-0.34.0}/tides/pole.rs +0 -0
package/pkg-node/sidereon.d.ts
CHANGED
|
@@ -7346,6 +7346,23 @@ export class Sp3ClockReferenceOffset {
|
|
|
7346
7346
|
readonly satellites: number;
|
|
7347
7347
|
}
|
|
7348
7348
|
|
|
7349
|
+
/**
|
|
7350
|
+
* Cataloged relationship between an SP3 filename epoch and its first content
|
|
7351
|
+
* epoch.
|
|
7352
|
+
*
|
|
7353
|
+
* New values may be appended in later interface releases.
|
|
7354
|
+
*/
|
|
7355
|
+
export enum Sp3ContentStartConvention {
|
|
7356
|
+
/**
|
|
7357
|
+
* The first content epoch equals the filename epoch.
|
|
7358
|
+
*/
|
|
7359
|
+
FilenameEpoch = 0,
|
|
7360
|
+
/**
|
|
7361
|
+
* The first content epoch is exactly 24 hours before the filename epoch.
|
|
7362
|
+
*/
|
|
7363
|
+
FilenameEpochMinusOneDay = 1,
|
|
7364
|
+
}
|
|
7365
|
+
|
|
7349
7366
|
/**
|
|
7350
7367
|
* One coordinate-label reconciliation applied before SP3 merge consensus.
|
|
7351
7368
|
*/
|
|
@@ -11811,6 +11828,25 @@ export function sourceSolveModeTdoa(reference_sensor: number): any;
|
|
|
11811
11828
|
*/
|
|
11812
11829
|
export function sourceSolveModeToa(): string;
|
|
11813
11830
|
|
|
11831
|
+
/**
|
|
11832
|
+
* Return the cataloged relationship between an SP3 filename epoch and its
|
|
11833
|
+
* first content epoch.
|
|
11834
|
+
*
|
|
11835
|
+
* `issue` is required for ultra-rapid centers, must name a published issue,
|
|
11836
|
+
* and must be omitted for product lines without issue times. Exact requests
|
|
11837
|
+
* built with `ExactSp3Request.fromIdentity` apply this same catalog fact.
|
|
11838
|
+
*/
|
|
11839
|
+
export function sp3ContentStartConvention(center: string, year: number, month: number, day: number, issue?: string | null): Sp3ContentStartConvention;
|
|
11840
|
+
|
|
11841
|
+
/**
|
|
11842
|
+
* Return the signed whole seconds added to the filename epoch for a public
|
|
11843
|
+
* content-start convention.
|
|
11844
|
+
*
|
|
11845
|
+
* JavaScript receives the `i64` result as a `bigint`, consistent with other
|
|
11846
|
+
* exact integral values in this interface.
|
|
11847
|
+
*/
|
|
11848
|
+
export function sp3ContentStartOffsetSeconds(convention: Sp3ContentStartConvention): bigint;
|
|
11849
|
+
|
|
11814
11850
|
/**
|
|
11815
11851
|
* Validate complete exact artifact records and return their canonical merge
|
|
11816
11852
|
* input identity.
|
|
@@ -11934,6 +11970,18 @@ export function sunMoonEcef(epochs_unix_us: BigInt64Array): SunMoon;
|
|
|
11934
11970
|
*/
|
|
11935
11971
|
export function sunMoonEci(epochs_unix_us: BigInt64Array): SunMoon;
|
|
11936
11972
|
|
|
11973
|
+
/**
|
|
11974
|
+
* Return every officially cataloged sampling token for a product date and
|
|
11975
|
+
* issue.
|
|
11976
|
+
*
|
|
11977
|
+
* Syntax alone is not publication evidence: this is the complete catalog set
|
|
11978
|
+
* enforced by [`productIdentity`](product_identity). For issue-based product
|
|
11979
|
+
* lines, omitting `issue` selects `0000`, matching
|
|
11980
|
+
* [`defaultSampleForDate`](default_sample_for_date). Product construction
|
|
11981
|
+
* itself still requires an explicit issue.
|
|
11982
|
+
*/
|
|
11983
|
+
export function supportedSamples(center: string, family: string, year: number, month: number, day: number, issue?: string | null): string[];
|
|
11984
|
+
|
|
11937
11985
|
/**
|
|
11938
11986
|
* TAI-UTC (cumulative leap seconds) in effect on a UTC calendar date.
|
|
11939
11987
|
*
|
package/pkg-node/sidereon.js
CHANGED
|
@@ -17528,6 +17528,25 @@ class Sp3ClockReferenceOffset {
|
|
|
17528
17528
|
if (Symbol.dispose) Sp3ClockReferenceOffset.prototype[Symbol.dispose] = Sp3ClockReferenceOffset.prototype.free;
|
|
17529
17529
|
exports.Sp3ClockReferenceOffset = Sp3ClockReferenceOffset;
|
|
17530
17530
|
|
|
17531
|
+
/**
|
|
17532
|
+
* Cataloged relationship between an SP3 filename epoch and its first content
|
|
17533
|
+
* epoch.
|
|
17534
|
+
*
|
|
17535
|
+
* New values may be appended in later interface releases.
|
|
17536
|
+
* @enum {0 | 1}
|
|
17537
|
+
*/
|
|
17538
|
+
const Sp3ContentStartConvention = Object.freeze({
|
|
17539
|
+
/**
|
|
17540
|
+
* The first content epoch equals the filename epoch.
|
|
17541
|
+
*/
|
|
17542
|
+
FilenameEpoch: 0, "0": "FilenameEpoch",
|
|
17543
|
+
/**
|
|
17544
|
+
* The first content epoch is exactly 24 hours before the filename epoch.
|
|
17545
|
+
*/
|
|
17546
|
+
FilenameEpochMinusOneDay: 1, "1": "FilenameEpochMinusOneDay",
|
|
17547
|
+
});
|
|
17548
|
+
exports.Sp3ContentStartConvention = Sp3ContentStartConvention;
|
|
17549
|
+
|
|
17531
17550
|
/**
|
|
17532
17551
|
* One coordinate-label reconciliation applied before SP3 merge consensus.
|
|
17533
17552
|
*/
|
|
@@ -29884,6 +29903,48 @@ function sourceSolveModeToa() {
|
|
|
29884
29903
|
}
|
|
29885
29904
|
exports.sourceSolveModeToa = sourceSolveModeToa;
|
|
29886
29905
|
|
|
29906
|
+
/**
|
|
29907
|
+
* Return the cataloged relationship between an SP3 filename epoch and its
|
|
29908
|
+
* first content epoch.
|
|
29909
|
+
*
|
|
29910
|
+
* `issue` is required for ultra-rapid centers, must name a published issue,
|
|
29911
|
+
* and must be omitted for product lines without issue times. Exact requests
|
|
29912
|
+
* built with `ExactSp3Request.fromIdentity` apply this same catalog fact.
|
|
29913
|
+
* @param {string} center
|
|
29914
|
+
* @param {number} year
|
|
29915
|
+
* @param {number} month
|
|
29916
|
+
* @param {number} day
|
|
29917
|
+
* @param {string | null} [issue]
|
|
29918
|
+
* @returns {Sp3ContentStartConvention}
|
|
29919
|
+
*/
|
|
29920
|
+
function sp3ContentStartConvention(center, year, month, day, issue) {
|
|
29921
|
+
const ptr0 = passStringToWasm0(center, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
29922
|
+
const len0 = WASM_VECTOR_LEN;
|
|
29923
|
+
var ptr1 = isLikeNone(issue) ? 0 : passStringToWasm0(issue, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
29924
|
+
var len1 = WASM_VECTOR_LEN;
|
|
29925
|
+
const ret = wasm.sp3ContentStartConvention(ptr0, len0, year, month, day, ptr1, len1);
|
|
29926
|
+
if (ret[2]) {
|
|
29927
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
29928
|
+
}
|
|
29929
|
+
return ret[0];
|
|
29930
|
+
}
|
|
29931
|
+
exports.sp3ContentStartConvention = sp3ContentStartConvention;
|
|
29932
|
+
|
|
29933
|
+
/**
|
|
29934
|
+
* Return the signed whole seconds added to the filename epoch for a public
|
|
29935
|
+
* content-start convention.
|
|
29936
|
+
*
|
|
29937
|
+
* JavaScript receives the `i64` result as a `bigint`, consistent with other
|
|
29938
|
+
* exact integral values in this interface.
|
|
29939
|
+
* @param {Sp3ContentStartConvention} convention
|
|
29940
|
+
* @returns {bigint}
|
|
29941
|
+
*/
|
|
29942
|
+
function sp3ContentStartOffsetSeconds(convention) {
|
|
29943
|
+
const ret = wasm.sp3ContentStartOffsetSeconds(convention);
|
|
29944
|
+
return ret;
|
|
29945
|
+
}
|
|
29946
|
+
exports.sp3ContentStartOffsetSeconds = sp3ContentStartOffsetSeconds;
|
|
29947
|
+
|
|
29887
29948
|
/**
|
|
29888
29949
|
* Validate complete exact artifact records and return their canonical merge
|
|
29889
29950
|
* input identity.
|
|
@@ -30222,6 +30283,40 @@ function sunMoonEci(epochs_unix_us) {
|
|
|
30222
30283
|
}
|
|
30223
30284
|
exports.sunMoonEci = sunMoonEci;
|
|
30224
30285
|
|
|
30286
|
+
/**
|
|
30287
|
+
* Return every officially cataloged sampling token for a product date and
|
|
30288
|
+
* issue.
|
|
30289
|
+
*
|
|
30290
|
+
* Syntax alone is not publication evidence: this is the complete catalog set
|
|
30291
|
+
* enforced by [`productIdentity`](product_identity). For issue-based product
|
|
30292
|
+
* lines, omitting `issue` selects `0000`, matching
|
|
30293
|
+
* [`defaultSampleForDate`](default_sample_for_date). Product construction
|
|
30294
|
+
* itself still requires an explicit issue.
|
|
30295
|
+
* @param {string} center
|
|
30296
|
+
* @param {string} family
|
|
30297
|
+
* @param {number} year
|
|
30298
|
+
* @param {number} month
|
|
30299
|
+
* @param {number} day
|
|
30300
|
+
* @param {string | null} [issue]
|
|
30301
|
+
* @returns {string[]}
|
|
30302
|
+
*/
|
|
30303
|
+
function supportedSamples(center, family, year, month, day, issue) {
|
|
30304
|
+
const ptr0 = passStringToWasm0(center, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
30305
|
+
const len0 = WASM_VECTOR_LEN;
|
|
30306
|
+
const ptr1 = passStringToWasm0(family, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
30307
|
+
const len1 = WASM_VECTOR_LEN;
|
|
30308
|
+
var ptr2 = isLikeNone(issue) ? 0 : passStringToWasm0(issue, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
30309
|
+
var len2 = WASM_VECTOR_LEN;
|
|
30310
|
+
const ret = wasm.supportedSamples(ptr0, len0, ptr1, len1, year, month, day, ptr2, len2);
|
|
30311
|
+
if (ret[3]) {
|
|
30312
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
30313
|
+
}
|
|
30314
|
+
var v4 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
30315
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
30316
|
+
return v4;
|
|
30317
|
+
}
|
|
30318
|
+
exports.supportedSamples = supportedSamples;
|
|
30319
|
+
|
|
30225
30320
|
/**
|
|
30226
30321
|
* TAI-UTC (cumulative leap seconds) in effect on a UTC calendar date.
|
|
30227
30322
|
*
|
|
Binary file
|