Get real time tipsod
el_paso.processing.get_real_time_tipsod
Functions:
el_paso.processing.get_real_time_tipsod.get_real_time_tipsod
get_real_time_tipsod
Gets real-time satellite position data from the TIPSOD service.
This function queries the TIPSOD (Tool For Interactive Plotting, Sonification, and 3D Orbit Display) web service to retrieve the satellite's position (X, Y, Z) in a specified coordinate system at a given set of timestamps. The function then bins the retrieved data and computes the median position for each bin.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
timestamps
|
NDArray[floating]
|
An array of timestamps in Unix time for which to retrieve satellite data. At least two timestamps are required to determine the time interval for data retrieval. |
required |
sat_name
|
str
|
The name of the satellite (e.g., 'LANL-01A', 'GOES-15'). |
required |
coord_system
|
str
|
The coordinate system for the returned data. Defaults to "GEO". Supported systems include "GEO", "GSE", "GSM", and "SM". |
'GEO'
|
Returns:
| Type | Description |
|---|---|
Variable
|
ep.Variable: A variable containing the satellite's median position (X, Y, Z) for each time interval, converted to Earth Radii (RE). |
Raises:
| Type | Description |
|---|---|
ValueError
|
If fewer than two timestamps are provided, as the time interval cannot be determined. |
ValueError
|
If the SSCWS query fails or returns an unexpected format. |
Source code in el_paso/processing/get_real_time_tipsod.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |