@neilberkman/sidereon 0.32.0 → 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 +50 -0
- package/README.md +70 -8
- package/THIRD-PARTY-NOTICES.md +99 -0
- package/licenses/Apache-2.0.txt +202 -0
- package/licenses/ERFA-BSD-3-Clause.txt +53 -0
- package/licenses/IERS-Conventions-Software-License.txt +78 -0
- package/licenses/SciPy-BSD-3-Clause.txt +30 -0
- package/licenses/libloading-ISC.txt +13 -0
- package/package.json +32 -5
- package/pkg/sidereon.d.ts +2063 -1919
- package/pkg/sidereon.js +432 -1
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1886 -1862
- package/pkg-node/sidereon.d.ts +190 -70
- package/pkg-node/sidereon.js +443 -1
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1886 -1862
- package/third_party_source/sidereon-core-0.34.0/tides/mod.rs +1082 -0
- package/third_party_source/sidereon-core-0.34.0/tides/ocean.rs +682 -0
- package/third_party_source/sidereon-core-0.34.0/tides/pole.rs +203 -0
- package/types/sidereon-extra.cjs +2 -0
- package/types/sidereon-extra.js +2 -0
package/pkg-node/sidereon.js
CHANGED
|
@@ -4785,6 +4785,221 @@ class ErrorEllipse2 {
|
|
|
4785
4785
|
if (Symbol.dispose) ErrorEllipse2.prototype[Symbol.dispose] = ErrorEllipse2.prototype.free;
|
|
4786
4786
|
exports.ErrorEllipse2 = ErrorEllipse2;
|
|
4787
4787
|
|
|
4788
|
+
/**
|
|
4789
|
+
* Accepted boundary convention for a validated exact SP3 product.
|
|
4790
|
+
* @enum {0 | 1}
|
|
4791
|
+
*/
|
|
4792
|
+
const ExactSp3Coverage = Object.freeze({
|
|
4793
|
+
/**
|
|
4794
|
+
* The declared boundary is excluded (288 five-minute epochs in one day).
|
|
4795
|
+
*/
|
|
4796
|
+
HalfOpen: 0, "0": "HalfOpen",
|
|
4797
|
+
/**
|
|
4798
|
+
* The declared boundary epoch is present (289 five-minute epochs).
|
|
4799
|
+
*/
|
|
4800
|
+
Inclusive: 1, "1": "Inclusive",
|
|
4801
|
+
});
|
|
4802
|
+
exports.ExactSp3Coverage = ExactSp3Coverage;
|
|
4803
|
+
|
|
4804
|
+
/**
|
|
4805
|
+
* Result of parsing and validating exact SP3 bytes in one core call.
|
|
4806
|
+
*/
|
|
4807
|
+
class ExactSp3ParseResult {
|
|
4808
|
+
static __wrap(ptr) {
|
|
4809
|
+
const obj = Object.create(ExactSp3ParseResult.prototype);
|
|
4810
|
+
obj.__wbg_ptr = ptr;
|
|
4811
|
+
ExactSp3ParseResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
4812
|
+
return obj;
|
|
4813
|
+
}
|
|
4814
|
+
__destroy_into_raw() {
|
|
4815
|
+
const ptr = this.__wbg_ptr;
|
|
4816
|
+
this.__wbg_ptr = 0;
|
|
4817
|
+
ExactSp3ParseResultFinalization.unregister(this);
|
|
4818
|
+
return ptr;
|
|
4819
|
+
}
|
|
4820
|
+
free() {
|
|
4821
|
+
const ptr = this.__destroy_into_raw();
|
|
4822
|
+
wasm.__wbg_exactsp3parseresult_free(ptr, 0);
|
|
4823
|
+
}
|
|
4824
|
+
/**
|
|
4825
|
+
* @returns {ExactSp3Coverage}
|
|
4826
|
+
*/
|
|
4827
|
+
get coverage() {
|
|
4828
|
+
const ret = wasm.exactsp3parseresult_coverage(this.__wbg_ptr);
|
|
4829
|
+
return ret;
|
|
4830
|
+
}
|
|
4831
|
+
/**
|
|
4832
|
+
* Return the validated parsed product.
|
|
4833
|
+
* @returns {Sp3}
|
|
4834
|
+
*/
|
|
4835
|
+
get product() {
|
|
4836
|
+
const ret = wasm.exactsp3parseresult_product(this.__wbg_ptr);
|
|
4837
|
+
return Sp3.__wrap(ret);
|
|
4838
|
+
}
|
|
4839
|
+
}
|
|
4840
|
+
if (Symbol.dispose) ExactSp3ParseResult.prototype[Symbol.dispose] = ExactSp3ParseResult.prototype.free;
|
|
4841
|
+
exports.ExactSp3ParseResult = ExactSp3ParseResult;
|
|
4842
|
+
|
|
4843
|
+
/**
|
|
4844
|
+
* Source-independent exact SP3 content request.
|
|
4845
|
+
*/
|
|
4846
|
+
class ExactSp3Request {
|
|
4847
|
+
static __wrap(ptr) {
|
|
4848
|
+
const obj = Object.create(ExactSp3Request.prototype);
|
|
4849
|
+
obj.__wbg_ptr = ptr;
|
|
4850
|
+
ExactSp3RequestFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
4851
|
+
return obj;
|
|
4852
|
+
}
|
|
4853
|
+
__destroy_into_raw() {
|
|
4854
|
+
const ptr = this.__wbg_ptr;
|
|
4855
|
+
this.__wbg_ptr = 0;
|
|
4856
|
+
ExactSp3RequestFinalization.unregister(this);
|
|
4857
|
+
return ptr;
|
|
4858
|
+
}
|
|
4859
|
+
free() {
|
|
4860
|
+
const ptr = this.__destroy_into_raw();
|
|
4861
|
+
wasm.__wbg_exactsp3request_free(ptr, 0);
|
|
4862
|
+
}
|
|
4863
|
+
/**
|
|
4864
|
+
* @returns {number}
|
|
4865
|
+
*/
|
|
4866
|
+
get day() {
|
|
4867
|
+
const ret = wasm.exactsp3request_day(this.__wbg_ptr);
|
|
4868
|
+
return ret;
|
|
4869
|
+
}
|
|
4870
|
+
/**
|
|
4871
|
+
* @returns {string | undefined}
|
|
4872
|
+
*/
|
|
4873
|
+
get expectedAgency() {
|
|
4874
|
+
const ret = wasm.exactsp3request_expectedAgency(this.__wbg_ptr);
|
|
4875
|
+
let v1;
|
|
4876
|
+
if (ret[0] !== 0) {
|
|
4877
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
4878
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
4879
|
+
}
|
|
4880
|
+
return v1;
|
|
4881
|
+
}
|
|
4882
|
+
/**
|
|
4883
|
+
* @returns {string | undefined}
|
|
4884
|
+
*/
|
|
4885
|
+
get formatVersion() {
|
|
4886
|
+
const ret = wasm.exactsp3request_formatVersion(this.__wbg_ptr);
|
|
4887
|
+
let v1;
|
|
4888
|
+
if (ret[0] !== 0) {
|
|
4889
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
4890
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
4891
|
+
}
|
|
4892
|
+
return v1;
|
|
4893
|
+
}
|
|
4894
|
+
/**
|
|
4895
|
+
* Construct an exact request from a complete catalog product identity.
|
|
4896
|
+
* @param {GnssProductIdentity} identity
|
|
4897
|
+
* @returns {ExactSp3Request}
|
|
4898
|
+
*/
|
|
4899
|
+
static fromIdentity(identity) {
|
|
4900
|
+
_assertClass(identity, GnssProductIdentity);
|
|
4901
|
+
const ret = wasm.exactsp3request_fromIdentity(identity.__wbg_ptr);
|
|
4902
|
+
if (ret[2]) {
|
|
4903
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
4904
|
+
}
|
|
4905
|
+
return ExactSp3Request.__wrap(ret[0]);
|
|
4906
|
+
}
|
|
4907
|
+
/**
|
|
4908
|
+
* @returns {string | undefined}
|
|
4909
|
+
*/
|
|
4910
|
+
get issue() {
|
|
4911
|
+
const ret = wasm.exactsp3request_issue(this.__wbg_ptr);
|
|
4912
|
+
let v1;
|
|
4913
|
+
if (ret[0] !== 0) {
|
|
4914
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
4915
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
4916
|
+
}
|
|
4917
|
+
return v1;
|
|
4918
|
+
}
|
|
4919
|
+
/**
|
|
4920
|
+
* @returns {number}
|
|
4921
|
+
*/
|
|
4922
|
+
get month() {
|
|
4923
|
+
const ret = wasm.exactsp3request_month(this.__wbg_ptr);
|
|
4924
|
+
return ret;
|
|
4925
|
+
}
|
|
4926
|
+
/**
|
|
4927
|
+
* Construct an exact request from explicit catalog identity fields.
|
|
4928
|
+
* @param {number} year
|
|
4929
|
+
* @param {number} month
|
|
4930
|
+
* @param {number} day
|
|
4931
|
+
* @param {string} span
|
|
4932
|
+
* @param {string} sample
|
|
4933
|
+
* @param {string | null} [issue]
|
|
4934
|
+
*/
|
|
4935
|
+
constructor(year, month, day, span, sample, issue) {
|
|
4936
|
+
const ptr0 = passStringToWasm0(span, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4937
|
+
const len0 = WASM_VECTOR_LEN;
|
|
4938
|
+
const ptr1 = passStringToWasm0(sample, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4939
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4940
|
+
var ptr2 = isLikeNone(issue) ? 0 : passStringToWasm0(issue, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4941
|
+
var len2 = WASM_VECTOR_LEN;
|
|
4942
|
+
const ret = wasm.exactsp3request_new(year, month, day, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
4943
|
+
if (ret[2]) {
|
|
4944
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
4945
|
+
}
|
|
4946
|
+
this.__wbg_ptr = ret[0];
|
|
4947
|
+
ExactSp3RequestFinalization.register(this, this.__wbg_ptr, this);
|
|
4948
|
+
return this;
|
|
4949
|
+
}
|
|
4950
|
+
/**
|
|
4951
|
+
* Require a particular SP3 line-1 producing-agency code.
|
|
4952
|
+
* @param {string} agency
|
|
4953
|
+
*/
|
|
4954
|
+
requireAgency(agency) {
|
|
4955
|
+
const ptr0 = passStringToWasm0(agency, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4956
|
+
const len0 = WASM_VECTOR_LEN;
|
|
4957
|
+
const ret = wasm.exactsp3request_requireAgency(this.__wbg_ptr, ptr0, len0);
|
|
4958
|
+
if (ret[1]) {
|
|
4959
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
4960
|
+
}
|
|
4961
|
+
}
|
|
4962
|
+
/**
|
|
4963
|
+
* @returns {string}
|
|
4964
|
+
*/
|
|
4965
|
+
get sample() {
|
|
4966
|
+
let deferred1_0;
|
|
4967
|
+
let deferred1_1;
|
|
4968
|
+
try {
|
|
4969
|
+
const ret = wasm.exactsp3request_sample(this.__wbg_ptr);
|
|
4970
|
+
deferred1_0 = ret[0];
|
|
4971
|
+
deferred1_1 = ret[1];
|
|
4972
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
4973
|
+
} finally {
|
|
4974
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
4975
|
+
}
|
|
4976
|
+
}
|
|
4977
|
+
/**
|
|
4978
|
+
* @returns {string}
|
|
4979
|
+
*/
|
|
4980
|
+
get span() {
|
|
4981
|
+
let deferred1_0;
|
|
4982
|
+
let deferred1_1;
|
|
4983
|
+
try {
|
|
4984
|
+
const ret = wasm.exactsp3request_span(this.__wbg_ptr);
|
|
4985
|
+
deferred1_0 = ret[0];
|
|
4986
|
+
deferred1_1 = ret[1];
|
|
4987
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
4988
|
+
} finally {
|
|
4989
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
4990
|
+
}
|
|
4991
|
+
}
|
|
4992
|
+
/**
|
|
4993
|
+
* @returns {number}
|
|
4994
|
+
*/
|
|
4995
|
+
get year() {
|
|
4996
|
+
const ret = wasm.exactsp3request_year(this.__wbg_ptr);
|
|
4997
|
+
return ret;
|
|
4998
|
+
}
|
|
4999
|
+
}
|
|
5000
|
+
if (Symbol.dispose) ExactSp3Request.prototype[Symbol.dispose] = ExactSp3Request.prototype.free;
|
|
5001
|
+
exports.ExactSp3Request = ExactSp3Request;
|
|
5002
|
+
|
|
4788
5003
|
/**
|
|
4789
5004
|
* A fault-detection-and-exclusion result: the surviving solution, the excluded
|
|
4790
5005
|
* satellites in exclusion order, and the number of exclusions performed.
|
|
@@ -16791,6 +17006,24 @@ class Sp3 {
|
|
|
16791
17006
|
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
16792
17007
|
return v1;
|
|
16793
17008
|
}
|
|
17009
|
+
/**
|
|
17010
|
+
* Epoch count declared by SP3 header line 1, independent of the parsed
|
|
17011
|
+
* body count used by [`Sp3::epochCount`].
|
|
17012
|
+
* @returns {number}
|
|
17013
|
+
*/
|
|
17014
|
+
get declaredEpochCount() {
|
|
17015
|
+
const ret = wasm.sp3_declaredEpochCount(this.__wbg_ptr);
|
|
17016
|
+
return ret >>> 0;
|
|
17017
|
+
}
|
|
17018
|
+
/**
|
|
17019
|
+
* Start epoch declared by SP3 header line 1, in product-scale seconds
|
|
17020
|
+
* since J2000. Missing or malformed legacy header fields return undefined.
|
|
17021
|
+
* @returns {number | undefined}
|
|
17022
|
+
*/
|
|
17023
|
+
get declaredStartJ2000Seconds() {
|
|
17024
|
+
const ret = wasm.sp3_declaredStartJ2000Seconds(this.__wbg_ptr);
|
|
17025
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
17026
|
+
}
|
|
16794
17027
|
/**
|
|
16795
17028
|
* Compute DGNSS pseudorange corrections from a surveyed base station.
|
|
16796
17029
|
*
|
|
@@ -17295,6 +17528,25 @@ class Sp3ClockReferenceOffset {
|
|
|
17295
17528
|
if (Symbol.dispose) Sp3ClockReferenceOffset.prototype[Symbol.dispose] = Sp3ClockReferenceOffset.prototype.free;
|
|
17296
17529
|
exports.Sp3ClockReferenceOffset = Sp3ClockReferenceOffset;
|
|
17297
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
|
+
|
|
17298
17550
|
/**
|
|
17299
17551
|
* One coordinate-label reconciliation applied before SP3 merge consensus.
|
|
17300
17552
|
*/
|
|
@@ -22769,6 +23021,45 @@ function defaultPair(system) {
|
|
|
22769
23021
|
}
|
|
22770
23022
|
exports.defaultPair = defaultPair;
|
|
22771
23023
|
|
|
23024
|
+
/**
|
|
23025
|
+
* Return the officially cataloged default sampling token for a product date.
|
|
23026
|
+
*
|
|
23027
|
+
* Unlike the legacy date-free default, this preserves historical cadence
|
|
23028
|
+
* changes such as the GFZ rapid and ultra-rapid transitions. On ESA
|
|
23029
|
+
* ultra-rapid's issue-level transition date this reports the `0000`/
|
|
23030
|
+
* start-of-day default; [`productIdentity`](product_identity) also considers
|
|
23031
|
+
* the requested issue.
|
|
23032
|
+
* @param {string} center
|
|
23033
|
+
* @param {string} family
|
|
23034
|
+
* @param {number} year
|
|
23035
|
+
* @param {number} month
|
|
23036
|
+
* @param {number} day
|
|
23037
|
+
* @returns {string}
|
|
23038
|
+
*/
|
|
23039
|
+
function defaultSampleForDate(center, family, year, month, day) {
|
|
23040
|
+
let deferred4_0;
|
|
23041
|
+
let deferred4_1;
|
|
23042
|
+
try {
|
|
23043
|
+
const ptr0 = passStringToWasm0(center, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
23044
|
+
const len0 = WASM_VECTOR_LEN;
|
|
23045
|
+
const ptr1 = passStringToWasm0(family, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
23046
|
+
const len1 = WASM_VECTOR_LEN;
|
|
23047
|
+
const ret = wasm.defaultSampleForDate(ptr0, len0, ptr1, len1, year, month, day);
|
|
23048
|
+
var ptr3 = ret[0];
|
|
23049
|
+
var len3 = ret[1];
|
|
23050
|
+
if (ret[3]) {
|
|
23051
|
+
ptr3 = 0; len3 = 0;
|
|
23052
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
23053
|
+
}
|
|
23054
|
+
deferred4_0 = ptr3;
|
|
23055
|
+
deferred4_1 = len3;
|
|
23056
|
+
return getStringFromWasm0(ptr3, len3);
|
|
23057
|
+
} finally {
|
|
23058
|
+
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
23059
|
+
}
|
|
23060
|
+
}
|
|
23061
|
+
exports.defaultSampleForDate = defaultSampleForDate;
|
|
23062
|
+
|
|
22772
23063
|
/**
|
|
22773
23064
|
* Default scenario seed as a hexadecimal string.
|
|
22774
23065
|
* @returns {string}
|
|
@@ -27011,6 +27302,24 @@ function parseCdmXml(text) {
|
|
|
27011
27302
|
}
|
|
27012
27303
|
exports.parseCdmXml = parseCdmXml;
|
|
27013
27304
|
|
|
27305
|
+
/**
|
|
27306
|
+
* Parse and exact-validate SP3 bytes, returning both product and coverage.
|
|
27307
|
+
* @param {Uint8Array} bytes
|
|
27308
|
+
* @param {ExactSp3Request} request
|
|
27309
|
+
* @returns {ExactSp3ParseResult}
|
|
27310
|
+
*/
|
|
27311
|
+
function parseExactSp3(bytes, request) {
|
|
27312
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
27313
|
+
const len0 = WASM_VECTOR_LEN;
|
|
27314
|
+
_assertClass(request, ExactSp3Request);
|
|
27315
|
+
const ret = wasm.parseExactSp3(ptr0, len0, request.__wbg_ptr);
|
|
27316
|
+
if (ret[2]) {
|
|
27317
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
27318
|
+
}
|
|
27319
|
+
return ExactSp3ParseResult.__wrap(ret[0]);
|
|
27320
|
+
}
|
|
27321
|
+
exports.parseExactSp3 = parseExactSp3;
|
|
27322
|
+
|
|
27014
27323
|
/**
|
|
27015
27324
|
* Parse NAVCEN's GPS constellation status HTML into status rows.
|
|
27016
27325
|
*
|
|
@@ -27706,7 +28015,8 @@ function prepareIonosphereFreeRtkArc(epochs, wide_lane_cycles, config) {
|
|
|
27706
28015
|
exports.prepareIonosphereFreeRtkArc = prepareIonosphereFreeRtkArc;
|
|
27707
28016
|
|
|
27708
28017
|
/**
|
|
27709
|
-
* Resolve an exact catalog product independently from distributor.
|
|
28018
|
+
* Resolve an exact catalog product independently from distributor. When the
|
|
28019
|
+
* sample is omitted, ultra-rapid issue-level cadence transitions are applied.
|
|
27710
28020
|
* @param {string} center
|
|
27711
28021
|
* @param {string} family
|
|
27712
28022
|
* @param {number} year
|
|
@@ -27733,6 +28043,39 @@ function productIdentity(center, family, year, month, day, sample, issue) {
|
|
|
27733
28043
|
}
|
|
27734
28044
|
exports.productIdentity = productIdentity;
|
|
27735
28045
|
|
|
28046
|
+
/**
|
|
28047
|
+
* Return the catalog solution class for one center/product family.
|
|
28048
|
+
*
|
|
28049
|
+
* This product-aware query distinguishes IGS combined final SP3 (`final`)
|
|
28050
|
+
* from IGS broadcast navigation (`broadcast`).
|
|
28051
|
+
* @param {string} center
|
|
28052
|
+
* @param {string} family
|
|
28053
|
+
* @returns {string}
|
|
28054
|
+
*/
|
|
28055
|
+
function productSolutionClass(center, family) {
|
|
28056
|
+
let deferred4_0;
|
|
28057
|
+
let deferred4_1;
|
|
28058
|
+
try {
|
|
28059
|
+
const ptr0 = passStringToWasm0(center, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
28060
|
+
const len0 = WASM_VECTOR_LEN;
|
|
28061
|
+
const ptr1 = passStringToWasm0(family, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
28062
|
+
const len1 = WASM_VECTOR_LEN;
|
|
28063
|
+
const ret = wasm.productSolutionClass(ptr0, len0, ptr1, len1);
|
|
28064
|
+
var ptr3 = ret[0];
|
|
28065
|
+
var len3 = ret[1];
|
|
28066
|
+
if (ret[3]) {
|
|
28067
|
+
ptr3 = 0; len3 = 0;
|
|
28068
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
28069
|
+
}
|
|
28070
|
+
deferred4_0 = ptr3;
|
|
28071
|
+
deferred4_1 = len3;
|
|
28072
|
+
return getStringFromWasm0(ptr3, len3);
|
|
28073
|
+
} finally {
|
|
28074
|
+
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
28075
|
+
}
|
|
28076
|
+
}
|
|
28077
|
+
exports.productSolutionClass = productSolutionClass;
|
|
28078
|
+
|
|
27736
28079
|
/**
|
|
27737
28080
|
* Propagate a fleet of already-initialized [`Tle`]s over a shared epoch grid in
|
|
27738
28081
|
* a single call: the batched form of [`Tle.propagate`].
|
|
@@ -29560,6 +29903,48 @@ function sourceSolveModeToa() {
|
|
|
29560
29903
|
}
|
|
29561
29904
|
exports.sourceSolveModeToa = sourceSolveModeToa;
|
|
29562
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
|
+
|
|
29563
29948
|
/**
|
|
29564
29949
|
* Validate complete exact artifact records and return their canonical merge
|
|
29565
29950
|
* input identity.
|
|
@@ -29898,6 +30283,40 @@ function sunMoonEci(epochs_unix_us) {
|
|
|
29898
30283
|
}
|
|
29899
30284
|
exports.sunMoonEci = sunMoonEci;
|
|
29900
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
|
+
|
|
29901
30320
|
/**
|
|
29902
30321
|
* TAI-UTC (cumulative leap seconds) in effect on a UTC calendar date.
|
|
29903
30322
|
*
|
|
@@ -30270,6 +30689,23 @@ function validateAgainstSp3Ids(records, ids) {
|
|
|
30270
30689
|
}
|
|
30271
30690
|
exports.validateAgainstSp3Ids = validateAgainstSp3Ids;
|
|
30272
30691
|
|
|
30692
|
+
/**
|
|
30693
|
+
* Validate an already parsed SP3 product against an exact request.
|
|
30694
|
+
* @param {Sp3} product
|
|
30695
|
+
* @param {ExactSp3Request} request
|
|
30696
|
+
* @returns {ExactSp3Coverage}
|
|
30697
|
+
*/
|
|
30698
|
+
function validateExactSp3(product, request) {
|
|
30699
|
+
_assertClass(product, Sp3);
|
|
30700
|
+
_assertClass(request, ExactSp3Request);
|
|
30701
|
+
const ret = wasm.validateExactSp3(product.__wbg_ptr, request.__wbg_ptr);
|
|
30702
|
+
if (ret[2]) {
|
|
30703
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
30704
|
+
}
|
|
30705
|
+
return ret[0];
|
|
30706
|
+
}
|
|
30707
|
+
exports.validateExactSp3 = validateExactSp3;
|
|
30708
|
+
|
|
30273
30709
|
/**
|
|
30274
30710
|
* Blend a first good post-outage fix back over an outage span.
|
|
30275
30711
|
* @param {any} states
|
|
@@ -31133,6 +31569,12 @@ const ErrorEllipseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
31133
31569
|
const ErrorEllipse2Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
31134
31570
|
? { register: () => {}, unregister: () => {} }
|
|
31135
31571
|
: new FinalizationRegistry(ptr => wasm.__wbg_errorellipse2_free(ptr, 1));
|
|
31572
|
+
const ExactSp3ParseResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31573
|
+
? { register: () => {}, unregister: () => {} }
|
|
31574
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_exactsp3parseresult_free(ptr, 1));
|
|
31575
|
+
const ExactSp3RequestFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31576
|
+
? { register: () => {}, unregister: () => {} }
|
|
31577
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_exactsp3request_free(ptr, 1));
|
|
31136
31578
|
const FdeSolutionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31137
31579
|
? { register: () => {}, unregister: () => {} }
|
|
31138
31580
|
: new FinalizationRegistry(ptr => wasm.__wbg_fdesolution_free(ptr, 1));
|
|
Binary file
|