ptwrapper 2.7.4__tar.gz → 2.7.6__tar.gz
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.
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/PKG-INFO +3 -2
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/pyproject.toml +3 -2
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/agm/cfg_agm_jui.xml +8 -4
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/subscribers.py +12 -3
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/LICENSE.txt +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/README.md +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/.flake8 +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/__init__.py +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/cli.py +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/agm/cfg_agm_jui_event_definitions.xml +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/agm/cfg_agm_jui_fixed_definitions.xml +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/agm/cfg_agm_jui_predefined_block.xml +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/eps/BRF_MAL_SGICD_2_1_300101_351005.brf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/eps/RES_C50_SA_CELLS_EFFICIENCY_310101_351003.csv +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/eps/eps.cfg +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/eps/events.juice.def +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/eps/phs_com_res_sa_cells_count.asc +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/eps/units.def +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/session_file.json +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/html_log.py +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/TOP__events.evf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/TOP_crema_5_0_events.evf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/TOP_crema_5_1_150lb_23_1_a3_events.evf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/TOP_crema_5_1_150lb_23_1_events.evf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/downlink.evf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/edf/EDF_JUI_SPC_LINK_KAB.edf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/edf/EDF_JUI_SPC_LINK_XB.edf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/edf/TBD.edf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/edf/TOP_experiments.edf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/edf/juice__spacecraft.edf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/edf/juice__spacecraft_platform.edf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/edf/juice__spacecraft_ssmm.edf +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/evf/EVT_CREMA_5_0_GEOPIPELINE.EVF +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/evf/EVT_CREMA_5_1_150LB_23_1_A3_GEOPIPELINE.EVF +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/evf/EVT_CREMA_5_1_150LB_23_1_GEOPIPELINE.EVF +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/evf/EVT__GEOPIPELINE.EVF +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/itl/TBD.itl +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/itl/TOP_timelines.itl +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/itl/downlink.itl +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/itl/platform.itl +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/main.py +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/py.typed +0 -0
- {ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ptwrapper
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.6
|
|
4
4
|
Summary: A Pointing Tool OSVE wrapper
|
|
5
5
|
License: European Space Agency Public License (ESA-PL) Permissive (Type 3) – v2.4
|
|
6
6
|
License-File: LICENSE.txt
|
|
@@ -22,8 +22,9 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.14
|
|
23
23
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
24
|
Classifier: Typing :: Typed
|
|
25
|
+
Requires-Dist: beautifulsoup4 (>=4.14.3)
|
|
25
26
|
Requires-Dist: numpy (>=1.26.4)
|
|
26
|
-
Requires-Dist: osve (==2.7.
|
|
27
|
+
Requires-Dist: osve (==2.7.6)
|
|
27
28
|
Requires-Dist: spiceypy (>=5.1.2)
|
|
28
29
|
Project-URL: Documentation, https://juicesoc.esac.esa.int/panel/#/navigation/help
|
|
29
30
|
Project-URL: Homepage, https://gitlab.esa.int/juice-soc-public/python/ptwrapper
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "ptwrapper"
|
|
3
|
-
version = "2.7.
|
|
3
|
+
version = "2.7.6"
|
|
4
4
|
description = "A Pointing Tool OSVE wrapper"
|
|
5
5
|
authors = [
|
|
6
6
|
"Marc Costa <marc.costa@ext.esa.int>",
|
|
@@ -36,9 +36,10 @@ ptwrapper = 'ptwrapper.cli:cli'
|
|
|
36
36
|
|
|
37
37
|
[tool.poetry.dependencies]
|
|
38
38
|
python = ">=3.8 <4.0"
|
|
39
|
-
osve = "=2.7.
|
|
39
|
+
osve = "=2.7.6"
|
|
40
40
|
spiceypy = ">=5.1.2"
|
|
41
41
|
numpy = ">=1.26.4"
|
|
42
|
+
beautifulsoup4 =">=4.14.3"
|
|
42
43
|
|
|
43
44
|
[tool.poetry.dev-dependencies]
|
|
44
45
|
autoflake = "*"
|
|
@@ -200,11 +200,13 @@
|
|
|
200
200
|
</Param>
|
|
201
201
|
<Param id="AC_RW_WMM_MOMENTUMMIN" type="PT_VECRW" description="This is the lower limit of the momentum that can be absorbed by the corresponding reaction wheel. This value is used when the 3 reaction wheels are active. In case of 3 reaction wheels there is only one solution to redistribute the momentum among the wheels. For that reason we can check each wheel individually. If the value is set to 0 it indicates that there should be no zero-crossing for the RW." unit="N*m*s">
|
|
202
202
|
<!-- w1, w2, w3, w4 -->
|
|
203
|
-
-60.0, -60.0, -60.0, 0.0
|
|
203
|
+
<!-- -60.0, -60.0, -60.0, 0.0 -->
|
|
204
|
+
-999999, -999999, -999999, 0.0
|
|
204
205
|
</Param>
|
|
205
206
|
<Param id="AC_RW_WMM_MOMENTUMMAX" type="PT_VECRW" description="This is the upper limit of the momentum that can be absorbed by the corresponding reaction wheel. This value is used when the 3 reaction wheels are active. In case of 3 reaction wheels there is only one solution to redistribute the momentum among the wheels. For that reason we can check each wheel individually." unit="N*m*s">
|
|
206
207
|
<!-- w1, w2, w3, w4 -->
|
|
207
|
-
60.0, 60.0, 60.0, 0.0
|
|
208
|
+
<!-- 60.0, 60.0, 60.0, 0.0 -->
|
|
209
|
+
999999, 999999, 999999, 0.0
|
|
208
210
|
</Param>
|
|
209
211
|
<Param id="AC_RW_WMM_MOMENTUMINIT" type="PT_VECRW" description="Initial wheel momentum state for each RW" unit="N*m*s">
|
|
210
212
|
<!-- w1, w2, w3, w4 -->
|
|
@@ -215,11 +217,13 @@
|
|
|
215
217
|
</Param>
|
|
216
218
|
<Param id="AC_RW_WMM_TORQUEMIN" type="PT_VECRW" description="Lower limit of the torque that can be applied instantaneously to the corresponding reaction wheel for the wheel momentum simulation. The wheel momentum simulation algorithm takes into account the previous spacecraft state in order to compute the spacecraft loads." unit="N*m">
|
|
217
219
|
<!-- w1, w2, w3, w4 -->
|
|
218
|
-
-0.14, -0.14, -0.14, 0.0
|
|
220
|
+
<!-- -0.14, -0.14, -0.14, 0.0 -->
|
|
221
|
+
-999999, -999999, -999999, 0.0
|
|
219
222
|
</Param>
|
|
220
223
|
<Param id="AC_RW_WMM_TORQUEMAX" type="PT_VECRW" description="Upper limit of the torque that can be applied instantaneously to the corresponding reaction wheel for the wheel momentum simulation. The wheel momentum simulation algorithm takes into account the previous spacecraft state in order to compute the spacecraft loads." unit="N*m">
|
|
221
224
|
<!-- w1, w2, w3, w4 -->
|
|
222
|
-
0.14, 0.14, 0.14, 0.0
|
|
225
|
+
<!-- 0.14, 0.14, 0.14, 0.0 -->
|
|
226
|
+
999999, 999999, 999999, 0.0
|
|
223
227
|
</Param>
|
|
224
228
|
|
|
225
229
|
<!-- Attitude constraints check: SA -->
|
|
@@ -222,9 +222,14 @@ class OsvePtrLogger(OsvePtrAbstract):
|
|
|
222
222
|
|
|
223
223
|
def _check_swi_block_duration(self, observation, block_data):
|
|
224
224
|
violation, message = self._swi_block_duration_check(block_data, observation.get("obsId", "UNKNOWN"))
|
|
225
|
-
if violation:
|
|
226
|
-
|
|
227
|
-
|
|
225
|
+
if violation and observation.get("swi_type") == 'PRIME':
|
|
226
|
+
severity = 'WARNING'
|
|
227
|
+
log(severity, 'PTWR', f'{block_data["block_start"]}', f'[{observation.get("swi_type")}] {message}')
|
|
228
|
+
self.onMsgReceived(severity, 'PTWR', f'{block_data["block_start"]}', f'[{observation.get("swi_type")}] {message}')
|
|
229
|
+
elif violation and observation.get("swi_type") == 'RIDER':
|
|
230
|
+
severity = 'INFO'
|
|
231
|
+
log(severity, 'PTWR', f'{block_data["block_start"]}', f'[{observation.get("swi_type")}] {message}')
|
|
232
|
+
self.onMsgReceived(severity, 'PTWR', f'{block_data["block_start"]}', f'[{observation.get("swi_type")}] {message}')
|
|
228
233
|
|
|
229
234
|
def _handle_pephi_jeni_checks(self, block_data):
|
|
230
235
|
if self.remove_obs_comp or "observations" not in block_data:
|
|
@@ -749,6 +754,10 @@ class OsvePtrLogger(OsvePtrAbstract):
|
|
|
749
754
|
|
|
750
755
|
exec_percentage = self._calculate_execution_percentage(time_exec, time_start, time_end)
|
|
751
756
|
|
|
757
|
+
##Temporary fix
|
|
758
|
+
if "above maximum allowed" in log['text']:
|
|
759
|
+
log['severity'] = 'ERROR'
|
|
760
|
+
|
|
752
761
|
if verbose:
|
|
753
762
|
print(f" {log['severity']} , {exec_percentage}, {log['time']} , {log['text']}")
|
|
754
763
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/agm/cfg_agm_jui_event_definitions.xml
RENAMED
|
File without changes
|
{ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/agm/cfg_agm_jui_fixed_definitions.xml
RENAMED
|
File without changes
|
{ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/agm/cfg_agm_jui_predefined_block.xml
RENAMED
|
File without changes
|
{ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/config/eps/BRF_MAL_SGICD_2_1_300101_351005.brf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/TOP_crema_5_1_150lb_23_1_a3_events.evf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ptwrapper-2.7.4 → ptwrapper-2.7.6}/src/ptwrapper/input/evf/EVT_CREMA_5_1_150LB_23_1_GEOPIPELINE.EVF
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|