tatc 3.2.0__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.
tatc-3.2.0/LICENSE ADDED
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2024, Stevens Institute of Technology
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
tatc-3.2.0/PKG-INFO ADDED
@@ -0,0 +1,158 @@
1
+ Metadata-Version: 2.1
2
+ Name: tatc
3
+ Version: 3.2.0
4
+ Summary: Tradespace Analysis Toolkit for Constellations (TAT-C)
5
+ Author-email: "Paul T. Grogan" <paul.grogan@asu.edu>
6
+ License: BSD License
7
+ Project-URL: Homepage, https://tatc.readthedocs.io
8
+ Project-URL: Repository, https://github.com/code-lab-org/tatc
9
+ Project-URL: Documentation, https://tatc.readthedocs.io
10
+ Project-URL: Issues, https://github.com/code-lab-org/tatc/issues
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Development Status :: 4 - Beta
14
+ Requires-Python: <3.11,>=3.9
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Requires-Dist: geopandas>=0.14
18
+ Requires-Dist: numba
19
+ Requires-Dist: numpy
20
+ Requires-Dist: pandas
21
+ Requires-Dist: pydantic>=2.6
22
+ Requires-Dist: shapely>=2
23
+ Requires-Dist: skyfield>=1.48
24
+ Requires-Dist: sgp4
25
+ Provides-Extra: dev
26
+ Requires-Dist: black[jupyter]>=24.2; extra == "dev"
27
+ Requires-Dist: coverage; extra == "dev"
28
+ Requires-Dist: pylint; extra == "dev"
29
+ Requires-Dist: pylint-pydantic; extra == "dev"
30
+ Requires-Dist: pytest; extra == "dev"
31
+ Provides-Extra: docs
32
+ Requires-Dist: autodoc_pydantic>=2; extra == "docs"
33
+ Requires-Dist: docutils; extra == "docs"
34
+ Requires-Dist: myst-parser; extra == "docs"
35
+ Requires-Dist: nbsphinx; extra == "docs"
36
+ Requires-Dist: sphinx>=7; extra == "docs"
37
+ Requires-Dist: sphinx-rtd-theme; extra == "docs"
38
+ Provides-Extra: examples
39
+ Requires-Dist: ipykernel; extra == "examples"
40
+ Requires-Dist: joblib; extra == "examples"
41
+ Requires-Dist: matplotlib; extra == "examples"
42
+ Provides-Extra: osse
43
+ Requires-Dist: netcdf4; extra == "osse"
44
+ Requires-Dist: pydap; extra == "osse"
45
+ Requires-Dist: rioxarray; extra == "osse"
46
+ Requires-Dist: scipy; extra == "osse"
47
+ Requires-Dist: scikit-learn; extra == "osse"
48
+ Requires-Dist: seaborn; extra == "osse"
49
+ Provides-Extra: app
50
+ Requires-Dist: aiofiles; extra == "app"
51
+ Requires-Dist: aiohttp; extra == "app"
52
+ Requires-Dist: aiosqlite; extra == "app"
53
+ Requires-Dist: celery[librabbitmq,redis]; extra == "app"
54
+ Requires-Dist: fastapi>=0.110.0; extra == "app"
55
+ Requires-Dist: fastapi-users[sqlalchemy]; extra == "app"
56
+ Requires-Dist: geojson-pydantic; extra == "app"
57
+ Requires-Dist: msgpack-asgi; extra == "app"
58
+ Requires-Dist: python-dotenv; extra == "app"
59
+ Requires-Dist: tzlocal; extra == "app"
60
+ Requires-Dist: uvicorn[standard]; extra == "app"
61
+ Provides-Extra: appdev
62
+ Requires-Dist: httpx; extra == "appdev"
63
+
64
+ # Tradespace Analysis Toolkit for Constellations (TAT-C)
65
+
66
+ The Tradespace Analysis Toolkit for Constellations (TAT-C) provides low-level
67
+ data structures and functions for systems engineering analysis and design of
68
+ Earth-observing space missions suitable for pre-Phase A concept studies.
69
+
70
+ Documentation: https://tatc.readthedocs.io
71
+
72
+ Repository: https://github.com/code-lab-org/tatc
73
+
74
+ ## Installation
75
+
76
+ TAT-C uses the pip build system to manage dependencies. Install the tatc library in "editable" mode:
77
+ ```shell
78
+ pip install -e .
79
+ ```
80
+
81
+ Note: the following optional dependencies are available with bracket notation:
82
+ * `pip install -e .[dev]`: for development (unit testing, coverage, and linting)
83
+ * `pip install -e .[docs]`: for generating documentation
84
+ * `pip install -e .[examples]`: for running optional examples
85
+ * `pip install -e .[osse]`: for running optional observing system simulation experiment (OSSE) examples
86
+ * `pip install -e .[app]`: for running the web application
87
+ * `pip install -e .[appdev]`: for development (unit testing) of the web application
88
+
89
+ Multiple optional dependencies can be installed with a comma-separated list (e.g., `pip install -e .[dev,examples]`)
90
+
91
+ ## Development Tools
92
+
93
+ Development tools are applicable when working with the source code.
94
+
95
+ ### Docker and Docker-Compose
96
+
97
+ TAT-C includes a Dockerfile (`Dockerfile`) that specifies build targets for a base runtime (the TAT-C library), an application server, and a distributed task worker.
98
+
99
+ To build images, run:
100
+ ```shell
101
+ docker build -t tatc .
102
+ ```
103
+
104
+ ### Unit Tests
105
+
106
+ Run unit tests with:
107
+ ```shell
108
+ python -m unittest
109
+ ```
110
+
111
+ Optionally, run a test coverage report:
112
+ ```shell
113
+ coverage run -m unittest
114
+ ```
115
+ including html output:
116
+ ```shell
117
+ coverage html
118
+ ```
119
+
120
+ ### Documentation
121
+
122
+ Generate documentation from the `docs` directory using the command:
123
+ ```shell
124
+ make html
125
+ ```
126
+
127
+ ### Code Style
128
+
129
+ This project uses the black code style, applied from the project root:
130
+ ```shell
131
+ black .
132
+ ```
133
+
134
+ ## Contact
135
+
136
+ Paul T. Grogan <paul.grogan@asu.edu>
137
+
138
+ ## Acknowledgements
139
+
140
+ This project was supported in part by the National Aeronautics and Space
141
+ Administration (NASA) Earth Science Division (ESD) Earth Science Technology
142
+ Office (ESTO) Advanced Information Systems Technology (AIST) program under
143
+ grant numbers: NNX17AE06G, 80NSSC17K0586, 80NSSC20K1118, 80NSSC21K1515,
144
+ 80NSSC22K1705 and 80NSSC24K0575 and NASA Jet Propulsion Laboratory
145
+ contracts: 1074657, 1689594, 1686623, 1705655.
146
+
147
+ Current Project Team
148
+ * PI: Paul T. Grogan <paul.grogan@asu.edu>
149
+ * I. Josue Tapia-Tamayo <josue.tapia@asu.edu>
150
+ * Suvan Kumar <skuma208@asu.edu>
151
+
152
+ Project Alumni
153
+ * Isaac Feldman
154
+ * Hayden Daly
155
+ * Lindsay Portelli
156
+ * Matthew Sabatini
157
+ * Evan Abel
158
+ * Sigfried Hache
tatc-3.2.0/README.md ADDED
@@ -0,0 +1,95 @@
1
+ # Tradespace Analysis Toolkit for Constellations (TAT-C)
2
+
3
+ The Tradespace Analysis Toolkit for Constellations (TAT-C) provides low-level
4
+ data structures and functions for systems engineering analysis and design of
5
+ Earth-observing space missions suitable for pre-Phase A concept studies.
6
+
7
+ Documentation: https://tatc.readthedocs.io
8
+
9
+ Repository: https://github.com/code-lab-org/tatc
10
+
11
+ ## Installation
12
+
13
+ TAT-C uses the pip build system to manage dependencies. Install the tatc library in "editable" mode:
14
+ ```shell
15
+ pip install -e .
16
+ ```
17
+
18
+ Note: the following optional dependencies are available with bracket notation:
19
+ * `pip install -e .[dev]`: for development (unit testing, coverage, and linting)
20
+ * `pip install -e .[docs]`: for generating documentation
21
+ * `pip install -e .[examples]`: for running optional examples
22
+ * `pip install -e .[osse]`: for running optional observing system simulation experiment (OSSE) examples
23
+ * `pip install -e .[app]`: for running the web application
24
+ * `pip install -e .[appdev]`: for development (unit testing) of the web application
25
+
26
+ Multiple optional dependencies can be installed with a comma-separated list (e.g., `pip install -e .[dev,examples]`)
27
+
28
+ ## Development Tools
29
+
30
+ Development tools are applicable when working with the source code.
31
+
32
+ ### Docker and Docker-Compose
33
+
34
+ TAT-C includes a Dockerfile (`Dockerfile`) that specifies build targets for a base runtime (the TAT-C library), an application server, and a distributed task worker.
35
+
36
+ To build images, run:
37
+ ```shell
38
+ docker build -t tatc .
39
+ ```
40
+
41
+ ### Unit Tests
42
+
43
+ Run unit tests with:
44
+ ```shell
45
+ python -m unittest
46
+ ```
47
+
48
+ Optionally, run a test coverage report:
49
+ ```shell
50
+ coverage run -m unittest
51
+ ```
52
+ including html output:
53
+ ```shell
54
+ coverage html
55
+ ```
56
+
57
+ ### Documentation
58
+
59
+ Generate documentation from the `docs` directory using the command:
60
+ ```shell
61
+ make html
62
+ ```
63
+
64
+ ### Code Style
65
+
66
+ This project uses the black code style, applied from the project root:
67
+ ```shell
68
+ black .
69
+ ```
70
+
71
+ ## Contact
72
+
73
+ Paul T. Grogan <paul.grogan@asu.edu>
74
+
75
+ ## Acknowledgements
76
+
77
+ This project was supported in part by the National Aeronautics and Space
78
+ Administration (NASA) Earth Science Division (ESD) Earth Science Technology
79
+ Office (ESTO) Advanced Information Systems Technology (AIST) program under
80
+ grant numbers: NNX17AE06G, 80NSSC17K0586, 80NSSC20K1118, 80NSSC21K1515,
81
+ 80NSSC22K1705 and 80NSSC24K0575 and NASA Jet Propulsion Laboratory
82
+ contracts: 1074657, 1689594, 1686623, 1705655.
83
+
84
+ Current Project Team
85
+ * PI: Paul T. Grogan <paul.grogan@asu.edu>
86
+ * I. Josue Tapia-Tamayo <josue.tapia@asu.edu>
87
+ * Suvan Kumar <skuma208@asu.edu>
88
+
89
+ Project Alumni
90
+ * Isaac Feldman
91
+ * Hayden Daly
92
+ * Lindsay Portelli
93
+ * Matthew Sabatini
94
+ * Evan Abel
95
+ * Sigfried Hache
@@ -0,0 +1,94 @@
1
+ [build-system]
2
+ requires = [
3
+ "setuptools >= 57.0.0",
4
+ "wheel"
5
+ ]
6
+ build-backend = "setuptools.build_meta"
7
+
8
+ [project]
9
+ name = "tatc"
10
+ description = "Tradespace Analysis Toolkit for Constellations (TAT-C)"
11
+ authors = [
12
+ {name = "Paul T. Grogan", email = "paul.grogan@asu.edu"}
13
+ ]
14
+ readme = "README.md"
15
+ requires-python = ">=3.9, <3.11"
16
+ license = {text = "BSD License"}
17
+ classifiers = [
18
+ "Programming Language :: Python :: 3",
19
+ "Operating System :: OS Independent",
20
+ "Development Status :: 4 - Beta"
21
+ ]
22
+ dependencies = [
23
+ "geopandas >= 0.14",
24
+ "numba",
25
+ "numpy",
26
+ "pandas",
27
+ "pydantic >= 2.6",
28
+ "shapely >= 2",
29
+ "skyfield >= 1.48",
30
+ "sgp4"
31
+ ]
32
+ dynamic = ["version"]
33
+
34
+ [project.urls]
35
+ Homepage = "https://tatc.readthedocs.io"
36
+ Repository = "https://github.com/code-lab-org/tatc"
37
+ Documentation = "https://tatc.readthedocs.io"
38
+ Issues = "https://github.com/code-lab-org/tatc/issues"
39
+
40
+ [tool.setuptools.packages.find]
41
+ where = ["src"]
42
+ exclude = ["tests."]
43
+
44
+ [tool.setuptools.package-data]
45
+ "tatc" = ["resources/*.bsp"]
46
+
47
+ [project.optional-dependencies]
48
+ dev = [
49
+ "black[jupyter] >= 24.2",
50
+ "coverage",
51
+ "pylint",
52
+ "pylint-pydantic",
53
+ "pytest"
54
+ ]
55
+ docs = [
56
+ "autodoc_pydantic >= 2",
57
+ "docutils",
58
+ "myst-parser",
59
+ "nbsphinx",
60
+ "sphinx >= 7",
61
+ "sphinx-rtd-theme"
62
+ ]
63
+ examples = [
64
+ "ipykernel",
65
+ "joblib",
66
+ "matplotlib"
67
+ ]
68
+ osse = [
69
+ "netcdf4",
70
+ "pydap",
71
+ "rioxarray",
72
+ "scipy",
73
+ "scikit-learn",
74
+ "seaborn"
75
+ ]
76
+ app = [
77
+ "aiofiles",
78
+ "aiohttp",
79
+ "aiosqlite",
80
+ "celery[librabbitmq,redis]",
81
+ "fastapi >= 0.110.0",
82
+ "fastapi-users[sqlalchemy]",
83
+ "geojson-pydantic",
84
+ "msgpack-asgi",
85
+ "python-dotenv",
86
+ "tzlocal",
87
+ "uvicorn[standard]"
88
+ ]
89
+ appdev = [
90
+ "httpx"
91
+ ]
92
+
93
+ [tool.setuptools.dynamic]
94
+ version = {attr = "tatc.__version__"}
tatc-3.2.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,12 @@
1
+ """
2
+ Tradespace Analysis Toolkit for Constellations (TAT-C)
3
+ """
4
+
5
+ from . import analysis
6
+ from . import generation
7
+ from . import schemas
8
+ from . import constants
9
+ from . import utils
10
+ from . import resources
11
+
12
+ __version__ = "3.2.0"
@@ -0,0 +1,25 @@
1
+ """
2
+ Defines analysis functions.
3
+ """
4
+
5
+ from .coverage import (
6
+ collect_observations,
7
+ collect_multi_observations,
8
+ aggregate_observations,
9
+ reduce_observations,
10
+ grid_observations,
11
+ )
12
+ from .track import (
13
+ collect_orbit_track,
14
+ collect_ground_track,
15
+ compute_ground_track,
16
+ OrbitCoordinate,
17
+ OrbitOutput,
18
+ )
19
+ from .latency import (
20
+ collect_downlinks,
21
+ compute_latencies,
22
+ reduce_latencies,
23
+ grid_latencies,
24
+ )
25
+ from .dop import compute_dop, DopMethod