aresys-io 1.0.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.
- aresys_io-1.0.0/.gitignore +197 -0
- aresys_io-1.0.0/LICENSE.txt +21 -0
- aresys_io-1.0.0/PKG-INFO +121 -0
- aresys_io-1.0.0/README.md +57 -0
- aresys_io-1.0.0/docs/.gitignore +1 -0
- aresys_io-1.0.0/docs/about/build.template.md +13 -0
- aresys_io-1.0.0/docs/assets/favicon.png +0 -0
- aresys_io-1.0.0/docs/assets/images/pf_layout.png +0 -0
- aresys_io-1.0.0/docs/changelog.md +26 -0
- aresys_io-1.0.0/docs/documentation/point_target/api.md +18 -0
- aresys_io-1.0.0/docs/documentation/point_target/index.md +111 -0
- aresys_io-1.0.0/docs/documentation/point_target/quickstart.md +162 -0
- aresys_io-1.0.0/docs/documentation/point_target/usage.md +225 -0
- aresys_io-1.0.0/docs/documentation/product_folder/api.md +33 -0
- aresys_io-1.0.0/docs/documentation/product_folder/index.md +158 -0
- aresys_io-1.0.0/docs/documentation/product_folder/quickstart.md +300 -0
- aresys_io-1.0.0/docs/documentation/product_folder/usage.md +474 -0
- aresys_io-1.0.0/docs/documentation/sarsystem/api.md +14 -0
- aresys_io-1.0.0/docs/documentation/sarsystem/index.md +13 -0
- aresys_io-1.0.0/docs/index.md +45 -0
- aresys_io-1.0.0/docs/install.md +26 -0
- aresys_io-1.0.0/docs/javascripts/katex.js +10 -0
- aresys_io-1.0.0/pyproject.toml +102 -0
- aresys_io-1.0.0/src/aresys_io/__init__.py +6 -0
- aresys_io-1.0.0/src/aresys_io/core/__init__.py +8 -0
- aresys_io-1.0.0/src/aresys_io/core/debugio.py +65 -0
- aresys_io-1.0.0/src/aresys_io/core/parsing.py +134 -0
- aresys_io-1.0.0/src/aresys_io/core/raster_io.py +618 -0
- aresys_io-1.0.0/src/aresys_io/product/__init__.py +8 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/__init__.py +12 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/channel.py +933 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/create_attitude.py +37 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/create_orbit.py +30 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/elements.py +795 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/io.py +85 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/models/__init__.py +90 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/models/aresys_generic_metadata.py +214 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/models/aresys_types.py +2901 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/polynomials.py +420 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/raster_io_from_metadata.py +304 -0
- aresys_io-1.0.0/src/aresys_io/product/metadata/translate.py +1880 -0
- aresys_io-1.0.0/src/aresys_io/product/pf/__init__.py +9 -0
- aresys_io-1.0.0/src/aresys_io/product/pf/channel_iteration.py +134 -0
- aresys_io-1.0.0/src/aresys_io/product/pf/layout.py +160 -0
- aresys_io-1.0.0/src/aresys_io/product/pf/manifest.py +97 -0
- aresys_io-1.0.0/src/aresys_io/product/pf/product_folder.py +571 -0
- aresys_io-1.0.0/src/aresys_io/product/point_target/__init__.py +7 -0
- aresys_io-1.0.0/src/aresys_io/product/point_target/nominal_point_targets.py +94 -0
- aresys_io-1.0.0/src/aresys_io/product/point_target/point_target_binary.py +442 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/__init__.py +16 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/models/__init__.py +56 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/models/swath_parameter_table.py +118 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/models/time_line_table.py +319 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/models/trajectory_file.py +333 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/sat_table.py +30 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/sat_table_read.py +82 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/swathtable.py +92 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/swathtable_read.py +41 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/swathtable_write.py +87 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/timeline_table.py +278 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/timeline_table_read.py +17 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/timeline_table_write.py +120 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/trajectory.py +355 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/trajectory_read.py +102 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/trajectory_write.py +253 -0
- aresys_io-1.0.0/src/aresys_io/sarsystem/utils.py +122 -0
- aresys_io-1.0.0/tests/__init__.py +4 -0
- aresys_io-1.0.0/tests/core/__init__.py +4 -0
- aresys_io-1.0.0/tests/core/test_debugio.py +75 -0
- aresys_io-1.0.0/tests/core/test_parsing.py +195 -0
- aresys_io-1.0.0/tests/core/test_raster_io.py +740 -0
- aresys_io-1.0.0/tests/product/__init__.py +4 -0
- aresys_io-1.0.0/tests/product/pf/__init__.py +4 -0
- aresys_io-1.0.0/tests/product/pf/test_channel_iteration.py +375 -0
- aresys_io-1.0.0/tests/product/pf/test_manifest.py +76 -0
- aresys_io-1.0.0/tests/product/pf/test_product_folder_layout.py +126 -0
- aresys_io-1.0.0/tests/product/pf/test_productfolder.py +635 -0
- aresys_io-1.0.0/tests/product/point_target/__init__.py +4 -0
- aresys_io-1.0.0/tests/product/point_target/test_nominal_point_targets.py +170 -0
- aresys_io-1.0.0/tests/product/point_target/test_point_target_binary.py +307 -0
- aresys_io-1.0.0/tests/product/product_metadata/__init__.py +4 -0
- aresys_io-1.0.0/tests/product/product_metadata/test_create_attitude.py +54 -0
- aresys_io-1.0.0/tests/product/product_metadata/test_create_orbit.py +49 -0
- aresys_io-1.0.0/tests/product/product_metadata/test_elements.py +56 -0
- aresys_io-1.0.0/tests/product/product_metadata/test_io.py +106 -0
- aresys_io-1.0.0/tests/product/product_metadata/test_metadata.py +224 -0
- aresys_io-1.0.0/tests/product/product_metadata/test_parsing.py +377 -0
- aresys_io-1.0.0/tests/product/product_metadata/test_polynomials.py +668 -0
- aresys_io-1.0.0/tests/product/product_metadata/test_raster_io_from_metadata.py +204 -0
- aresys_io-1.0.0/tests/product/product_metadata/test_translate.py +2341 -0
- aresys_io-1.0.0/tests/sarsystem/__init__.py +4 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/AcquisitionModes/StripmapSM/TimelineTable.xml +43 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_RX/ANT_AZ_RX_0001 +0 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_RX/ANT_AZ_RX_0001.xml +27 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_RX/ANT_AZ_RX_0002 +0 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_RX/ANT_AZ_RX_0002.xml +27 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_RX/aresys_product +4 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_TX/ANT_AZ_TX_0001 +0 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_TX/ANT_AZ_TX_0001.xml +27 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_TX/ANT_AZ_TX_0002 +0 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_TX/ANT_AZ_TX_0002.xml +27 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_AZ_TX/aresys_product +4 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_RX/ANT_RG_RX_0001 +0 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_RX/ANT_RG_RX_0001.xml +27 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_RX/ANT_RG_RX_0002 +0 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_RX/ANT_RG_RX_0002.xml +27 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_RX/aresys_product +4 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_TX/ANT_RG_TX_0001 +0 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_TX/ANT_RG_TX_0001.xml +27 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_TX/ANT_RG_TX_0002 +0 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_TX/ANT_RG_TX_0002.xml +27 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Antenna/ANT_RG_TX/aresys_product +4 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Chirp/Chirp_0001 +0 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Chirp/Chirp_0001.xml +46 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/Chirp/aresys_product +4 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Swaths/StripmapSM_SS1/SwathParameterTable.xml +19 -0
- aresys_io-1.0.0/tests/sarsystem/data/input/Stripmap_TerraSARX_Rome/Trajectory/Trajectory.xml +298 -0
- aresys_io-1.0.0/tests/sarsystem/test_read_sat_table.py +58 -0
- aresys_io-1.0.0/tests/sarsystem/test_read_swath_table.py +58 -0
- aresys_io-1.0.0/tests/sarsystem/test_read_timeline_table.py +32 -0
- aresys_io-1.0.0/tests/sarsystem/test_read_trajectory.py +57 -0
- aresys_io-1.0.0/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.
|
aresys_io-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: aresys_io
|
|
3
|
+
Version: 1.0.0
|
|
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 Formats Input/Output (aresys_io)
|
|
66
|
+
|
|
67
|
+

