aresys_io 0.0.0.dev0__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.
- aresys_io-0.0.0.dev0/.gitignore +197 -0
- aresys_io-0.0.0.dev0/LICENSE.txt +21 -0
- aresys_io-0.0.0.dev0/PKG-INFO +78 -0
- aresys_io-0.0.0.dev0/README.md +14 -0
- aresys_io-0.0.0.dev0/docs/.gitignore +1 -0
- aresys_io-0.0.0.dev0/docs/about/build.template.md +13 -0
- aresys_io-0.0.0.dev0/docs/assets/favicon.png +0 -0
- aresys_io-0.0.0.dev0/docs/assets/images/pf_layout.png +0 -0
- aresys_io-0.0.0.dev0/docs/changelog.md +26 -0
- aresys_io-0.0.0.dev0/docs/documentation/point_target/api.md +18 -0
- aresys_io-0.0.0.dev0/docs/documentation/point_target/index.md +111 -0
- aresys_io-0.0.0.dev0/docs/documentation/point_target/quickstart.md +162 -0
- aresys_io-0.0.0.dev0/docs/documentation/point_target/usage.md +225 -0
- aresys_io-0.0.0.dev0/docs/documentation/product_folder/api.md +33 -0
- aresys_io-0.0.0.dev0/docs/documentation/product_folder/index.md +158 -0
- aresys_io-0.0.0.dev0/docs/documentation/product_folder/quickstart.md +300 -0
- aresys_io-0.0.0.dev0/docs/documentation/product_folder/usage.md +474 -0
- aresys_io-0.0.0.dev0/docs/documentation/sarsystem/api.md +14 -0
- aresys_io-0.0.0.dev0/docs/documentation/sarsystem/index.md +13 -0
- aresys_io-0.0.0.dev0/docs/index.md +45 -0
- aresys_io-0.0.0.dev0/docs/install.md +26 -0
- aresys_io-0.0.0.dev0/docs/javascripts/katex.js +10 -0
- aresys_io-0.0.0.dev0/pyproject.toml +102 -0
- aresys_io-0.0.0.dev0/src/aresys_io/__init__.py +6 -0
- aresys_io-0.0.0.dev0/src/aresys_io/core/__init__.py +8 -0
- aresys_io-0.0.0.dev0/src/aresys_io/core/debugio.py +65 -0
- aresys_io-0.0.0.dev0/src/aresys_io/core/parsing.py +134 -0
- aresys_io-0.0.0.dev0/src/aresys_io/core/raster_io.py +618 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/__init__.py +8 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/__init__.py +12 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/channel.py +933 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/create_attitude.py +37 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/create_orbit.py +30 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/elements.py +795 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/io.py +85 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/models/__init__.py +90 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/models/aresys_generic_metadata.py +214 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/models/aresys_types.py +2901 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/polynomials.py +420 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/raster_io_from_metadata.py +304 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/metadata/translate.py +1880 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/pf/__init__.py +9 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/pf/channel_iteration.py +134 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/pf/layout.py +160 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/pf/manifest.py +97 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/pf/product_folder.py +571 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/point_target/__init__.py +7 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/point_target/nominal_point_targets.py +94 -0
- aresys_io-0.0.0.dev0/src/aresys_io/product/point_target/point_target_binary.py +442 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/__init__.py +16 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/models/__init__.py +56 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/models/swath_parameter_table.py +118 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/models/time_line_table.py +319 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/models/trajectory_file.py +333 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/sat_table.py +30 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/sat_table_read.py +82 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/swathtable.py +92 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/swathtable_read.py +41 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/swathtable_write.py +87 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/timeline_table.py +278 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/timeline_table_read.py +17 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/timeline_table_write.py +120 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/trajectory.py +355 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/trajectory_read.py +102 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/trajectory_write.py +253 -0
- aresys_io-0.0.0.dev0/src/aresys_io/sarsystem/utils.py +122 -0
- aresys_io-0.0.0.dev0/tests/__init__.py +4 -0
- aresys_io-0.0.0.dev0/tests/core/__init__.py +4 -0
- aresys_io-0.0.0.dev0/tests/core/test_debugio.py +75 -0
- aresys_io-0.0.0.dev0/tests/core/test_parsing.py +195 -0
- aresys_io-0.0.0.dev0/tests/core/test_raster_io.py +740 -0
- aresys_io-0.0.0.dev0/tests/product/__init__.py +4 -0
- aresys_io-0.0.0.dev0/tests/product/pf/__init__.py +4 -0
- aresys_io-0.0.0.dev0/tests/product/pf/test_channel_iteration.py +375 -0
- aresys_io-0.0.0.dev0/tests/product/pf/test_manifest.py +76 -0
- aresys_io-0.0.0.dev0/tests/product/pf/test_product_folder_layout.py +126 -0
- aresys_io-0.0.0.dev0/tests/product/pf/test_productfolder.py +635 -0
- aresys_io-0.0.0.dev0/tests/product/point_target/__init__.py +4 -0
- aresys_io-0.0.0.dev0/tests/product/point_target/test_nominal_point_targets.py +170 -0
- aresys_io-0.0.0.dev0/tests/product/point_target/test_point_target_binary.py +307 -0
- aresys_io-0.0.0.dev0/tests/product/product_metadata/__init__.py +4 -0
- aresys_io-0.0.0.dev0/tests/product/product_metadata/test_create_attitude.py +54 -0
- aresys_io-0.0.0.dev0/tests/product/product_metadata/test_create_orbit.py +49 -0
- aresys_io-0.0.0.dev0/tests/product/product_metadata/test_elements.py +56 -0
- aresys_io-0.0.0.dev0/tests/product/product_metadata/test_io.py +106 -0
- aresys_io-0.0.0.dev0/tests/product/product_metadata/test_metadata.py +224 -0
- aresys_io-0.0.0.dev0/tests/product/product_metadata/test_parsing.py +377 -0
- aresys_io-0.0.0.dev0/tests/product/product_metadata/test_polynomials.py +668 -0
- aresys_io-0.0.0.dev0/tests/product/product_metadata/test_raster_io_from_metadata.py +204 -0
- aresys_io-0.0.0.dev0/tests/product/product_metadata/test_translate.py +2341 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/__init__.py +4 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/AcquisitionModes/StripmapSM/TimelineTable.xml +43 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_RX/ANT_AZ_RX_0001 +0 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_RX/ANT_AZ_RX_0001.xml +27 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_RX/ANT_AZ_RX_0002 +0 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_RX/ANT_AZ_RX_0002.xml +27 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_RX/aresys_product +4 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_TX/ANT_AZ_TX_0001 +0 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_TX/ANT_AZ_TX_0001.xml +27 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_TX/ANT_AZ_TX_0002 +0 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_TX/ANT_AZ_TX_0002.xml +27 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_TX/aresys_product +4 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_RX/ANT_RG_RX_0001 +0 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_RX/ANT_RG_RX_0001.xml +27 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_RX/ANT_RG_RX_0002 +0 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_RX/ANT_RG_RX_0002.xml +27 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_RX/aresys_product +4 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_TX/ANT_RG_TX_0001 +0 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_TX/ANT_RG_TX_0001.xml +27 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_TX/ANT_RG_TX_0002 +0 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_TX/ANT_RG_TX_0002.xml +27 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_TX/aresys_product +4 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Chirp/Chirp_0001 +0 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Chirp/Chirp_0001.xml +46 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Chirp/aresys_product +4 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/SwathParameterTable.xml +19 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Trajectory/Trajectory.xml +298 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/test_read_sat_table.py +58 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/test_read_swath_table.py +58 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/test_read_timeline_table.py +32 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/test_read_trajectory.py +57 -0
- aresys_io-0.0.0.dev0/tests/sarsystem/test_write_sarsystem_files.py +60 -0
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# poetry
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
102
|
+
#poetry.lock
|
|
103
|
+
|
|
104
|
+
# pdm
|
|
105
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
106
|
+
#pdm.lock
|
|
107
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
108
|
+
# in version control.
|
|
109
|
+
# https://pdm-project.org/#use-with-ide
|
|
110
|
+
.pdm.toml
|
|
111
|
+
.pdm-python
|
|
112
|
+
.pdm-build/
|
|
113
|
+
pdm.lock
|
|
114
|
+
|
|
115
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
116
|
+
__pypackages__/
|
|
117
|
+
|
|
118
|
+
# Celery stuff
|
|
119
|
+
celerybeat-schedule
|
|
120
|
+
celerybeat.pid
|
|
121
|
+
|
|
122
|
+
# SageMath parsed files
|
|
123
|
+
*.sage.py
|
|
124
|
+
|
|
125
|
+
# Environments
|
|
126
|
+
.env
|
|
127
|
+
.venv
|
|
128
|
+
env/
|
|
129
|
+
venv/
|
|
130
|
+
ENV/
|
|
131
|
+
env.bak/
|
|
132
|
+
venv.bak/
|
|
133
|
+
|
|
134
|
+
# Spyder project settings
|
|
135
|
+
.spyderproject
|
|
136
|
+
.spyproject
|
|
137
|
+
|
|
138
|
+
# Rope project settings
|
|
139
|
+
.ropeproject
|
|
140
|
+
|
|
141
|
+
# mkdocs documentation
|
|
142
|
+
/site
|
|
143
|
+
|
|
144
|
+
# mypy
|
|
145
|
+
.mypy_cache/
|
|
146
|
+
.dmypy.json
|
|
147
|
+
dmypy.json
|
|
148
|
+
|
|
149
|
+
# Pyre type checker
|
|
150
|
+
.pyre/
|
|
151
|
+
|
|
152
|
+
# pytype static type analyzer
|
|
153
|
+
.pytype/
|
|
154
|
+
|
|
155
|
+
# Cython debug symbols
|
|
156
|
+
cython_debug/
|
|
157
|
+
|
|
158
|
+
# PyCharm
|
|
159
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
160
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
161
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
162
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
163
|
+
#.idea/
|
|
164
|
+
|
|
165
|
+
# Distribution / packaging
|
|
166
|
+
build/
|
|
167
|
+
_build/
|
|
168
|
+
dist/
|
|
169
|
+
*.egg-info/
|
|
170
|
+
.ipynb_checkpoints/
|
|
171
|
+
.nox
|
|
172
|
+
|
|
173
|
+
# Pyenv
|
|
174
|
+
.python-version
|
|
175
|
+
|
|
176
|
+
# VS Code project settings
|
|
177
|
+
.vscode
|
|
178
|
+
|
|
179
|
+
# PyCharm project settings
|
|
180
|
+
.idea
|
|
181
|
+
|
|
182
|
+
# Spyder project settings
|
|
183
|
+
.spyproject
|
|
184
|
+
|
|
185
|
+
# Environments
|
|
186
|
+
venv*
|
|
187
|
+
|
|
188
|
+
# Docker
|
|
189
|
+
docker-compose.yml
|
|
190
|
+
Dockerfile
|
|
191
|
+
.devcontainer
|
|
192
|
+
|
|
193
|
+
# Other
|
|
194
|
+
*.bak
|
|
195
|
+
.coverage
|
|
196
|
+
htmlcov
|
|
197
|
+
*.svg
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (C) Aresys S.r.l. <info@aresys.it>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: aresys_io
|
|
3
|
+
Version: 0.0.0.dev0
|
|
4
|
+
Summary: Python library for reading and writing Aresys EO/SAR product formats.
|
|
5
|
+
Project-URL: Homepage, https://github.com/aresys-srl/aresys_io
|
|
6
|
+
Project-URL: Repository, https://github.com/aresys-srl/aresys_io
|
|
7
|
+
Project-URL: Documentation, https://opensource.aresys.it/aresys_io
|
|
8
|
+
Author-email: "Aresys S.R.L." <info@aresys.it>
|
|
9
|
+
License: MIT License
|
|
10
|
+
|
|
11
|
+
Copyright (C) Aresys S.r.l. <info@aresys.it>
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
30
|
+
License-File: LICENSE.txt
|
|
31
|
+
Classifier: Development Status :: 3 - Alpha
|
|
32
|
+
Classifier: Intended Audience :: Developers
|
|
33
|
+
Classifier: Intended Audience :: Education
|
|
34
|
+
Classifier: Intended Audience :: Science/Research
|
|
35
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
36
|
+
Classifier: Natural Language :: English
|
|
37
|
+
Classifier: Operating System :: OS Independent
|
|
38
|
+
Classifier: Programming Language :: Python
|
|
39
|
+
Classifier: Programming Language :: Python :: 3
|
|
40
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
41
|
+
Classifier: Topic :: Scientific/Engineering
|
|
42
|
+
Classifier: Topic :: Utilities
|
|
43
|
+
Classifier: Typing :: Typed
|
|
44
|
+
Requires-Python: >=3.11
|
|
45
|
+
Requires-Dist: lxml
|
|
46
|
+
Requires-Dist: numpy>2
|
|
47
|
+
Requires-Dist: numpydantic
|
|
48
|
+
Requires-Dist: perseo-core
|
|
49
|
+
Requires-Dist: pydantic
|
|
50
|
+
Requires-Dist: scipy
|
|
51
|
+
Requires-Dist: xsdata>=26.2
|
|
52
|
+
Provides-Extra: dev
|
|
53
|
+
Requires-Dist: ruff>=0.16.7; extra == 'dev'
|
|
54
|
+
Provides-Extra: docs
|
|
55
|
+
Requires-Dist: mkdocstrings-python; extra == 'docs'
|
|
56
|
+
Requires-Dist: zensical; extra == 'docs'
|
|
57
|
+
Provides-Extra: test
|
|
58
|
+
Requires-Dist: pytest; extra == 'test'
|
|
59
|
+
Requires-Dist: pytest-cov; extra == 'test'
|
|
60
|
+
Provides-Extra: typecheck
|
|
61
|
+
Requires-Dist: pyrefly==1.1.0; extra == 'typecheck'
|
|
62
|
+
Requires-Dist: scipy-stubs; extra == 'typecheck'
|
|
63
|
+
Description-Content-Type: text/markdown
|
|
64
|
+
|
|
65
|
+
# aresys_io README
|
|
66
|
+
|
|
67
|
+
Python library for reading and writing Aresys EO/SAR product formats.
|
|
68
|
+
|
|
69
|
+
## Installation
|
|
70
|
+
|
|
71
|
+
This package can be installed using ``pip``:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
pip install aresys_io
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
This project uses Hatchling building backend.
|
|
78
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# aresys_io README
|
|
2
|
+
|
|
3
|
+
Python library for reading and writing Aresys EO/SAR product formats.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
This package can be installed using ``pip``:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
pip install aresys_io
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
This project uses Hatchling building backend.
|
|
14
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
build.md
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
icon: lucide/history
|
|
3
|
+
title: "Changelog"
|
|
4
|
+
tags:
|
|
5
|
+
- changelog
|
|
6
|
+
- release notes
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Changelog
|
|
10
|
+
|
|
11
|
+
## v1.1.1
|
|
12
|
+
|
|
13
|
+
**Other changes**
|
|
14
|
+
|
|
15
|
+
- Improving `MetaDataChannel` and `MetaData` classes with ``__contains__`` methods.
|
|
16
|
+
- Vectorized Polynomials evaluation in range and separating input azimuth and range values.
|
|
17
|
+
|
|
18
|
+
## v1.1.0
|
|
19
|
+
|
|
20
|
+
First public release.
|
|
21
|
+
|
|
22
|
+
The interface has been reviewed and updated.
|
|
23
|
+
|
|
24
|
+
## v1.0.0
|
|
25
|
+
|
|
26
|
+
First beta release.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
icon: fontawesome/brands/python
|
|
3
|
+
title: "API"
|
|
4
|
+
tags:
|
|
5
|
+
- point targets
|
|
6
|
+
- simulation
|
|
7
|
+
- e2e
|
|
8
|
+
- API
|
|
9
|
+
- python
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Point Target Binary
|
|
13
|
+
|
|
14
|
+
::: aresys_io.product.point_target.point_target_binary
|
|
15
|
+
|
|
16
|
+
## Nominal Point Targets
|
|
17
|
+
|
|
18
|
+
::: aresys_io.product.point_target.nominal_point_targets
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
icon: lucide/crosshair
|
|
3
|
+
title: "Point Target Binary"
|
|
4
|
+
tags:
|
|
5
|
+
- point target
|
|
6
|
+
- simulation
|
|
7
|
+
- e2e
|
|
8
|
+
- calibration
|
|
9
|
+
- python
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Point Target Binary { #targets data-toc-label="Point Target" }
|
|
13
|
+
|
|
14
|
+
The **Point Target Binary** format is the official Aresys format for storing and organizing artificial or real
|
|
15
|
+
point targets used throughout SAR simulation and calibration processing chains.
|
|
16
|
+
|
|
17
|
+
Each target is defined by its 3D spatial coordinates and its full polarimetric radar cross section (RCS). The format
|
|
18
|
+
stores discrete radar reflectors (such as corner reflectors, active radar calibrators, or synthetic point scatterers) and
|
|
19
|
+
it's mainly used in SAR end-to-end (E2E) simulators, performance assessment, and impulse response function (IRF) analysis.
|
|
20
|
+
|
|
21
|
+
Managing and working with this format is handled directly via `aresys_io.product` or in the dedicated module `aresys_io.product.point_target`.
|
|
22
|
+
Common operations include:
|
|
23
|
+
|
|
24
|
+
- creating and writing Point Target Binary products
|
|
25
|
+
- reading point target coordinates and polarimetric RCS values
|
|
26
|
+
- chunked and windowed reading for large simulation datasets
|
|
27
|
+
- memory-mapped access for zero-copy, efficient streaming of large scatterer fields
|
|
28
|
+
- converting arrays to structured nominal point target objects
|
|
29
|
+
|
|
30
|
+
## Product Structure
|
|
31
|
+
|
|
32
|
+
A Point Target Binary product is physically organized as a **folder** containing a fixed set of binary raster files
|
|
33
|
+
accompanied by corresponding XML metadata files.
|
|
34
|
+
|
|
35
|
+
A complete point target product consists of **7 binary raster files** and **7 matching XML annotation files**:
|
|
36
|
+
|
|
37
|
+
- **3 Coordinates rasters & metadata**: one for each spatial dimension ($X$, $Y$, and $Z$) in Cartesian coordinates (typically ECEF).
|
|
38
|
+
- **4 Radar Cross Section (RCS) rasters & metadata**: one for each linear polarization channel ($HH$, $HV$, $VH$, and $VV$) representing the complex scattering matrix.
|
|
39
|
+
|
|
40
|
+
Each binary file represents a 1D column raster containing the respective value for every point target in the dataset.
|
|
41
|
+
|
|
42
|
+
## Point Target Binary at a Glance
|
|
43
|
+
|
|
44
|
+
From a structural point of view, a Point Target Binary product folder is organized as follows:
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
Point Target Folder/
|
|
48
|
+
├── PointTargetPosX # X coordinate binary raster
|
|
49
|
+
├── PointTargetPosX.xml # X coordinate metadata
|
|
50
|
+
├── PointTargetPosY # Y coordinate binary raster
|
|
51
|
+
├── PointTargetPosY.xml # Y coordinate metadata
|
|
52
|
+
├── PointTargetPosZ # Z coordinate binary raster
|
|
53
|
+
├── PointTargetPosZ.xml # Z coordinate metadata
|
|
54
|
+
├── PointTargetRCSHH # HH polarization complex RCS binary raster
|
|
55
|
+
├── PointTargetRCSHH.xml # HH polarization metadata
|
|
56
|
+
├── PointTargetRCSHV # HV polarization complex RCS binary raster
|
|
57
|
+
├── PointTargetRCSHV.xml # HV polarization metadata
|
|
58
|
+
├── PointTargetRCSVH # VH polarization complex RCS binary raster
|
|
59
|
+
├── PointTargetRCSVH.xml # VH polarization metadata
|
|
60
|
+
├── PointTargetRCSVV # VV polarization complex RCS binary raster
|
|
61
|
+
└── PointTargetRCSVV.xml # VV polarization metadata
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
All 7 raster files share the exact same number of lines ($N$, corresponding to the total number of point targets) and have
|
|
65
|
+
a single sample per line (`samples = 1`).
|
|
66
|
+
|
|
67
|
+
## Product Components
|
|
68
|
+
|
|
69
|
+
### Coordinates Rasters and Metadata
|
|
70
|
+
|
|
71
|
+
The **coordinates rasters** store the 3D position vector for each point target:
|
|
72
|
+
|
|
73
|
+
- `PointTargetPosX`: $X$ coordinate in meters.
|
|
74
|
+
- `PointTargetPosY`: $Y$ coordinate in meters.
|
|
75
|
+
- `PointTargetPosZ`: $Z$ coordinate in meters.
|
|
76
|
+
|
|
77
|
+
Positions are stored as floating-point values, using either single precision (`FLOAT32`) or double precision (`FLOAT64`).
|
|
78
|
+
Each raster has an associated XML annotation file containing a `RasterInfo` element describing the data layout, cell type,
|
|
79
|
+
number of lines ($N$), and byte order.
|
|
80
|
+
|
|
81
|
+
### RCS Rasters and Metadata
|
|
82
|
+
|
|
83
|
+
The **RCS rasters** store the complex scattering coefficients representing the full polarimetric scattering matrix for
|
|
84
|
+
each point target:
|
|
85
|
+
|
|
86
|
+
- `PointTargetRCSHH`: Horizontal transmit, Horizontal receive ($S_{HH}$).
|
|
87
|
+
- `PointTargetRCSHV`: Vertical transmit, Horizontal receive ($S_{HV}$).
|
|
88
|
+
- `PointTargetRCSVH`: Horizontal transmit, Vertical receive ($S_{VH}$).
|
|
89
|
+
- `PointTargetRCSVV`: Vertical transmit, Vertical receive ($S_{VV}$).
|
|
90
|
+
|
|
91
|
+
Scattering values are stored as complex numbers, using either single-precision complex (`FLOAT_COMPLEX`) or double-precision
|
|
92
|
+
complex (`DOUBLE_COMPLEX`). The corresponding XML files provide standard Aresys metadata for each polarization channel.
|
|
93
|
+
|
|
94
|
+
### Consistency Requirements
|
|
95
|
+
|
|
96
|
+
When opening a Point Target Binary product in read mode:
|
|
97
|
+
|
|
98
|
+
1. The folder must exist and be a valid directory.
|
|
99
|
+
2. All 7 binary raster files and all 7 XML metadata files must be present.
|
|
100
|
+
3. Every metadata file must specify `samples = 1`.
|
|
101
|
+
4. The number of lines (`lines`) must be consistent across all 7 metadata files, defining the total number of targets.
|
|
102
|
+
|
|
103
|
+
## High-Level Representation: Nominal Point Targets
|
|
104
|
+
|
|
105
|
+
While the binary product stores tabular data in separate rasters for performance and fast column access, `aresys_io`
|
|
106
|
+
also provides a high-level Python representation:
|
|
107
|
+
|
|
108
|
+
- `NominalPointTarget`: A dataclass encapsulating an individual target's 3D position vector ($X, Y, Z$), complex polarimetric
|
|
109
|
+
scattering coefficients ($S_{HH}, S_{HV}, S_{VH}, S_{VV}$), and an optional delay.
|
|
110
|
+
- `convert_array_to_point_target_structure()`: A conversion utility to transform raw coordinate and RCS arrays into a
|
|
111
|
+
keyed dictionary of `NominalPointTarget` instances.
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
---
|
|
2
|
+
icon: lucide/zap
|
|
3
|
+
title: "Quickstart"
|
|
4
|
+
tags:
|
|
5
|
+
- point target
|
|
6
|
+
- simulation
|
|
7
|
+
- e2e
|
|
8
|
+
- python
|
|
9
|
+
- quickstart
|
|
10
|
+
- example
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Quickstart example
|
|
14
|
+
|
|
15
|
+
The following is a complete, runnable example that demonstrates all the functionalities described in the previous
|
|
16
|
+
sections. Copy it into a Python file and run it to start working with Point Target Binary products.
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
import shutil
|
|
20
|
+
from pathlib import Path
|
|
21
|
+
|
|
22
|
+
import numpy as np
|
|
23
|
+
|
|
24
|
+
from aresys_io.product import (
|
|
25
|
+
PointSetProduct,
|
|
26
|
+
convert_array_to_point_target_structure,
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
PRODUCT_PATH = Path("example_point_targets")
|
|
30
|
+
NUM_TARGETS = 10
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# -----------------------------------------------------------------------------
|
|
34
|
+
# 1. Synthesize point target data
|
|
35
|
+
# -----------------------------------------------------------------------------
|
|
36
|
+
|
|
37
|
+
print(f"Synthesizing {NUM_TARGETS} point targets...")
|
|
38
|
+
|
|
39
|
+
# Target coordinates: (N, 3) in Cartesian / ECEF coordinates [X, Y, Z]
|
|
40
|
+
base_coord = np.array([2197913.48, 1102055.64, 5865641.61])
|
|
41
|
+
offsets = np.arange(NUM_TARGETS)[:, np.newaxis] * 100.0
|
|
42
|
+
coords = base_coord + offsets
|
|
43
|
+
|
|
44
|
+
# Polarimetric RCS: (N, 4) complex scattering values [HH, HV, VH, VV]
|
|
45
|
+
# Simulating trihedral corner reflectors (co-pol = 1.0, cross-pol = 0.0)
|
|
46
|
+
rcs = np.zeros((NUM_TARGETS, 4), dtype=np.complex128)
|
|
47
|
+
rcs[:, 0] = 1.0 + 0.0j # HH
|
|
48
|
+
rcs[:, 1] = 0.0 + 0.0j # HV
|
|
49
|
+
rcs[:, 2] = 0.0 + 0.0j # VH
|
|
50
|
+
rcs[:, 3] = 1.0 + 0.0j # VV
|
|
51
|
+
|
|
52
|
+
print(f"Coordinates shape: {coords.shape}")
|
|
53
|
+
print(f"RCS shape: {rcs.shape}")
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
# -----------------------------------------------------------------------------
|
|
57
|
+
# 2. Write Point Target Binary product
|
|
58
|
+
# -----------------------------------------------------------------------------
|
|
59
|
+
|
|
60
|
+
print(f"\nWriting Point Target Binary product to: {PRODUCT_PATH.resolve()}")
|
|
61
|
+
|
|
62
|
+
prod_writer = PointSetProduct(PRODUCT_PATH, open_mode="w")
|
|
63
|
+
prod_writer.write_data(
|
|
64
|
+
coords=coords,
|
|
65
|
+
rcs=rcs,
|
|
66
|
+
coords_data_type="FLOAT64",
|
|
67
|
+
rcs_data_type="FLOAT_COMPLEX",
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
print("Product successfully created.")
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
# -----------------------------------------------------------------------------
|
|
74
|
+
# 3. Open and inspect product in read mode
|
|
75
|
+
# -----------------------------------------------------------------------------
|
|
76
|
+
|
|
77
|
+
print("\nOpening product in read mode...")
|
|
78
|
+
|
|
79
|
+
prod_reader = PointSetProduct(PRODUCT_PATH, open_mode="r")
|
|
80
|
+
|
|
81
|
+
print(f"Product path: {prod_reader.product_path}")
|
|
82
|
+
print(f"Number of targets: {prod_reader.number_of_targets}")
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
# -----------------------------------------------------------------------------
|
|
86
|
+
# 4. Read all data
|
|
87
|
+
# -----------------------------------------------------------------------------
|
|
88
|
+
|
|
89
|
+
print("\nReading all point target data...")
|
|
90
|
+
|
|
91
|
+
read_coords, read_rcs = prod_reader.read_data()
|
|
92
|
+
|
|
93
|
+
print(f"Read coordinates shape: {read_coords.shape}, dtype: {read_coords.dtype}")
|
|
94
|
+
print(f"Read RCS shape: {read_rcs.shape}, dtype: {read_rcs.dtype}")
|
|
95
|
+
print(f"First target position: {read_coords[0]}")
|
|
96
|
+
print(f"First target RCS: HH={read_rcs[0, 0]}, VV={read_rcs[0, 3]}")
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
# -----------------------------------------------------------------------------
|
|
100
|
+
# 5. Windowed / subset reading
|
|
101
|
+
# -----------------------------------------------------------------------------
|
|
102
|
+
|
|
103
|
+
print("\nReading a subset of targets (windowed read)...")
|
|
104
|
+
|
|
105
|
+
sub_coords, sub_rcs = prod_reader.read_data(start=2, num_points=4)
|
|
106
|
+
|
|
107
|
+
print(f"Subset coordinates shape: {sub_coords.shape}")
|
|
108
|
+
print(f"Subset RCS shape: {sub_rcs.shape}")
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
# -----------------------------------------------------------------------------
|
|
112
|
+
# 6. Memory-mapped reading
|
|
113
|
+
# -----------------------------------------------------------------------------
|
|
114
|
+
|
|
115
|
+
print("\nStreaming targets via memory mapping...")
|
|
116
|
+
|
|
117
|
+
with prod_reader.read_data_as_memmap() as (coords_mm, rcs_mm):
|
|
118
|
+
print(f"X coordinate memmap shape: {coords_mm.x.shape}")
|
|
119
|
+
print(f"HH RCS memmap shape: {rcs_mm.HH.shape}")
|
|
120
|
+
|
|
121
|
+
# Access elements directly on disk without allocating full arrays
|
|
122
|
+
for i in range(3):
|
|
123
|
+
print(
|
|
124
|
+
f"Target {i}: Pos=({coords_mm.x[i, 0]:.2f}, {coords_mm.y[i, 0]:.2f}, {coords_mm.z[i, 0]:.2f}) "
|
|
125
|
+
f"| HH={rcs_mm.HH[i, 0]}"
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
# -----------------------------------------------------------------------------
|
|
130
|
+
# 7. Convert to structured NominalPointTarget objects
|
|
131
|
+
# -----------------------------------------------------------------------------
|
|
132
|
+
|
|
133
|
+
print("\nConverting array data to NominalPointTarget dictionary...")
|
|
134
|
+
|
|
135
|
+
target_ids = [f"CR_{i:02d}" for i in range(NUM_TARGETS)]
|
|
136
|
+
targets_dict = convert_array_to_point_target_structure(
|
|
137
|
+
coords=read_coords,
|
|
138
|
+
rcs=read_rcs,
|
|
139
|
+
point_target_ids=target_ids,
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
sample_id = "CR_00"
|
|
143
|
+
sample_target = targets_dict[sample_id]
|
|
144
|
+
|
|
145
|
+
print(f"Target ID: {sample_id}")
|
|
146
|
+
print(f" Coordinates: {sample_target.xyz_coordinates}")
|
|
147
|
+
print(f" RCS HH: {sample_target.rcs_hh}")
|
|
148
|
+
print(f" RCS HV: {sample_target.rcs_hv}")
|
|
149
|
+
print(f" RCS VH: {sample_target.rcs_vh}")
|
|
150
|
+
print(f" RCS VV: {sample_target.rcs_vv}")
|
|
151
|
+
print(f" Delay: {sample_target.delay}")
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
# -----------------------------------------------------------------------------
|
|
155
|
+
# 8. Clean up example product folder
|
|
156
|
+
# -----------------------------------------------------------------------------
|
|
157
|
+
|
|
158
|
+
if PRODUCT_PATH.exists():
|
|
159
|
+
shutil.rmtree(PRODUCT_PATH)
|
|
160
|
+
|
|
161
|
+
print("\nDone!")
|
|
162
|
+
```
|