cesard 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.
Files changed (55) hide show
  1. cesard-1.0.0/.github/workflows/python-publish.yml +39 -0
  2. cesard-1.0.0/.gitignore +122 -0
  3. cesard-1.0.0/.readthedocs.yaml +22 -0
  4. cesard-1.0.0/LICENSE.txt +13 -0
  5. cesard-1.0.0/PKG-INFO +56 -0
  6. cesard-1.0.0/README.md +3 -0
  7. cesard-1.0.0/cesard/__init__.py +7 -0
  8. cesard-1.0.0/cesard/ancillary.py +628 -0
  9. cesard-1.0.0/cesard/ard.py +577 -0
  10. cesard-1.0.0/cesard/config.py +94 -0
  11. cesard-1.0.0/cesard/dem.py +443 -0
  12. cesard-1.0.0/cesard/metadata/__init__.py +0 -0
  13. cesard-1.0.0/cesard/metadata/extract.py +347 -0
  14. cesard-1.0.0/cesard/metadata/mapping.py +142 -0
  15. cesard-1.0.0/cesard/metadata/stac.py +661 -0
  16. cesard-1.0.0/cesard/metadata/xml.py +754 -0
  17. cesard-1.0.0/cesard/search.py +440 -0
  18. cesard-1.0.0/cesard/snap.py +510 -0
  19. cesard-1.0.0/cesard/tile_extraction.py +306 -0
  20. cesard-1.0.0/cesard.egg-info/PKG-INFO +56 -0
  21. cesard-1.0.0/cesard.egg-info/SOURCES.txt +53 -0
  22. cesard-1.0.0/cesard.egg-info/dependency_links.txt +1 -0
  23. cesard-1.0.0/cesard.egg-info/requires.txt +25 -0
  24. cesard-1.0.0/cesard.egg-info/top_level.txt +1 -0
  25. cesard-1.0.0/docs/Makefile +20 -0
  26. cesard-1.0.0/docs/make.bat +35 -0
  27. cesard-1.0.0/docs/source/_assets/enl_example_tile.png +0 -0
  28. cesard-1.0.0/docs/source/_assets/enl_grd_comparison_aois.png +0 -0
  29. cesard-1.0.0/docs/source/_assets/enl_grd_comparison_scatter.png +0 -0
  30. cesard-1.0.0/docs/source/_assets/geometry.png +0 -0
  31. cesard-1.0.0/docs/source/about/abbreviations.rst +89 -0
  32. cesard-1.0.0/docs/source/about/changelog.rst +7 -0
  33. cesard-1.0.0/docs/source/about/index.rst +9 -0
  34. cesard-1.0.0/docs/source/about/references.rst +7 -0
  35. cesard-1.0.0/docs/source/api/ancillary_functions.rst +26 -0
  36. cesard-1.0.0/docs/source/api/configuration.rst +14 -0
  37. cesard-1.0.0/docs/source/api/index.rst +12 -0
  38. cesard-1.0.0/docs/source/api/metadata.rst +51 -0
  39. cesard-1.0.0/docs/source/api/processing.rst +36 -0
  40. cesard-1.0.0/docs/source/api/search.rst +15 -0
  41. cesard-1.0.0/docs/source/api/tile_extraction.rst +17 -0
  42. cesard-1.0.0/docs/source/conf.py +308 -0
  43. cesard-1.0.0/docs/source/general/cesard.rst +46 -0
  44. cesard-1.0.0/docs/source/general/enl.rst +70 -0
  45. cesard-1.0.0/docs/source/general/index.rst +8 -0
  46. cesard-1.0.0/docs/source/index.rst +13 -0
  47. cesard-1.0.0/docs/source/references.bib +93 -0
  48. cesard-1.0.0/docs/source/tocs.rst +8 -0
  49. cesard-1.0.0/environment-dev.yml +27 -0
  50. cesard-1.0.0/environment.yaml +19 -0
  51. cesard-1.0.0/pyproject.toml +38 -0
  52. cesard-1.0.0/requirements.txt +13 -0
  53. cesard-1.0.0/setup.cfg +4 -0
  54. cesard-1.0.0/tests/conftest.py +0 -0
  55. cesard-1.0.0/tests/test_url.py +18 -0