|
|
68
|
+
[](https://python.org)
|
|
69
|
+
[](https://pypi.org/project/aresys_io/)
|
|
70
|
+
[](https://github.com/aresys-srl/aresys_io/actions/workflows/aresys_io.yml)
|
|
71
|
+
|
|
72
|
+
**Aresys I/O (`aresys_io`)** is the official Aresys Python library for reading, writing, and manipulating Aresys Earth Observation (EO) and Synthetic Aperture Radar (SAR) product formats.
|
|
73
|
+
|
|
74
|
+
Designed to be modular, independent, and extensible, `aresys_io` provides unified data access and metadata management across the entire SAR processing and simulation pipeline. It is built to integrate with [**PERSEO**](https://github.com/aresys-srl/perseo) ([docs](https://opensource.aresys.it/perseo)), the Aresys modular framework for Earth Observation and SAR data handling.
|
|
75
|
+
|
|
76
|
+
## Supported Formats & Core Features
|
|
77
|
+
|
|
78
|
+
`aresys_io` provides complete support for the core internal Aresys formats:
|
|
79
|
+
|
|
80
|
+
- **Product Folder (PF)**: The official Aresys SAR product format for organizing and storing data and auxiliary information. Supports **Level 0 (RAW)**, **Level 1 (SLC / GRD)**, and **Interferometric** products across multi-swath and multi-polarization channels with dedicated XML annotations, binary/TIFF raster data, manifests, and preview overlays.
|
|
81
|
+
- **Point Target Binary**: Dedicated format for discrete radar reflectors (such as corner reflectors, active radar calibrators, or synthetic point scatterers) used in SAR simulation, calibration, and IRF analysis. Stores 3D Cartesian coordinates ($X, Y, Z$) and full polarimetric radar cross sections ($HH, HV, VH, VV$) with support for memory-mapped zero-copy access and high-level `NominalPointTarget` representations.
|
|
82
|
+
- **SAR System**: Serialization and handling of SAR system and simulation parameters, including trajectory state vectors, timeline tables, swath parameter tables, and satellite definitions.
|
|
83
|
+
- **Metadata & Raster Engine**: Robust XML serialization/deserialization for Aresys metadata schemas, orbit and attitude modeling, polynomial conversions, and flexible 2D raster I/O.
|
|
84
|
+
|
|
85
|
+
## Installation
|
|
86
|
+
|
|
87
|
+
This package is available on [PyPI](https://pypi.org/project/aresys_io/) and can be installed with `pip`:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
pip install aresys-io
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
> [!NOTE]
|
|
94
|
+
> `aresys_io` requires **Python 3.11** or higher.
|
|
95
|
+
|
|
96
|
+
## Documentation
|
|
97
|
+
|
|
98
|
+
- **Aresys I/O documentation**: [https://opensource.aresys.it/aresys_io](https://opensource.aresys.it/aresys_io)
|
|
99
|
+
- **PERSEO documentation**: [https://opensource.aresys.it/perseo](https://opensource.aresys.it/perseo)
|
|
100
|
+
|
|
101
|
+
## Related Repositories
|
|
102
|
+
|
|
103
|
+
| Repository | Description | Documentation |
|
|
104
|
+
| :--- | :--- | :--- |
|
|
105
|
+
| [aresys-srl/perseo](https://github.com/aresys-srl/perseo) | Python Ecosystem for Remote Sensing & Earth Observation | [docs](https://opensource.aresys.it/perseo/) |
|
|
106
|
+
| [aresys-srl/sct](https://github.com/aresys-srl/sct) | SAR Calibration Toolbox | [docs](https://opensource.aresys.it/sct/) |
|
|
107
|
+
| [aresys-srl/sct_plugins](https://github.com/aresys-srl/sct_plugins) | SCT input product format plugins | [docs](https://opensource.aresys.it/sct_plugins/) |
|
|
108
|
+
|
|
109
|
+
## Contributing
|
|
110
|
+
|
|
111
|
+
Contributions are welcome! If you encounter a bug, have a feature request, or want to contribute code:
|
|
112
|
+
|
|
113
|
+
- **Report bugs & request features**: open an issue on [GitHub](https://github.com/aresys-srl/aresys_io/issues). Include a clear description, steps to reproduce, and environment details.
|
|
114
|
+
- **Submit changes**: fork the repository, create a feature branch, and open a pull request. Ensure your code passes all linting (`ruff`), typing (`pyrefly`), and test suites (`pytest`).
|
|
115
|
+
- **Questions**: use GitHub Discussions for general questions and discussions.
|
|
116
|
+
|
|
117
|
+
## License
|
|
118
|
+
|
|
119
|
+
This project is licensed under the MIT License.
|
|
120
|
+
|
|
121
|
+
Copyright © 2026-present Aresys S.r.l. <info@aresys.it>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Aresys Formats Input/Output (aresys_io)
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
[](https://python.org)
|
|
5
|
+
[](https://pypi.org/project/aresys_io/)
|
|
6
|
+
[](https://github.com/aresys-srl/aresys_io/actions/workflows/aresys_io.yml)
|
|
7
|
+
|
|
8
|
+
**Aresys I/O (`aresys_io`)** is the official Aresys Python library for reading, writing, and manipulating Aresys Earth Observation (EO) and Synthetic Aperture Radar (SAR) product formats.
|
|
9
|
+
|
|
10
|
+
Designed to be modular, independent, and extensible, `aresys_io` provides unified data access and metadata management across the entire SAR processing and simulation pipeline. It is built to integrate with [**PERSEO**](https://github.com/aresys-srl/perseo) ([docs](https://opensource.aresys.it/perseo)), the Aresys modular framework for Earth Observation and SAR data handling.
|
|
11
|
+
|
|
12
|
+
## Supported Formats & Core Features
|
|
13
|
+
|
|
14
|
+
`aresys_io` provides complete support for the core internal Aresys formats:
|
|
15
|
+
|
|
16
|
+
- **Product Folder (PF)**: The official Aresys SAR product format for organizing and storing data and auxiliary information. Supports **Level 0 (RAW)**, **Level 1 (SLC / GRD)**, and **Interferometric** products across multi-swath and multi-polarization channels with dedicated XML annotations, binary/TIFF raster data, manifests, and preview overlays.
|
|
17
|
+
- **Point Target Binary**: Dedicated format for discrete radar reflectors (such as corner reflectors, active radar calibrators, or synthetic point scatterers) used in SAR simulation, calibration, and IRF analysis. Stores 3D Cartesian coordinates ($X, Y, Z$) and full polarimetric radar cross sections ($HH, HV, VH, VV$) with support for memory-mapped zero-copy access and high-level `NominalPointTarget` representations.
|
|
18
|
+
- **SAR System**: Serialization and handling of SAR system and simulation parameters, including trajectory state vectors, timeline tables, swath parameter tables, and satellite definitions.
|
|
19
|
+
- **Metadata & Raster Engine**: Robust XML serialization/deserialization for Aresys metadata schemas, orbit and attitude modeling, polynomial conversions, and flexible 2D raster I/O.
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
This package is available on [PyPI](https://pypi.org/project/aresys_io/) and can be installed with `pip`:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install aresys-io
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
> [!NOTE]
|
|
30
|
+
> `aresys_io` requires **Python 3.11** or higher.
|
|
31
|
+
|
|
32
|
+
## Documentation
|
|
33
|
+
|
|
34
|
+
- **Aresys I/O documentation**: [https://opensource.aresys.it/aresys_io](https://opensource.aresys.it/aresys_io)
|
|
35
|
+
- **PERSEO documentation**: [https://opensource.aresys.it/perseo](https://opensource.aresys.it/perseo)
|
|
36
|
+
|
|
37
|
+
## Related Repositories
|
|
38
|
+
|
|
39
|
+
| Repository | Description | Documentation |
|
|
40
|
+
| :--- | :--- | :--- |
|
|
41
|
+
| [aresys-srl/perseo](https://github.com/aresys-srl/perseo) | Python Ecosystem for Remote Sensing & Earth Observation | [docs](https://opensource.aresys.it/perseo/) |
|
|
42
|
+
| [aresys-srl/sct](https://github.com/aresys-srl/sct) | SAR Calibration Toolbox | [docs](https://opensource.aresys.it/sct/) |
|
|
43
|
+
| [aresys-srl/sct_plugins](https://github.com/aresys-srl/sct_plugins) | SCT input product format plugins | [docs](https://opensource.aresys.it/sct_plugins/) |
|
|
44
|
+
|
|
45
|
+
## Contributing
|
|
46
|
+
|
|
47
|
+
Contributions are welcome! If you encounter a bug, have a feature request, or want to contribute code:
|
|
48
|
+
|
|
49
|
+
- **Report bugs & request features**: open an issue on [GitHub](https://github.com/aresys-srl/aresys_io/issues). Include a clear description, steps to reproduce, and environment details.
|
|
50
|
+
- **Submit changes**: fork the repository, create a feature branch, and open a pull request. Ensure your code passes all linting (`ruff`), typing (`pyrefly`), and test suites (`pytest`).
|
|
51
|
+
- **Questions**: use GitHub Discussions for general questions and discussions.
|
|
52
|
+
|
|
53
|
+
## License
|
|
54
|
+
|
|
55
|
+
This project is licensed under the MIT License.
|
|
56
|
+
|
|
57
|
+
Copyright © 2026-present Aresys S.r.l. <info@aresys.it>
|
|
@@ -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.
|