ootk 6.0.0 → 6.0.2
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/dist/main.cjs +692 -17
- package/dist/main.d.cts +379 -23
- package/dist/main.d.ts +379 -23
- package/dist/main.js +692 -18
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1816,6 +1816,27 @@ declare abstract class FormatTle {
|
|
|
1816
1816
|
* @returns The modified string with the character set at the specified index.
|
|
1817
1817
|
*/
|
|
1818
1818
|
static setCharAt(str: string, index: number, chr: string): string;
|
|
1819
|
+
/**
|
|
1820
|
+
* Format mean motion dot (first derivative / 2) for TLE line 1.
|
|
1821
|
+
* Format: sign + ".NNNNNNNN" = 10 chars total.
|
|
1822
|
+
* @param value - Mean motion dot value (rev/day^2)
|
|
1823
|
+
* @returns Formatted 10-character string
|
|
1824
|
+
*/
|
|
1825
|
+
static formatMeanMotionDot(value: number): string;
|
|
1826
|
+
/**
|
|
1827
|
+
* Format a value in TLE exponential notation for BSTAR or mean motion ddot.
|
|
1828
|
+
* Format: "sNNNNN±N" (8 chars) where mantissa has implied leading decimal point.
|
|
1829
|
+
* Example: 0.00017507 → " 17507-3" (i.e., .17507 × 10^-3)
|
|
1830
|
+
* @param value - The value to format
|
|
1831
|
+
* @returns Formatted 8-character string
|
|
1832
|
+
*/
|
|
1833
|
+
static formatTleExponential(value: number): string;
|
|
1834
|
+
/**
|
|
1835
|
+
* Compute TLE line checksum (modulo 10 sum of digits, '-' counts as 1).
|
|
1836
|
+
* @param line - TLE line (first 68 characters are summed)
|
|
1837
|
+
* @returns Checksum digit (0-9)
|
|
1838
|
+
*/
|
|
1839
|
+
static tleChecksum(line: string): number;
|
|
1819
1840
|
}
|
|
1820
1841
|
|
|
1821
1842
|
/**
|
|
@@ -2780,37 +2801,34 @@ declare class RIC extends RelativeState {
|
|
|
2780
2801
|
}
|
|
2781
2802
|
|
|
2782
2803
|
/**
|
|
2783
|
-
* Represents the data format for orbital elements as provided by the
|
|
2784
|
-
*
|
|
2785
|
-
*
|
|
2804
|
+
* Represents the data format for orbital elements as provided by the OMM system.
|
|
2805
|
+
* Numeric fields accept both string and number to support CelesTrak's JSON format
|
|
2806
|
+
* (which sends numbers as numbers) and other sources that send them as strings.
|
|
2786
2807
|
*/
|
|
2787
2808
|
interface OmmDataFormat {
|
|
2788
2809
|
OBJECT_NAME: string;
|
|
2789
2810
|
OBJECT_ID: string;
|
|
2790
2811
|
/** Date in YYYY-MM-DDTHH:MM:SS.SSSSSS UTC format */
|
|
2791
2812
|
EPOCH: string;
|
|
2792
|
-
MEAN_MOTION: string;
|
|
2793
|
-
ECCENTRICITY: string;
|
|
2794
|
-
INCLINATION: string;
|
|
2795
|
-
RA_OF_ASC_NODE: string;
|
|
2796
|
-
ARG_OF_PERICENTER: string;
|
|
2797
|
-
MEAN_ANOMALY: string;
|
|
2798
|
-
EPHEMERIS_TYPE: string;
|
|
2813
|
+
MEAN_MOTION: string | number;
|
|
2814
|
+
ECCENTRICITY: string | number;
|
|
2815
|
+
INCLINATION: string | number;
|
|
2816
|
+
RA_OF_ASC_NODE: string | number;
|
|
2817
|
+
ARG_OF_PERICENTER: string | number;
|
|
2818
|
+
MEAN_ANOMALY: string | number;
|
|
2819
|
+
EPHEMERIS_TYPE: string | number;
|
|
2799
2820
|
CLASSIFICATION_TYPE: string;
|
|
2800
|
-
NORAD_CAT_ID: string;
|
|
2801
|
-
ELEMENT_SET_NO: string;
|
|
2802
|
-
REV_AT_EPOCH: string;
|
|
2803
|
-
BSTAR: string;
|
|
2804
|
-
MEAN_MOTION_DOT: string;
|
|
2805
|
-
MEAN_MOTION_DDOT: string;
|
|
2821
|
+
NORAD_CAT_ID: string | number;
|
|
2822
|
+
ELEMENT_SET_NO: string | number;
|
|
2823
|
+
REV_AT_EPOCH: string | number;
|
|
2824
|
+
BSTAR: string | number;
|
|
2825
|
+
MEAN_MOTION_DOT: string | number;
|
|
2826
|
+
MEAN_MOTION_DDOT: string | number;
|
|
2806
2827
|
}
|
|
2807
2828
|
/**
|
|
2808
|
-
* Represents the parsed data format for orbital elements as provided by the
|
|
2809
|
-
*
|
|
2810
|
-
*
|
|
2811
|
-
* The `epoch` property is an object that contains the parsed date and time values.
|
|
2812
|
-
* The `doy` property is the day of the year.
|
|
2813
|
-
* The `epoch` property is an object that contains the parsed date and time values.
|
|
2829
|
+
* Represents the parsed data format for orbital elements as provided by the OMM system.
|
|
2830
|
+
* String fields are preserved from the original data; the `epoch` property contains
|
|
2831
|
+
* the parsed date/time values used for SGP4 initialization.
|
|
2814
2832
|
*/
|
|
2815
2833
|
interface OmmParsedDataFormat {
|
|
2816
2834
|
OBJECT_NAME: string;
|
|
@@ -4666,6 +4684,12 @@ declare class Satellite extends SpaceObject {
|
|
|
4666
4684
|
* @param name - Optional satellite name (overrides TLE name)
|
|
4667
4685
|
*/
|
|
4668
4686
|
static fromTle(tle: Tle, name?: string): Satellite;
|
|
4687
|
+
/**
|
|
4688
|
+
* Creates a Satellite from an OMM (Orbit Mean-elements Message) data object.
|
|
4689
|
+
* @param omm - The OMM data in flat format
|
|
4690
|
+
* @param name - Optional satellite name (overrides OMM OBJECT_NAME)
|
|
4691
|
+
*/
|
|
4692
|
+
static fromOmm(omm: OmmDataFormat, name?: string): Satellite;
|
|
4669
4693
|
private parseTleAndUpdateOrbit_;
|
|
4670
4694
|
private parseOmmAndUpdateOrbit_;
|
|
4671
4695
|
/**
|
|
@@ -5913,6 +5937,20 @@ type TleParams = {
|
|
|
5913
5937
|
intl: string;
|
|
5914
5938
|
/** alpha 5 satellite number */
|
|
5915
5939
|
scc: string;
|
|
5940
|
+
/** B* drag term (1/Earth radii). Used when `sat` is not provided. */
|
|
5941
|
+
bstar?: number;
|
|
5942
|
+
/** First derivative of mean motion / 2 (rev/day^2). Used when `sat` is not provided. */
|
|
5943
|
+
meanMotionDot?: number;
|
|
5944
|
+
/** Second derivative of mean motion / 6 (rev/day^3). Used when `sat` is not provided. */
|
|
5945
|
+
meanMotionDdot?: number;
|
|
5946
|
+
/** Classification type (default 'U'). Used when `sat` is not provided. */
|
|
5947
|
+
classification?: string;
|
|
5948
|
+
/** Revolution number at epoch. Used when `sat` is not provided. */
|
|
5949
|
+
revAtEpoch?: number;
|
|
5950
|
+
/** Element set number (default 999). Used when `sat` is not provided. */
|
|
5951
|
+
elementSetNo?: number;
|
|
5952
|
+
/** Ephemeris type (default 0). Used when `sat` is not provided. */
|
|
5953
|
+
ephemerisType?: number;
|
|
5916
5954
|
};
|
|
5917
5955
|
type PositionVelocity = {
|
|
5918
5956
|
position: Vector3D<Kilometers>;
|
|
@@ -13836,6 +13874,324 @@ declare class OdmExporter {
|
|
|
13836
13874
|
private static getRevAtEpoch_;
|
|
13837
13875
|
}
|
|
13838
13876
|
|
|
13877
|
+
/**
|
|
13878
|
+
* @author Theodore Kruczek
|
|
13879
|
+
* @license AGPL-3.0-or-later
|
|
13880
|
+
* @copyright (c) 2025-2026 Kruczek Labs LLC
|
|
13881
|
+
*
|
|
13882
|
+
* Orbital Object ToolKit is free software: you can redistribute it and/or modify it under the
|
|
13883
|
+
* terms of the GNU Affero General Public License as published by the Free Software
|
|
13884
|
+
* Foundation, either version 3 of the License, or (at your option) any later version.
|
|
13885
|
+
*
|
|
13886
|
+
* Orbital Object ToolKit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
13887
|
+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
13888
|
+
* See the GNU Affero General Public License for more details.
|
|
13889
|
+
*
|
|
13890
|
+
* You should have received a copy of the GNU Affero General Public License along with
|
|
13891
|
+
* Orbital Object ToolKit. If not, see <http://www.gnu.org/licenses/>.
|
|
13892
|
+
*/
|
|
13893
|
+
/**
|
|
13894
|
+
* OMM file header information from CCSDS format.
|
|
13895
|
+
* @see CCSDS 502.0-B-3 Table 4-1
|
|
13896
|
+
*/
|
|
13897
|
+
interface OmmHeader {
|
|
13898
|
+
/** Format version (e.g., '3.0') */
|
|
13899
|
+
CCSDS_OMM_VERS: string;
|
|
13900
|
+
/** File creation date/time in UTC */
|
|
13901
|
+
CREATION_DATE: string;
|
|
13902
|
+
/** Creating agency or operator */
|
|
13903
|
+
ORIGINATOR: string;
|
|
13904
|
+
/** Optional unique message identifier */
|
|
13905
|
+
MESSAGE_ID?: string;
|
|
13906
|
+
/** Optional classification/caveats */
|
|
13907
|
+
CLASSIFICATION?: string;
|
|
13908
|
+
/** Optional comment lines from header */
|
|
13909
|
+
COMMENT?: string[];
|
|
13910
|
+
}
|
|
13911
|
+
/**
|
|
13912
|
+
* OMM metadata block containing object and reference frame information.
|
|
13913
|
+
* @see CCSDS 502.0-B-3 Table 4-2
|
|
13914
|
+
*/
|
|
13915
|
+
interface OmmMetadata {
|
|
13916
|
+
/** Spacecraft name */
|
|
13917
|
+
OBJECT_NAME: string;
|
|
13918
|
+
/** Object identifier (international designator) */
|
|
13919
|
+
OBJECT_ID: string;
|
|
13920
|
+
/** Origin of the reference frame (e.g., 'EARTH') */
|
|
13921
|
+
CENTER_NAME: string;
|
|
13922
|
+
/** Reference frame (e.g., 'TEME', 'EME2000') */
|
|
13923
|
+
REF_FRAME: string;
|
|
13924
|
+
/** Epoch of reference frame, if not intrinsic */
|
|
13925
|
+
REF_FRAME_EPOCH?: string;
|
|
13926
|
+
/** Time system (e.g., 'UTC') */
|
|
13927
|
+
TIME_SYSTEM: string;
|
|
13928
|
+
/** Mean element theory (e.g., 'SGP4', 'DSST') */
|
|
13929
|
+
MEAN_ELEMENT_THEORY: string;
|
|
13930
|
+
/** Optional comment lines */
|
|
13931
|
+
COMMENT?: string[];
|
|
13932
|
+
}
|
|
13933
|
+
/**
|
|
13934
|
+
* Mean Keplerian elements data.
|
|
13935
|
+
* @see CCSDS 502.0-B-3 Table 4-3
|
|
13936
|
+
*/
|
|
13937
|
+
interface OmmMeanElements {
|
|
13938
|
+
/** Epoch of Mean Keplerian elements */
|
|
13939
|
+
EPOCH: string;
|
|
13940
|
+
/** Semi-major axis in km (mutually exclusive with MEAN_MOTION) */
|
|
13941
|
+
SEMI_MAJOR_AXIS?: number;
|
|
13942
|
+
/** Mean motion in rev/day (mutually exclusive with SEMI_MAJOR_AXIS) */
|
|
13943
|
+
MEAN_MOTION?: number;
|
|
13944
|
+
/** Eccentricity */
|
|
13945
|
+
ECCENTRICITY: number;
|
|
13946
|
+
/** Inclination in degrees */
|
|
13947
|
+
INCLINATION: number;
|
|
13948
|
+
/** Right ascension of ascending node in degrees */
|
|
13949
|
+
RA_OF_ASC_NODE: number;
|
|
13950
|
+
/** Argument of pericenter in degrees */
|
|
13951
|
+
ARG_OF_PERICENTER: number;
|
|
13952
|
+
/** Mean anomaly in degrees */
|
|
13953
|
+
MEAN_ANOMALY: number;
|
|
13954
|
+
/** Gravitational coefficient in km^3/s^2 */
|
|
13955
|
+
GM?: number;
|
|
13956
|
+
/** Optional comment lines */
|
|
13957
|
+
COMMENT?: string[];
|
|
13958
|
+
}
|
|
13959
|
+
/**
|
|
13960
|
+
* Spacecraft parameters.
|
|
13961
|
+
* @see CCSDS 502.0-B-3 Table 4-3
|
|
13962
|
+
*/
|
|
13963
|
+
interface OmmSpacecraftParameters {
|
|
13964
|
+
/** Spacecraft mass in kg */
|
|
13965
|
+
MASS?: number;
|
|
13966
|
+
/** Solar radiation pressure area in m^2 */
|
|
13967
|
+
SOLAR_RAD_AREA?: number;
|
|
13968
|
+
/** Solar radiation pressure coefficient */
|
|
13969
|
+
SOLAR_RAD_COEFF?: number;
|
|
13970
|
+
/** Drag area in m^2 */
|
|
13971
|
+
DRAG_AREA?: number;
|
|
13972
|
+
/** Drag coefficient */
|
|
13973
|
+
DRAG_COEFF?: number;
|
|
13974
|
+
/** Optional comment lines */
|
|
13975
|
+
COMMENT?: string[];
|
|
13976
|
+
}
|
|
13977
|
+
/**
|
|
13978
|
+
* TLE-related parameters.
|
|
13979
|
+
* @see CCSDS 502.0-B-3 Table 4-3
|
|
13980
|
+
*/
|
|
13981
|
+
interface OmmTleParameters {
|
|
13982
|
+
/** Ephemeris type (default 0) */
|
|
13983
|
+
EPHEMERIS_TYPE?: number;
|
|
13984
|
+
/** Classification type (default 'U') */
|
|
13985
|
+
CLASSIFICATION_TYPE?: string;
|
|
13986
|
+
/** NORAD catalog number */
|
|
13987
|
+
NORAD_CAT_ID?: number;
|
|
13988
|
+
/** Element set number */
|
|
13989
|
+
ELEMENT_SET_NO?: number;
|
|
13990
|
+
/** Revolution number at epoch */
|
|
13991
|
+
REV_AT_EPOCH?: number;
|
|
13992
|
+
/** SGP4 drag parameter (1/Earth radii) */
|
|
13993
|
+
BSTAR?: number;
|
|
13994
|
+
/** SGP4-XP ballistic coefficient (m^2/kg) */
|
|
13995
|
+
BTERM?: number;
|
|
13996
|
+
/** First time derivative of mean motion (rev/day^2) */
|
|
13997
|
+
MEAN_MOTION_DOT?: number;
|
|
13998
|
+
/** Second time derivative of mean motion (rev/day^3) */
|
|
13999
|
+
MEAN_MOTION_DDOT?: number;
|
|
14000
|
+
/** SGP4-XP solar radiation pressure coefficient (m^2/kg) */
|
|
14001
|
+
AGOM?: number;
|
|
14002
|
+
/** Optional comment lines */
|
|
14003
|
+
COMMENT?: string[];
|
|
14004
|
+
}
|
|
14005
|
+
/**
|
|
14006
|
+
* Position/Velocity covariance matrix (6x6 lower triangular form).
|
|
14007
|
+
* @see CCSDS 502.0-B-3 Table 4-3
|
|
14008
|
+
*/
|
|
14009
|
+
interface OmmCovarianceMatrix {
|
|
14010
|
+
/** Reference frame for covariance data */
|
|
14011
|
+
COV_REF_FRAME?: string;
|
|
14012
|
+
/** Covariance matrix elements (lower triangular, 21 values) */
|
|
14013
|
+
CX_X?: number;
|
|
14014
|
+
CY_X?: number;
|
|
14015
|
+
CY_Y?: number;
|
|
14016
|
+
CZ_X?: number;
|
|
14017
|
+
CZ_Y?: number;
|
|
14018
|
+
CZ_Z?: number;
|
|
14019
|
+
CX_DOT_X?: number;
|
|
14020
|
+
CX_DOT_Y?: number;
|
|
14021
|
+
CX_DOT_Z?: number;
|
|
14022
|
+
CX_DOT_X_DOT?: number;
|
|
14023
|
+
CY_DOT_X?: number;
|
|
14024
|
+
CY_DOT_Y?: number;
|
|
14025
|
+
CY_DOT_Z?: number;
|
|
14026
|
+
CY_DOT_X_DOT?: number;
|
|
14027
|
+
CY_DOT_Y_DOT?: number;
|
|
14028
|
+
CZ_DOT_X?: number;
|
|
14029
|
+
CZ_DOT_Y?: number;
|
|
14030
|
+
CZ_DOT_Z?: number;
|
|
14031
|
+
CZ_DOT_X_DOT?: number;
|
|
14032
|
+
CZ_DOT_Y_DOT?: number;
|
|
14033
|
+
CZ_DOT_Z_DOT?: number;
|
|
14034
|
+
/** Optional comment lines */
|
|
14035
|
+
COMMENT?: string[];
|
|
14036
|
+
}
|
|
14037
|
+
/**
|
|
14038
|
+
* User-defined parameters section.
|
|
14039
|
+
*/
|
|
14040
|
+
interface OmmUserDefined {
|
|
14041
|
+
[key: string]: string;
|
|
14042
|
+
}
|
|
14043
|
+
/**
|
|
14044
|
+
* Fully parsed OMM file structure.
|
|
14045
|
+
* @see CCSDS 502.0-B-3 Section 4.2
|
|
14046
|
+
*/
|
|
14047
|
+
interface ParsedOmm {
|
|
14048
|
+
/** File header information */
|
|
14049
|
+
header: OmmHeader;
|
|
14050
|
+
/** Metadata about the object and reference frame */
|
|
14051
|
+
metadata: OmmMetadata;
|
|
14052
|
+
/** Mean Keplerian elements */
|
|
14053
|
+
meanElements: OmmMeanElements;
|
|
14054
|
+
/** Optional spacecraft parameters */
|
|
14055
|
+
spacecraftParameters?: OmmSpacecraftParameters;
|
|
14056
|
+
/** Optional TLE-related parameters */
|
|
14057
|
+
tleParameters?: OmmTleParameters;
|
|
14058
|
+
/** Optional covariance matrix */
|
|
14059
|
+
covarianceMatrix?: OmmCovarianceMatrix;
|
|
14060
|
+
/** Optional user-defined parameters */
|
|
14061
|
+
userDefined?: OmmUserDefined;
|
|
14062
|
+
}
|
|
14063
|
+
|
|
14064
|
+
/**
|
|
14065
|
+
* @author Theodore Kruczek
|
|
14066
|
+
* @license AGPL-3.0-or-later
|
|
14067
|
+
* @copyright (c) 2025-2026 Kruczek Labs LLC
|
|
14068
|
+
*
|
|
14069
|
+
* Orbital Object ToolKit is free software: you can redistribute it and/or modify it under the
|
|
14070
|
+
* terms of the GNU Affero General Public License as published by the Free Software
|
|
14071
|
+
* Foundation, either version 3 of the License, or (at your option) any later version.
|
|
14072
|
+
*
|
|
14073
|
+
* Orbital Object ToolKit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
14074
|
+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
14075
|
+
* See the GNU Affero General Public License for more details.
|
|
14076
|
+
*
|
|
14077
|
+
* You should have received a copy of the GNU Affero General Public License along with
|
|
14078
|
+
* Orbital Object ToolKit. If not, see <http://www.gnu.org/licenses/>.
|
|
14079
|
+
*/
|
|
14080
|
+
|
|
14081
|
+
/**
|
|
14082
|
+
* Parser for CCSDS Orbit Mean-Elements Message (OMM) KVN format.
|
|
14083
|
+
*
|
|
14084
|
+
* Parses text-based OMM files conforming to CCSDS 502.0-B-3 Section 4.
|
|
14085
|
+
* Supports TLE-compatible mean elements (SGP/SGP4/SGP4-XP) and other
|
|
14086
|
+
* mean element theories (DSST, USM).
|
|
14087
|
+
*
|
|
14088
|
+
* @see https://public.ccsds.org/Pubs/502x0b3e1.pdf CCSDS OMM Standard
|
|
14089
|
+
*
|
|
14090
|
+
* @example
|
|
14091
|
+
* ```typescript
|
|
14092
|
+
* const ommContent = fs.readFileSync('orbit.omm', 'utf-8');
|
|
14093
|
+
* const parsed = OmmParser.parse(ommContent);
|
|
14094
|
+
* console.log(parsed.meanElements.EPOCH);
|
|
14095
|
+
* console.log(parsed.meanElements.MEAN_MOTION);
|
|
14096
|
+
* ```
|
|
14097
|
+
*/
|
|
14098
|
+
declare class OmmParser {
|
|
14099
|
+
private constructor();
|
|
14100
|
+
/**
|
|
14101
|
+
* Parse OMM KVN format text into structured data.
|
|
14102
|
+
* @param content - The raw OMM file content as a string
|
|
14103
|
+
* @returns Parsed OMM structure with all sections
|
|
14104
|
+
* @throws ParseError if the file cannot be parsed or is missing required fields
|
|
14105
|
+
*/
|
|
14106
|
+
static parse(content: string): ParsedOmm;
|
|
14107
|
+
/**
|
|
14108
|
+
* Check if a parsed OMM represents TLE-compatible data.
|
|
14109
|
+
* @param omm - Parsed OMM structure
|
|
14110
|
+
* @returns true if the OMM uses SGP, SGP4, or SGP4-XP mean element theory
|
|
14111
|
+
*/
|
|
14112
|
+
static isTleCompatible(omm: ParsedOmm): boolean;
|
|
14113
|
+
/**
|
|
14114
|
+
* Parse a CelesTrak-style flat JSON OMM object into the structured ParsedOmm format.
|
|
14115
|
+
*
|
|
14116
|
+
* CelesTrak's JSON OMM format is a flat object with all fields at the top level,
|
|
14117
|
+
* omitting metadata fields like CENTER_NAME, REF_FRAME, TIME_SYSTEM, and
|
|
14118
|
+
* MEAN_ELEMENT_THEORY (which are always EARTH/TEME/UTC/SGP4 for GP data).
|
|
14119
|
+
*
|
|
14120
|
+
* @param omm - A flat OMM JSON object from CelesTrak
|
|
14121
|
+
* @returns Parsed OMM structure with inferred metadata
|
|
14122
|
+
*/
|
|
14123
|
+
static parseJson(omm: OmmDataFormat): ParsedOmm;
|
|
14124
|
+
/**
|
|
14125
|
+
* Parse an array of CelesTrak-style flat JSON OMM objects.
|
|
14126
|
+
* @param ommArray - Array of flat OMM JSON objects from CelesTrak
|
|
14127
|
+
* @returns Array of parsed OMM structures
|
|
14128
|
+
*/
|
|
14129
|
+
static parseJsonArray(ommArray: OmmDataFormat[]): ParsedOmm[];
|
|
14130
|
+
/**
|
|
14131
|
+
* Parse all key-value pairs from OMM lines (excluding COMMENT lines).
|
|
14132
|
+
*/
|
|
14133
|
+
private static parseKeyValues_;
|
|
14134
|
+
/**
|
|
14135
|
+
* Parse COMMENT lines and assign them to sections based on position.
|
|
14136
|
+
*
|
|
14137
|
+
* Comments are assigned to sections based on the keywords that follow them.
|
|
14138
|
+
* The OMM KVN format allows comments at the beginning of each section.
|
|
14139
|
+
*/
|
|
14140
|
+
private static parseComments_;
|
|
14141
|
+
/**
|
|
14142
|
+
* Parse header section.
|
|
14143
|
+
* @see CCSDS 502.0-B-3 Table 4-1
|
|
14144
|
+
*/
|
|
14145
|
+
private static parseHeader_;
|
|
14146
|
+
/**
|
|
14147
|
+
* Parse metadata section.
|
|
14148
|
+
* @see CCSDS 502.0-B-3 Table 4-2
|
|
14149
|
+
*/
|
|
14150
|
+
private static parseMetadata_;
|
|
14151
|
+
/**
|
|
14152
|
+
* Parse mean Keplerian elements section.
|
|
14153
|
+
* @see CCSDS 502.0-B-3 Table 4-3
|
|
14154
|
+
*/
|
|
14155
|
+
private static parseMeanElements_;
|
|
14156
|
+
/**
|
|
14157
|
+
* Parse optional spacecraft parameters section.
|
|
14158
|
+
* @see CCSDS 502.0-B-3 Table 4-3
|
|
14159
|
+
*/
|
|
14160
|
+
private static parseSpacecraftParameters_;
|
|
14161
|
+
/**
|
|
14162
|
+
* Parse optional TLE-related parameters section.
|
|
14163
|
+
* @see CCSDS 502.0-B-3 Table 4-3
|
|
14164
|
+
*/
|
|
14165
|
+
private static parseTleParameters_;
|
|
14166
|
+
/**
|
|
14167
|
+
* Parse optional covariance matrix section.
|
|
14168
|
+
* @see CCSDS 502.0-B-3 Table 4-3
|
|
14169
|
+
*/
|
|
14170
|
+
private static parseCovarianceMatrix_;
|
|
14171
|
+
/**
|
|
14172
|
+
* Parse user-defined parameters section.
|
|
14173
|
+
*/
|
|
14174
|
+
private static parseUserDefined_;
|
|
14175
|
+
/**
|
|
14176
|
+
* Parse a required float field.
|
|
14177
|
+
* @throws ParseError if the field is missing or not a valid number
|
|
14178
|
+
*/
|
|
14179
|
+
private static parseRequiredFloat_;
|
|
14180
|
+
/**
|
|
14181
|
+
* Parse an optional float field.
|
|
14182
|
+
*/
|
|
14183
|
+
private static parseOptionalFloat_;
|
|
14184
|
+
/**
|
|
14185
|
+
* Parse an optional integer field.
|
|
14186
|
+
*/
|
|
14187
|
+
private static parseOptionalInt_;
|
|
14188
|
+
/**
|
|
14189
|
+
* Validate parsed OMM for required fields and consistency.
|
|
14190
|
+
* @throws ParseError if validation fails
|
|
14191
|
+
*/
|
|
14192
|
+
private static validate_;
|
|
14193
|
+
}
|
|
14194
|
+
|
|
13839
14195
|
/**
|
|
13840
14196
|
* @author Theodore Kruczek
|
|
13841
14197
|
* @license AGPL-3.0-or-later
|
|
@@ -16958,4 +17314,4 @@ declare class RepeatGroundTrack {
|
|
|
16958
17314
|
private static gcd_;
|
|
16959
17315
|
}
|
|
16960
17316
|
|
|
16961
|
-
export { AccessCalculator, type AccessConstraints, AccessWindow, AngularDiameterMethod, AngularDistanceMethod, Antenna, type AntennaParams, AtmosphericDrag, type AzEl, BaseObject, type BaseObjectParams, BatchLeastSquaresOD, BatchLeastSquaresResult, Beacon, type BeaconParams, type BoresightFrame, BoxMuller, type CatalogObject, CatalogScreener, type CatalogScreeningOptions, CatalogSource, type CdmExportOptions, CdmExporter, type CdmHeader, type CdmManeuverableStatus, type CdmObjectData, type CdmObjectMetadata, type CdmObjectType, CdmParser, type CdmRelativeData, CelestialBody, type CelestialBodyParams, CelestialBodyType, CenterBody, CenterBodyMu, ChebyshevCoefficients, ChebyshevCompressor, ChebyshevInterpolator, ClassicalElements, type ClassicalElementsParams, CommDeviceType, CommLink, type CommPlatform, CommunicationDevice, type CommunicationDeviceInterface, type CommunicationDeviceParams, ConjunctionAssessment, type ConjunctionAssessmentOptions, ConjunctionEvent, type ConjunctionSpaceObjectInput, type ConsistencyRatioResult, ConstellationGenerator, ContactScheduler, ContactSelectionStrategy, CovarianceFrame, CovarianceRealism, type CovarianceRealismResult, CovarianceSample, type CoverageStatistics, CubicSpline, CubicSplineInterpolator, DEFAULT_INTERPOLATOR, DEFAULT_LAGRANGE_ORDER, DEG2RAD, DataHandler, type Days, type Dbm, type Dbw, type Decibels, type Degrees, type DegreesPerDay, type DegreesPerSecond, type DifferentiableFunction, DormandPrince54Propagator, DownhillSimplex, DynamicGroundObject, type DynamicGroundObjectParams, Earth, EarthGravity, type EcefVec3, type EigenvalueAnalysisResult, type ElevationMask, type EnuVec3, EphemerisBody, type EphemerisBodyParams, type EphemerisDataPoint, type EphemerisInterpolationType, EphemerisSatellite, type EphemerisSatelliteParams, Epoch, EpochGPS, EpochTAI, EpochTDB, EpochTT, EpochUTC, EpochWindow, EquinoctialElements, type EquinoctialElementsParams, EulerAngles, FieldInterpolator, FieldOfView, type FieldOfViewParams, type FindNearestOptions, Force, ForceModel, FormatTle, type FovBoundaryPoint, FovFrame, FovShape, type GcrfVec3, Geodetic, GibbsIOD, GoldenSection, GoodingIOD, Gravity, type GreenwichMeanSiderealTime, type GroundInterpolationMethod, GroundObject, type GroundObjectParams, type GroundPositionParams, GroundStation, type GroundStationParams, type GroundTrackPoint, HerrickGibbsIOD, type Hertz, Hill, type HistoricalState, History, type HistoryConfig, type HistoryEntry, type HorizonsEphemerisData, type HorizonsObserverResult, HorizonsParser, type HorizonsVectorResult, type Hours, ITRF, Interpolator, InterpolatorType, type ItrfVec3, J2000, type J2000Vec3, type JacobianFunction, Jupiter, KM_PER_AU, KeplerPropagator, type Kilometers, type KilometersPerSecond, LagrangeInterpolator, LambertIOD, LandObject, LaserRangingSensor, type LaserRangingSensorParams, type LaunchDetails, type LaunchTrajectoryConfig, LaunchTrajectoryGenerator, LevenbergMarquardtOD, LevenbergMarquardtResult, type LibrationData, type Line1Data, type Line2Data, type LinkBudget, type LlaVec3, type Lookangle, MILLISECONDS_PER_DAY, MILLISECONDS_PER_SECOND, MILLISECONDS_TO_DAYS, MINUTES_PER_DAY, MS_PER_DAY, type MahalanobisResult, Marker, Mars, Matrix, MechanicalRadar, type MechanicalRadarParams, Mercury, type Meters, type MetersPerSecond, type Milliseconds, type Minutes, ModifiedGoodingIOD, ModulationType, Moon, MoonBody, type MoonPhaseInfo, type MoonTimes, Neptune, type NumericalPropagatorOptions, type NutationAngles, type OdmExportOptions, OdmExporter, type OemCovarianceMatrix, type OemDataBlock, type OemExportOptions, type OemHeader, type OemMetadata, OemParser, type OmmExportOptions, OotkError, type OperationsDetails, type OpmExportOptions, OpticalSensor, type OpticalSensorParams, type OptionsParams, OrbitDeterminationError, OrbitFinder, type OrbitFinderOptions, type OrbitParameters, OrbitRegime, type OrbitTrackPoint, type OrbitalShell, PI, ParseError, type ParsedCdm, type ParsedOem, PassType, PassiveRFSensor, type PassiveRFSensorParams, PayloadStatus, PhasedArrayRadar, type PhasedArrayRadarParams, PlaneChangeBurn, PlanetBody, Pluto, PolynomialRegression, type PosVel, type PositionVelocity, type PrecessionAngles, ProbabilityOfCollision, PropagationError, Propagator, PropagatorType, Quaternion, RAD2DEG, RADIUS_OF_EARTH, RAE, RIC, type RaDec, RadarSensor, type RadarSensorParams, RadecGeocentric, RadecTopocentric, type Radians, type RadiansPerSecond, type RaeVec3, Random, RandomGaussianSource, type RcsShape, Receiver, type ReceiverParams, type ReferenceFrame, RelativeState, type RelayLinkBudget, RepeatGroundTrack, type RepeatGroundTrackOptions, type RepeatOrbitResult, type RfVec3, type RiseSetTimes, RkCheckpoint, RkResult, RungeKutta4Propagator, RungeKutta89Propagator, RungeKuttaAdaptive, type RuvVec3, SLR_WAVELENGTHS, SPEED_OF_LIGHT_KM_S, Satellite, type SatelliteCoverageStats, type SatelliteParams, type SatelliteRecord, Saturn, type ScaleFactorResult, type ScheduleOptions, ScheduledContact, type ScheduledContactParams, ScreeningFilter, type ScreeningResult, type Seconds, type SecondsPerMeterPerSecond, SegmentedLagrangeInterpolator, Sensor, type SensorInterface, type SensorParams, type SensorPlatform, SensorType, type SerializedAntenna, type SerializedCommDevice, type SerializedObject, type SerializedSensor, type SezVec3, Sgp4, Sgp4Error, Sgp4ErrorCode, Sgp4OpsMode, Sgp4Propagator, type Sgp4Result, SimpleLinearRegression, SolarRadiationPressure, SolarSystem, type SpaceCraftDetails, SpaceObject, type SpaceObjectParams, SpaceObjectType, Star, type StarObjectParams, StateCovariance, StateInterpolator, StateVector, type StateVectorSgp4, type StationCoverageStats, type StringifiedNumber, Sun, SunBody, SunStatus, type SunTime, TAU, TEME, type TemeVec3, ThirdBodyGravity, Thrust, TimeStamped, type TimeWindow, Tle, type TleData, type TleDataFull, type TleLine1, type TleLine2, type TleParams, Transmitter, type TransmitterParams, Transponder, type TransponderParams, TwoBurnOrbitTransfer, Uranus, ValidationError, type Vec3, type Vec3Flat, Vector, Vector3D, Venus, VerletBlendInterpolator, VisualizationHelpers, type Watts, Waypoint, type WaypointData, ZoomValue, acoth, acsch, angularDiameter, angularDistance, angularVelocityOfEarth, array2d, asec2rad, asech, azel2uv, bodyTypeLookup, boresightFrameFromAzElRoll, cKmPerMs, cKmPerSec, cMPerSec, calcGmst, calcIncFromAz, calcInertAz, calculateFspl, calculatePropagationDelay, clamp, concat, copySign, covariance, createCovarianceFromTle, createSampleCovarianceFromTle, createVec, csch, dbmToDbw, dbwToDbm, dbwToWatts, deg2rad, derivative, dopplerFactor, earthGravityParam, ecef2eci, ecef2enu, ecef2rae, ecefRad2rae, eci2ecef, eci2lla, eci2rae, enu2rf, estimateRcs, evalPoly, factorial, gamma, getDayOfYear, getDegLat, getDegLon, getRadLat, getRadLon, halfPi, isLeapYear, jacobian, jday, linearDistance, linearInterpolate, lla2ecef, lla2eci, lla2sez, llaRad2ecef, log10, mag2db, masec2rad, matchHalfPlane, mean, msec2sec, newtonM, newtonNu, normalizeAngle, observationDerivative, observationNoiseFromSigmas, parseCenterBody, rad2deg, radecToPosition, radecToVelocity, rae2ecef, rae2eci, rae2enu, rae2raeOffBoresight, rae2ruv, rae2sez, relativeVelocity, sec2day, sec2deg, sec2min, sech, secondsPerDay, secondsPerSiderealDay, secondsPerWeek, sez2rae, sign, spaceObjType2Str, std, temp4, toPrecision, ttasec2rad, uv2azel, wattsToDbw, wrapAngle, x2o3 };
|
|
17317
|
+
export { AccessCalculator, type AccessConstraints, AccessWindow, AngularDiameterMethod, AngularDistanceMethod, Antenna, type AntennaParams, AtmosphericDrag, type AzEl, BaseObject, type BaseObjectParams, BatchLeastSquaresOD, BatchLeastSquaresResult, Beacon, type BeaconParams, type BoresightFrame, BoxMuller, type CatalogObject, CatalogScreener, type CatalogScreeningOptions, CatalogSource, type CdmExportOptions, CdmExporter, type CdmHeader, type CdmManeuverableStatus, type CdmObjectData, type CdmObjectMetadata, type CdmObjectType, CdmParser, type CdmRelativeData, CelestialBody, type CelestialBodyParams, CelestialBodyType, CenterBody, CenterBodyMu, ChebyshevCoefficients, ChebyshevCompressor, ChebyshevInterpolator, ClassicalElements, type ClassicalElementsParams, CommDeviceType, CommLink, type CommPlatform, CommunicationDevice, type CommunicationDeviceInterface, type CommunicationDeviceParams, ConjunctionAssessment, type ConjunctionAssessmentOptions, ConjunctionEvent, type ConjunctionSpaceObjectInput, type ConsistencyRatioResult, ConstellationGenerator, ContactScheduler, ContactSelectionStrategy, CovarianceFrame, CovarianceRealism, type CovarianceRealismResult, CovarianceSample, type CoverageStatistics, CubicSpline, CubicSplineInterpolator, DEFAULT_INTERPOLATOR, DEFAULT_LAGRANGE_ORDER, DEG2RAD, DataHandler, type Days, type Dbm, type Dbw, type Decibels, type Degrees, type DegreesPerDay, type DegreesPerSecond, type DifferentiableFunction, DormandPrince54Propagator, DownhillSimplex, DynamicGroundObject, type DynamicGroundObjectParams, Earth, EarthGravity, type EcefVec3, type EigenvalueAnalysisResult, type ElevationMask, type EnuVec3, EphemerisBody, type EphemerisBodyParams, type EphemerisDataPoint, type EphemerisInterpolationType, EphemerisSatellite, type EphemerisSatelliteParams, Epoch, EpochGPS, EpochTAI, EpochTDB, EpochTT, EpochUTC, EpochWindow, EquinoctialElements, type EquinoctialElementsParams, EulerAngles, FieldInterpolator, FieldOfView, type FieldOfViewParams, type FindNearestOptions, Force, ForceModel, FormatTle, type FovBoundaryPoint, FovFrame, FovShape, type GcrfVec3, Geodetic, GibbsIOD, GoldenSection, GoodingIOD, Gravity, type GreenwichMeanSiderealTime, type GroundInterpolationMethod, GroundObject, type GroundObjectParams, type GroundPositionParams, GroundStation, type GroundStationParams, type GroundTrackPoint, HerrickGibbsIOD, type Hertz, Hill, type HistoricalState, History, type HistoryConfig, type HistoryEntry, type HorizonsEphemerisData, type HorizonsObserverResult, HorizonsParser, type HorizonsVectorResult, type Hours, ITRF, Interpolator, InterpolatorType, type ItrfVec3, J2000, type J2000Vec3, type JacobianFunction, Jupiter, KM_PER_AU, KeplerPropagator, type Kilometers, type KilometersPerSecond, LagrangeInterpolator, LambertIOD, LandObject, LaserRangingSensor, type LaserRangingSensorParams, type LaunchDetails, type LaunchTrajectoryConfig, LaunchTrajectoryGenerator, LevenbergMarquardtOD, LevenbergMarquardtResult, type LibrationData, type Line1Data, type Line2Data, type LinkBudget, type LlaVec3, type Lookangle, MILLISECONDS_PER_DAY, MILLISECONDS_PER_SECOND, MILLISECONDS_TO_DAYS, MINUTES_PER_DAY, MS_PER_DAY, type MahalanobisResult, Marker, Mars, Matrix, MechanicalRadar, type MechanicalRadarParams, Mercury, type Meters, type MetersPerSecond, type Milliseconds, type Minutes, ModifiedGoodingIOD, ModulationType, Moon, MoonBody, type MoonPhaseInfo, type MoonTimes, Neptune, type NumericalPropagatorOptions, type NutationAngles, type OdmExportOptions, OdmExporter, type OemCovarianceMatrix, type OemDataBlock, type OemExportOptions, type OemHeader, type OemMetadata, OemParser, type OmmCovarianceMatrix, type OmmExportOptions, type OmmHeader, type OmmMeanElements, type OmmMetadata, OmmParser, type OmmSpacecraftParameters, type OmmTleParameters, type OmmUserDefined, OotkError, type OperationsDetails, type OpmExportOptions, OpticalSensor, type OpticalSensorParams, type OptionsParams, OrbitDeterminationError, OrbitFinder, type OrbitFinderOptions, type OrbitParameters, OrbitRegime, type OrbitTrackPoint, type OrbitalShell, PI, ParseError, type ParsedCdm, type ParsedOem, type ParsedOmm, PassType, PassiveRFSensor, type PassiveRFSensorParams, PayloadStatus, PhasedArrayRadar, type PhasedArrayRadarParams, PlaneChangeBurn, PlanetBody, Pluto, PolynomialRegression, type PosVel, type PositionVelocity, type PrecessionAngles, ProbabilityOfCollision, PropagationError, Propagator, PropagatorType, Quaternion, RAD2DEG, RADIUS_OF_EARTH, RAE, RIC, type RaDec, RadarSensor, type RadarSensorParams, RadecGeocentric, RadecTopocentric, type Radians, type RadiansPerSecond, type RaeVec3, Random, RandomGaussianSource, type RcsShape, Receiver, type ReceiverParams, type ReferenceFrame, RelativeState, type RelayLinkBudget, RepeatGroundTrack, type RepeatGroundTrackOptions, type RepeatOrbitResult, type RfVec3, type RiseSetTimes, RkCheckpoint, RkResult, RungeKutta4Propagator, RungeKutta89Propagator, RungeKuttaAdaptive, type RuvVec3, SLR_WAVELENGTHS, SPEED_OF_LIGHT_KM_S, Satellite, type SatelliteCoverageStats, type SatelliteParams, type SatelliteRecord, Saturn, type ScaleFactorResult, type ScheduleOptions, ScheduledContact, type ScheduledContactParams, ScreeningFilter, type ScreeningResult, type Seconds, type SecondsPerMeterPerSecond, SegmentedLagrangeInterpolator, Sensor, type SensorInterface, type SensorParams, type SensorPlatform, SensorType, type SerializedAntenna, type SerializedCommDevice, type SerializedObject, type SerializedSensor, type SezVec3, Sgp4, Sgp4Error, Sgp4ErrorCode, Sgp4OpsMode, Sgp4Propagator, type Sgp4Result, SimpleLinearRegression, SolarRadiationPressure, SolarSystem, type SpaceCraftDetails, SpaceObject, type SpaceObjectParams, SpaceObjectType, Star, type StarObjectParams, StateCovariance, StateInterpolator, StateVector, type StateVectorSgp4, type StationCoverageStats, type StringifiedNumber, Sun, SunBody, SunStatus, type SunTime, TAU, TEME, type TemeVec3, ThirdBodyGravity, Thrust, TimeStamped, type TimeWindow, Tle, type TleData, type TleDataFull, type TleLine1, type TleLine2, type TleParams, Transmitter, type TransmitterParams, Transponder, type TransponderParams, TwoBurnOrbitTransfer, Uranus, ValidationError, type Vec3, type Vec3Flat, Vector, Vector3D, Venus, VerletBlendInterpolator, VisualizationHelpers, type Watts, Waypoint, type WaypointData, ZoomValue, acoth, acsch, angularDiameter, angularDistance, angularVelocityOfEarth, array2d, asec2rad, asech, azel2uv, bodyTypeLookup, boresightFrameFromAzElRoll, cKmPerMs, cKmPerSec, cMPerSec, calcGmst, calcIncFromAz, calcInertAz, calculateFspl, calculatePropagationDelay, clamp, concat, copySign, covariance, createCovarianceFromTle, createSampleCovarianceFromTle, createVec, csch, dbmToDbw, dbwToDbm, dbwToWatts, deg2rad, derivative, dopplerFactor, earthGravityParam, ecef2eci, ecef2enu, ecef2rae, ecefRad2rae, eci2ecef, eci2lla, eci2rae, enu2rf, estimateRcs, evalPoly, factorial, gamma, getDayOfYear, getDegLat, getDegLon, getRadLat, getRadLon, halfPi, isLeapYear, jacobian, jday, linearDistance, linearInterpolate, lla2ecef, lla2eci, lla2sez, llaRad2ecef, log10, mag2db, masec2rad, matchHalfPlane, mean, msec2sec, newtonM, newtonNu, normalizeAngle, observationDerivative, observationNoiseFromSigmas, parseCenterBody, rad2deg, radecToPosition, radecToVelocity, rae2ecef, rae2eci, rae2enu, rae2raeOffBoresight, rae2ruv, rae2sez, relativeVelocity, sec2day, sec2deg, sec2min, sech, secondsPerDay, secondsPerSiderealDay, secondsPerWeek, sez2rae, sign, spaceObjType2Str, std, temp4, toPrecision, ttasec2rad, uv2azel, wattsToDbw, wrapAngle, x2o3 };
|