@@ -0,0 +1,39 @@
1
+ # This workflow will upload a Python Package using Twine when a release is created
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name: Upload Python Package
10
+
11
+ on:
12
+ release:
13
+ types: [ published ]
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ jobs:
19
+ deploy:
20
+
21
+ runs-on: ubuntu-latest
22
+
23
+ steps:
24
+ - uses: actions/checkout@v5
25
+ - name: Set up Python
26
+ uses: actions/setup-python@v6
27
+ with:
28
+ python-version: '3.x'
29
+ - name: Install dependencies
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ pip install build
33
+ - name: Build package
34
+ run: python -m build
35
+ - name: Publish package
36
+ uses: pypa/gh-action-pypi-publish@release/v1.13
37
+ with:
38
+ user: __token__
39
+ password: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,122 @@
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
+ .hypothesis/
50
+ .pytest_cache/
51
+
52
+ # Translations
53
+ *.mo
54
+ *.pot
55
+
56
+ # Django stuff:
57
+ *.log
58
+ local_settings.py
59
+ db.sqlite3
60
+
61
+ # Flask stuff:
62
+ instance/
63
+ .webassets-cache
64
+
65
+ # Scrapy stuff:
66
+ .scrapy
67
+
68
+ # Sphinx documentation
69
+ docs/_build/
70
+
71
+ # PyBuilder
72
+ target/
73
+
74
+ # Jupyter Notebook
75
+ .ipynb_checkpoints
76
+
77
+ # IPython
78
+ profile_default/
79
+ ipython_config.py
80
+
81
+ # pyenv
82
+ .python-version
83
+
84
+ # celery beat schedule file
85
+ celerybeat-schedule
86
+
87
+ # SageMath parsed files
88
+ *.sage.py
89
+
90
+ # Environments
91
+ .env
92
+ .venv
93
+ env/
94
+ venv/
95
+ ENV/
96
+ env.bak/
97
+ venv.bak/
98
+
99
+ # Spyder project settings
100
+ .spyderproject
101
+ .spyproject
102
+
103
+ # Rope project settings
104
+ .ropeproject
105
+
106
+ # mkdocs documentation
107
+ /site
108
+
109
+ # mypy
110
+ .mypy_cache/
111
+ .dmypy.json
112
+ dmypy.json
113
+
114
+ # Pyre type checker
115
+ .pyre/
116
+
117
+ .idea/
118
+ out/
119
+ dev_*
120
+
121
+ # OSX tempfiles
122
+ .DS_Store
@@ -0,0 +1,22 @@
1
+ version: 2
2
+
3
+ build:
4
+ os: "ubuntu-24.04"
5
+ tools:
6
+ python: "mambaforge-latest"
7
+
8
+ conda:
9
+ environment: environment-dev.yml
10
+
11
+ python:
12
+ install:
13
+ - method: pip
14
+ path: .
15
+
16
+ formats:
17
+ - epub
18
+ - pdf
19
+
20
+ sphinx:
21
+ builder: html
22
+ configuration: docs/source/conf.py
@@ -0,0 +1,13 @@
1
+ # Copyright (c) 2021-2025, John Truckenbrodt and Marco Wolsza.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
4
+ documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
5
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
6
+ persons to whom the Software is furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
11
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
12
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
13
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
cesard-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.4
2
+ Name: cesard
3
+ Version: 1.0.0
4
+ Summary: Central functionalities for creating Synthetic Aperture Radar (SAR) Analysis Ready Data (ARD) products
5
+ Maintainer-email: John Truckenbrodt <john.truckenbrodt@dlr.de>
6
+ License: # Copyright (c) 2021-2025, John Truckenbrodt and Marco Wolsza.
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
9
+ documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
10
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
11
+ persons to whom the Software is furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
16
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
18
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19
+
20
+ Project-URL: repository, https://github.com/SAR-ARD/cesard
21
+ Project-URL: documentation, https://cesard.readthedocs.io/en/latest/
22
+ Classifier: License :: OSI Approved :: MIT License
23
+ Classifier: Operating System :: Microsoft :: Windows
24
+ Classifier: Operating System :: POSIX :: Linux
25
+ Classifier: Programming Language :: Python :: 3
26
+ Requires-Python: >=3.10
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE.txt
29
+ Requires-Dist: asf_search
30
+ Requires-Dist: gdal>=3.5.0
31
+ Requires-Dist: geopandas
32
+ Requires-Dist: lxml
33
+ Requires-Dist: multiformats>=0.3.1
34
+ Requires-Dist: numpy<2.0
35
+ Requires-Dist: pandas
36
+ Requires-Dist: pyroSAR>=0.31.0
37
+ Requires-Dist: pystac<1.11.0,>=1.8.0
38
+ Requires-Dist: python-dateutil
39
+ Requires-Dist: requests
40
+ Requires-Dist: scipy
41
+ Requires-Dist: spatialist>=0.16.0
42
+ Provides-Extra: test
43
+ Requires-Dist: pytest; extra == "test"
44
+ Requires-Dist: requests; extra == "test"
45
+ Provides-Extra: docs
46
+ Requires-Dist: sphinx; extra == "docs"
47
+ Requires-Dist: sphinxcontrib-bibtex; extra == "docs"
48
+ Requires-Dist: nbsphinx; extra == "docs"
49
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
50
+ Requires-Dist: sphinx-toolbox; extra == "docs"
51
+ Requires-Dist: ipython; extra == "docs"
52
+ Dynamic: license-file
53
+
54
+ # CESARD
55
+
56
+ Central functionalities for creating Synthetic Aperture Radar (SAR) Analysis Ready Data (ARD) products.
cesard-1.0.0/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # CESARD
2
+
3
+ Central functionalities for creating Synthetic Aperture Radar (SAR) Analysis Ready Data (ARD) products.
@@ -0,0 +1,7 @@
1
+ from importlib.metadata import version, PackageNotFoundError
2
+
3
+ try:
4
+ __version__ = version(__name__)
5
+ except PackageNotFoundError:
6
+ # package is not installed
7
+ pass