open-space-toolkit-physics 11.2.1__py311-none-manylinux2014_aarch64.whl → 12.0.0__py311-none-manylinux2014_aarch64.whl
Sign up to get free protection for your applications and to get access to all the features.
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/METADATA +3 -3
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/RECORD +35 -13
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/WHEEL +1 -1
- ostk/physics/OpenSpaceToolkitPhysicsPy.cpython-311-aarch64-linux-gnu.so +0 -0
- ostk/physics/__init__.pyi +488 -0
- ostk/physics/coordinate/__init__.pyi +1002 -0
- ostk/physics/coordinate/frame/__init__.pyi +30 -0
- ostk/physics/coordinate/frame/provider/__init__.pyi +77 -0
- ostk/physics/coordinate/frame/provider/iau.pyi +64 -0
- ostk/physics/coordinate/frame/provider/iers.pyi +584 -0
- ostk/physics/coordinate/spherical.pyi +421 -0
- ostk/physics/data/__init__.pyi +459 -0
- ostk/physics/data/provider.pyi +21 -0
- ostk/physics/environment/__init__.pyi +108 -0
- ostk/physics/environment/atmospheric/__init__.pyi +181 -0
- ostk/physics/environment/atmospheric/earth.pyi +552 -0
- ostk/physics/environment/gravitational/__init__.pyi +559 -0
- ostk/physics/environment/gravitational/earth.pyi +56 -0
- ostk/physics/environment/magnetic/__init__.pyi +171 -0
- ostk/physics/environment/magnetic/earth.pyi +56 -0
- ostk/physics/environment/object/__init__.pyi +430 -0
- ostk/physics/environment/object/celestial/__init__.pyi +248 -0
- ostk/physics/environment/object/celestial/moon.pyi +2 -0
- ostk/physics/environment/object/celestial/sun.pyi +2 -0
- ostk/physics/libopen-space-toolkit-physics.so.12 +0 -0
- ostk/physics/test/coordinate/frame/provider/iers/conftest.py +2 -5
- ostk/physics/test/coordinate/frame/provider/iers/test_bulletin_a.py +1 -4
- ostk/physics/test/coordinate/frame/provider/iers/test_finals_2000a.py +1 -4
- ostk/physics/test/coordinate/spherical/test_lla.py +24 -0
- ostk/physics/test/coordinate/test_position.py +129 -134
- ostk/physics/test/environment/atmospheric/earth/test_cssi_space_weather.py +11 -8
- ostk/physics/time.pyi +1744 -0
- ostk/physics/unit.pyi +1590 -0
- ostk/physics/libopen-space-toolkit-physics.so.11 +0 -0
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/zip-safe +0 -0
@@ -8,7 +8,6 @@ from ostk.core.filesystem import File
|
|
8
8
|
|
9
9
|
from ostk.physics.time import Scale
|
10
10
|
from ostk.physics.time import Instant
|
11
|
-
|
12
11
|
from ostk.physics.environment.atmospheric.earth import CSSISpaceWeather
|
13
12
|
|
14
13
|
|
@@ -38,7 +37,7 @@ class TestCSSISpaceWeather:
|
|
38
37
|
)
|
39
38
|
|
40
39
|
def test_access_observation_at_success(self, cssi_space_weather: CSSISpaceWeather):
|
41
|
-
observation:
|
40
|
+
observation: CSSISpaceWeather.Reading = cssi_space_weather.access_observation_at(
|
42
41
|
Instant.date_time(datetime(2023, 6, 19, 0, 0, 0), Scale.UTC)
|
43
42
|
)
|
44
43
|
|
@@ -58,8 +57,10 @@ class TestCSSISpaceWeather:
|
|
58
57
|
def test_access_daily_prediction_at_success(
|
59
58
|
self, cssi_space_weather: CSSISpaceWeather
|
60
59
|
):
|
61
|
-
prediction: Reading =
|
62
|
-
|
60
|
+
prediction: CSSISpaceWeather.Reading = (
|
61
|
+
cssi_space_weather.access_daily_prediction_at(
|
62
|
+
Instant.date_time(datetime(2023, 8, 3, 0, 0, 0), Scale.UTC)
|
63
|
+
)
|
63
64
|
)
|
64
65
|
|
65
66
|
assert prediction.date.to_string() == "2023-08-03"
|
@@ -78,8 +79,10 @@ class TestCSSISpaceWeather:
|
|
78
79
|
def test_access_monthly_prediction_at_success(
|
79
80
|
self, cssi_space_weather: CSSISpaceWeather
|
80
81
|
):
|
81
|
-
prediction: Reading =
|
82
|
-
|
82
|
+
prediction: CSSISpaceWeather.Reading = (
|
83
|
+
cssi_space_weather.access_monthly_prediction_at(
|
84
|
+
Instant.date_time(datetime(2029, 1, 1, 0, 0, 0), Scale.UTC)
|
85
|
+
)
|
83
86
|
)
|
84
87
|
|
85
88
|
assert prediction.date.to_string() == "2029-01-01"
|
@@ -87,7 +90,7 @@ class TestCSSISpaceWeather:
|
|
87
90
|
assert prediction.f107_obs_center_81 == pytest.approx(83.6)
|
88
91
|
|
89
92
|
def test_access_reading_at_success(self, cssi_space_weather: CSSISpaceWeather):
|
90
|
-
reading: Reading = cssi_space_weather.access_reading_at(
|
93
|
+
reading: CSSISpaceWeather.Reading = cssi_space_weather.access_reading_at(
|
91
94
|
Instant.date_time(datetime(2029, 1, 1, 0, 0, 0), Scale.UTC)
|
92
95
|
)
|
93
96
|
|
@@ -99,7 +102,7 @@ class TestCSSISpaceWeather:
|
|
99
102
|
def test_access_last_reading_where_success(
|
100
103
|
self, cssi_space_weather: CSSISpaceWeather
|
101
104
|
):
|
102
|
-
reading: Reading = cssi_space_weather.access_last_reading_where(
|
105
|
+
reading: CSSISpaceWeather.Reading = cssi_space_weather.access_last_reading_where(
|
103
106
|
lambda reading: reading.f107_data_type == "PRD",
|
104
107
|
Instant.date_time(datetime(2023, 12, 1, 0, 0, 0), Scale.UTC),
|
105
108
|
)
|