xarray-n1-asar 2026.10.21__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 (40) hide show
  1. xarray_n1_asar-2026.10.21/.github/ISSUE_TEMPLATE.md +15 -0
  2. xarray_n1_asar-2026.10.21/.github/workflows/publish-to-pypi.yml +47 -0
  3. xarray_n1_asar-2026.10.21/.gitignore +110 -0
  4. xarray_n1_asar-2026.10.21/AUTHORS.rst +13 -0
  5. xarray_n1_asar-2026.10.21/CODE_OF_CONDUCT.rst +84 -0
  6. xarray_n1_asar-2026.10.21/CONTRIBUTING.rst +125 -0
  7. xarray_n1_asar-2026.10.21/HISTORY.rst +8 -0
  8. xarray_n1_asar-2026.10.21/LICENSE +22 -0
  9. xarray_n1_asar-2026.10.21/MANIFEST.in +11 -0
  10. xarray_n1_asar-2026.10.21/Makefile +89 -0
  11. xarray_n1_asar-2026.10.21/PKG-INFO +69 -0
  12. xarray_n1_asar-2026.10.21/README.md +35 -0
  13. xarray_n1_asar-2026.10.21/docs/Makefile +20 -0
  14. xarray_n1_asar-2026.10.21/docs/authors.rst +1 -0
  15. xarray_n1_asar-2026.10.21/docs/conf.py +162 -0
  16. xarray_n1_asar-2026.10.21/docs/contributing.rst +1 -0
  17. xarray_n1_asar-2026.10.21/docs/history.rst +1 -0
  18. xarray_n1_asar-2026.10.21/docs/index.rst +20 -0
  19. xarray_n1_asar-2026.10.21/docs/installation.rst +51 -0
  20. xarray_n1_asar-2026.10.21/docs/make.bat +36 -0
  21. xarray_n1_asar-2026.10.21/docs/readme.rst +1 -0
  22. xarray_n1_asar-2026.10.21/docs/usage.rst +7 -0
  23. xarray_n1_asar-2026.10.21/n1_asar/__init__.py +10 -0
  24. xarray_n1_asar-2026.10.21/n1_asar/asa_wv_reader.py +1732 -0
  25. xarray_n1_asar-2026.10.21/n1_asar/asa_wvi_1p_reader.py +297 -0
  26. xarray_n1_asar-2026.10.21/n1_asar/asa_wvw_2p_reader.py +169 -0
  27. xarray_n1_asar-2026.10.21/n1_asar/figures_wvi_1p.py +201 -0
  28. xarray_n1_asar-2026.10.21/pyproject.toml +94 -0
  29. xarray_n1_asar-2026.10.21/requirements_dev.txt +11 -0
  30. xarray_n1_asar-2026.10.21/ruff.toml +0 -0
  31. xarray_n1_asar-2026.10.21/setup.cfg +4 -0
  32. xarray_n1_asar-2026.10.21/tests/__init__.py +1 -0
  33. xarray_n1_asar-2026.10.21/tox.ini +26 -0
  34. xarray_n1_asar-2026.10.21/xarray_n1_asar.egg-info/PKG-INFO +69 -0
  35. xarray_n1_asar-2026.10.21/xarray_n1_asar.egg-info/SOURCES.txt +38 -0
  36. xarray_n1_asar-2026.10.21/xarray_n1_asar.egg-info/dependency_links.txt +1 -0
  37. xarray_n1_asar-2026.10.21/xarray_n1_asar.egg-info/requires.txt +10 -0
  38. xarray_n1_asar-2026.10.21/xarray_n1_asar.egg-info/scm_file_list.json +35 -0
  39. xarray_n1_asar-2026.10.21/xarray_n1_asar.egg-info/scm_version.json +8 -0
  40. xarray_n1_asar-2026.10.21/xarray_n1_asar.egg-info/top_level.txt +1 -0
@@ -0,0 +1,15 @@
1
+ * xarray-n1-asar version:
2
+ * Python version:
3
+ * Operating System:
4
+
5
+ ### Description
6
+
7
+ Describe what you were trying to get done.
8
+ Tell us what happened, what went wrong, and what you expected to happen.
9
+
10
+ ### What I Did
11
+
12
+ ```
13
+ Paste the command(s) you ran and the output.
14
+ If there was a crash, please include the traceback here.
15
+ ```
@@ -0,0 +1,47 @@
1
+ name: Publish
2
+
3
+ # Publish to PyPI on CalVer tag pushes (e.g. 2026.10.21).
4
+ # TestPyPI dry runs: push a tag like 2026.10.21-test.
5
+ on:
6
+ push:
7
+ tags:
8
+ - "20*.*"
9
+
10
+ jobs:
11
+ publish:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ # Required for PyPI trusted publishing (OIDC token exchange).
15
+ id-token: write
16
+
17
+ steps:
18
+ # fetch-depth: 0 so setuptools-scm can read the pushed tag for the version.
19
+ - uses: actions/checkout@v7
20
+ with:
21
+ fetch-depth: 0
22
+
23
+ - name: Set up Python
24
+ uses: actions/setup-python@v7
25
+ with:
26
+ python-version: "3.11"
27
+
28
+ - name: Install build
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install build
32
+
33
+ - name: Build sdist and wheel
34
+ run: python -m build
35
+
36
+ - name: Show built artifacts
37
+ run: ls -l dist/
38
+
39
+ - name: Publish to TestPyPI
40
+ if: "endsWith(github.ref_name, '-test')"
41
+ uses: pypa/gh-action-pypi-publish@release/v1
42
+ with:
43
+ repository-url: https://test.pypi.org/legacy/
44
+
45
+ - name: Publish to PyPI
46
+ if: "!endsWith(github.ref_name, '-test')"
47
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,110 @@
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
+ env/
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+
28
+ # PyInstaller
29
+ # Usually these files are written by a python script from a template
30
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
31
+ *.manifest
32
+ *.spec
33
+
34
+ # Installer logs
35
+ pip-log.txt
36
+ pip-delete-this-directory.txt
37
+
38
+ # Unit test / coverage reports
39
+ htmlcov/
40
+ .tox/
41
+ .coverage
42
+ .coverage.*
43
+ .cache
44
+ nosetests.xml
45
+ coverage.xml
46
+ *.cover
47
+ .hypothesis/
48
+ .pytest_cache/
49
+
50
+ # Translations
51
+ *.mo
52
+ *.pot
53
+
54
+ # Django stuff:
55
+ *.log
56
+ local_settings.py
57
+
58
+ # Flask stuff:
59
+ instance/
60
+ .webassets-cache
61
+
62
+ # Scrapy stuff:
63
+ .scrapy
64
+
65
+ # Sphinx documentation
66
+ docs/_build/
67
+
68
+ # PyBuilder
69
+ target/
70
+
71
+ # Jupyter Notebook
72
+ .ipynb_checkpoints
73
+
74
+ # Dask worker cache
75
+ dask-worker-space/
76
+
77
+ # pyenv
78
+ .python-version
79
+
80
+ # celery beat schedule file
81
+ celerybeat-schedule
82
+
83
+ # SageMath parsed files
84
+ *.sage.py
85
+
86
+ # dotenv
87
+ .env
88
+
89
+ # virtualenv
90
+ .venv
91
+ venv/
92
+ ENV/
93
+
94
+ # Spyder project settings
95
+ .spyderproject
96
+ .spyproject
97
+
98
+ # Rope project settings
99
+ .ropeproject
100
+
101
+ # mkdocs documentation
102
+ /site
103
+
104
+ # mypy
105
+ .mypy_cache/
106
+
107
+ # IDE settings
108
+ .vscode/
109
+ .idea/
110
+
@@ -0,0 +1,13 @@
1
+ =======
2
+ Credits
3
+ =======
4
+
5
+ Development Lead
6
+ ----------------
7
+
8
+ * Robin MARQUART <Robin.Marquart@ifremer.fr>
9
+
10
+ Contributors
11
+ ------------
12
+
13
+ None yet. Why not be the first?
@@ -0,0 +1,84 @@
1
+ ====================================
2
+ Contributor Covenant Code of Conduct
3
+ ====================================
4
+
5
+ Our Pledge
6
+ ----------
7
+
8
+ In the interest of fostering an open and welcoming environment, we as
9
+ contributors and maintainers pledge to make participation in our project and
10
+ our community a harassment-free experience for everyone, regardless of age, body
11
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
12
+ level of experience, education, socio-economic status, nationality, personal
13
+ appearance, race, religion, or sexual identity and orientation.
14
+
15
+ Our Standards
16
+ -------------
17
+
18
+ Examples of behavior that contributes to creating a positive environment
19
+ include:
20
+
21
+ * Using welcoming and inclusive language
22
+ * Being respectful of differing viewpoints and experiences
23
+ * Gracefully accepting constructive criticism
24
+ * Focusing on what is best for the community
25
+ * Showing empathy towards other community members
26
+
27
+ Examples of unacceptable behavior by participants include:
28
+
29
+ * The use of sexualized language or imagery and unwelcome sexual attention or
30
+ advances
31
+ * Trolling, insulting/derogatory comments, and personal or political attacks
32
+ * Public or private harassment
33
+ * Publishing others' private information, such as a physical or electronic
34
+ address, without explicit permission
35
+ * Other conduct which could reasonably be considered inappropriate in a
36
+ professional setting
37
+
38
+ Our Responsibilities
39
+ --------------------
40
+
41
+ Project maintainers are responsible for clarifying the standards of acceptable
42
+ behavior and are expected to take appropriate and fair corrective action in
43
+ response to any instances of unacceptable behavior.
44
+
45
+ Project maintainers have the right and responsibility to remove, edit, or
46
+ reject comments, commits, code, wiki edits, issues, and other contributions
47
+ that are not aligned to this Code of Conduct, or to ban temporarily or
48
+ permanently any contributor for other behaviors that they deem inappropriate,
49
+ threatening, offensive, or harmful.
50
+
51
+ Scope
52
+ -----
53
+
54
+ This Code of Conduct applies within all project spaces, and it also applies when
55
+ an individual is representing the project or its community in public spaces.
56
+ Examples of representing a project or community include using an official
57
+ project e-mail address, posting via an official social media account, or acting
58
+ as an appointed representative at an online or offline event. Representation of
59
+ a project may be further defined and clarified by project maintainers.
60
+
61
+ Enforcement
62
+ -----------
63
+
64
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
65
+ reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
66
+ complaints will be reviewed and investigated and will result in a response that
67
+ is deemed necessary and appropriate to the circumstances. The project team is
68
+ obligated to maintain confidentiality with regard to the reporter of an incident.
69
+ Further details of specific enforcement policies may be posted separately.
70
+
71
+ Project maintainers who do not follow or enforce the Code of Conduct in good
72
+ faith may face temporary or permanent repercussions as determined by other
73
+ members of the project's leadership.
74
+
75
+ Attribution
76
+ -----------
77
+
78
+ This Code of Conduct is adapted from the `Contributor Covenant`_, version 1.4,
79
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
80
+
81
+ For answers to common questions about this code of conduct, see
82
+ https://www.contributor-covenant.org/faq
83
+
84
+ .. _`Contributor Covenant`: https://www.contributor-covenant.org
@@ -0,0 +1,125 @@
1
+ .. highlight:: shell
2
+
3
+ ============
4
+ Contributing
5
+ ============
6
+
7
+ Contributions are welcome, and they are greatly appreciated! Every little bit
8
+ helps, and credit will always be given.
9
+
10
+ You can contribute in many ways:
11
+
12
+ Types of Contributions
13
+ ----------------------
14
+
15
+ Report Bugs
16
+ ~~~~~~~~~~~
17
+
18
+ Report bugs at https://github.com/umr-lops/xarray-n1-asar/issues.
19
+
20
+ If you are reporting a bug, please include:
21
+
22
+ * Your operating system name and version.
23
+ * Any details about your local setup that might be helpful in troubleshooting.
24
+ * Detailed steps to reproduce the bug.
25
+
26
+ Fix Bugs
27
+ ~~~~~~~~
28
+
29
+ Look through the GitHub issues for bugs. Anything tagged with "bug" and "help
30
+ wanted" is open to whoever wants to implement it.
31
+
32
+ Implement Features
33
+ ~~~~~~~~~~~~~~~~~~
34
+
35
+ Look through the GitHub issues for features. Anything tagged with "enhancement"
36
+ and "help wanted" is open to whoever wants to implement it.
37
+
38
+ Write Documentation
39
+ ~~~~~~~~~~~~~~~~~~~
40
+
41
+ xarray-n1-asar could always use more documentation, whether as part of the
42
+ official xarray-n1-asar docs, in docstrings, or even on the web in blog posts,
43
+ articles, and such.
44
+
45
+ Submit Feedback
46
+ ~~~~~~~~~~~~~~~
47
+
48
+ The best way to send feedback is to file an issue at https://github.com/umr-lops/xarray-n1-asar/issues.
49
+
50
+ If you are proposing a feature:
51
+
52
+ * Explain in detail how it would work.
53
+ * Keep the scope as narrow as possible, to make it easier to implement.
54
+ * Remember that this is a volunteer-driven project, and that contributions
55
+ are welcome :)
56
+
57
+ Get Started!
58
+ ------------
59
+
60
+ Ready to contribute? Here's how to set up `n1_asar` for local development.
61
+
62
+ 1. Fork the `n1_asar` repo on GitHub.
63
+ 2. Clone your fork locally::
64
+
65
+ $ git clone git@github.com:your_name_here/n1_asar.git
66
+
67
+ 3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::
68
+
69
+ $ mkvirtualenv n1_asar
70
+ $ cd n1_asar/
71
+ $ python setup.py develop
72
+
73
+ 4. Create a branch for local development::
74
+
75
+ $ git checkout -b name-of-your-bugfix-or-feature
76
+
77
+ Now you can make your changes locally.
78
+
79
+ 5. When you're done making changes, check that your changes pass flake8 and the
80
+ tests, including testing other Python versions with tox::
81
+
82
+ $ make lint
83
+ $ make test
84
+ Or
85
+ $ make test-all
86
+
87
+ To get flake8 and tox, just pip install them into your virtualenv.
88
+
89
+ 6. Commit your changes and push your branch to GitHub::
90
+
91
+ $ git add .
92
+ $ git commit -m "Your detailed description of your changes."
93
+ $ git push origin name-of-your-bugfix-or-feature
94
+
95
+ 7. Submit a pull request through the GitHub website.
96
+
97
+
98
+ Tips
99
+ ----
100
+
101
+ To run a subset of tests::
102
+
103
+ $ pytest tests.test_n1_asar
104
+
105
+
106
+ Deploying
107
+ ---------
108
+
109
+ A reminder for the maintainers on how to deploy.
110
+ Make sure all your changes are committed (including an entry in HISTORY.rst).
111
+ Then run::
112
+
113
+ $ bump2version patch # possible: major / minor / patch
114
+ $ git push
115
+ $ git push --tags
116
+
117
+ Travis will then deploy to PyPI if tests pass.
118
+
119
+ Code of Conduct
120
+ ---------------
121
+
122
+ Please note that this project is released with a `Contributor Code of Conduct`_.
123
+ By participating in this project you agree to abide by its terms.
124
+
125
+ .. _`Contributor Code of Conduct`: CODE_OF_CONDUCT.rst
@@ -0,0 +1,8 @@
1
+ =======
2
+ History
3
+ =======
4
+
5
+ 2024.07.04 (2024-07-04)
6
+ ------------------
7
+
8
+ * First release on PyPI.
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024, Antoine GROUAZEL
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.
22
+
@@ -0,0 +1,11 @@
1
+ include AUTHORS.rst
2
+ include CONTRIBUTING.rst
3
+ include HISTORY.rst
4
+ include LICENSE
5
+ include README.rst
6
+
7
+ recursive-include tests *
8
+ recursive-exclude * __pycache__
9
+ recursive-exclude * *.py[co]
10
+
11
+ recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
@@ -0,0 +1,89 @@
1
+ .PHONY: clean clean-build clean-pyc clean-test coverage dist docs help install lint lint/flake8
2
+
3
+ .DEFAULT_GOAL := help
4
+
5
+ define BROWSER_PYSCRIPT
6
+ import os, webbrowser, sys
7
+
8
+ from urllib.request import pathname2url
9
+
10
+ webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1])))
11
+ endef
12
+ export BROWSER_PYSCRIPT
13
+
14
+ define PRINT_HELP_PYSCRIPT
15
+ import re, sys
16
+
17
+ for line in sys.stdin:
18
+ match = re.match(r'^([a-zA-Z_-]+):.*?## (.*)$$', line)
19
+ if match:
20
+ target, help = match.groups()
21
+ print("%-20s %s" % (target, help))
22
+ endef
23
+ export PRINT_HELP_PYSCRIPT
24
+
25
+ BROWSER := python -c "$$BROWSER_PYSCRIPT"
26
+
27
+ help:
28
+ @python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
29
+
30
+ clean: clean-build clean-pyc clean-test ## remove all build, test, coverage and Python artifacts
31
+
32
+ clean-build: ## remove build artifacts
33
+ rm -fr build/
34
+ rm -fr dist/
35
+ rm -fr .eggs/
36
+ find . -name '*.egg-info' -exec rm -fr {} +
37
+ find . -name '*.egg' -exec rm -f {} +
38
+
39
+ clean-pyc: ## remove Python file artifacts
40
+ find . -name '*.pyc' -exec rm -f {} +
41
+ find . -name '*.pyo' -exec rm -f {} +
42
+ find . -name '*~' -exec rm -f {} +
43
+ find . -name '__pycache__' -exec rm -fr {} +
44
+
45
+ clean-test: ## remove test and coverage artifacts
46
+ rm -fr .tox/
47
+ rm -f .coverage
48
+ rm -fr htmlcov/
49
+ rm -fr .pytest_cache
50
+
51
+ lint/flake8: ## check style with flake8
52
+ flake8 n1_asar tests
53
+
54
+
55
+ lint: lint/flake8 ## check style
56
+
57
+ test: ## run tests quickly with the default Python
58
+ pytest
59
+
60
+ test-all: ## run tests on every Python version with tox
61
+ tox
62
+
63
+ coverage: ## check code coverage quickly with the default Python
64
+ coverage run --source n1_asar -m pytest
65
+ coverage report -m
66
+ coverage html
67
+ $(BROWSER) htmlcov/index.html
68
+
69
+ docs: ## generate Sphinx HTML documentation, including API docs
70
+ rm -f docs/n1_asar.rst
71
+ rm -f docs/modules.rst
72
+ sphinx-apidoc -o docs/ n1_asar
73
+ $(MAKE) -C docs clean
74
+ $(MAKE) -C docs html
75
+ $(BROWSER) docs/_build/html/index.html
76
+
77
+ servedocs: docs ## compile the docs watching for changes
78
+ watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
79
+
80
+ release: dist ## package and upload a release
81
+ twine upload dist/*
82
+
83
+ dist: clean ## builds source and wheel package
84
+ python setup.py sdist
85
+ python setup.py bdist_wheel
86
+ ls -l dist
87
+
88
+ install: clean ## install the package to the active Python's site-packages
89
+ python setup.py install
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.4
2
+ Name: xarray-n1-asar
3
+ Version: 2026.10.21
4
+ Summary: Python lib to read ASAR SLC product from ENVISAT mission (2002-2012).
5
+ Author-email: Antoine GROUAZEL <antoine.grouazel@ifremer.fr>
6
+ Maintainer-email: Antoine GROUAZEL <antoine.grouazel@ifremer.fr>
7
+ License: MIT license
8
+ Project-URL: bugs, https://github.com/umr-lops/xarray-n1-asar/issues
9
+ Project-URL: changelog, https://github.com/umr-lops/xarray-n1-asar/blob/master/changelog.md
10
+ Project-URL: homepage, https://github.com/umr-lops/xarray-n1-asar
11
+ Keywords: xarray,earth-observation,remote-sensing,satellite-imagery,asar,envisat,sar,synthetic-aperture-radar
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python
16
+ Classifier: Programming Language :: Python :: 3 :: Only
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Intended Audience :: Science/Research
20
+ Classifier: Topic :: Scientific/Engineering
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ License-File: AUTHORS.rst
24
+ Requires-Dist: xarray>=2024.10.0
25
+ Requires-Dist: numpy
26
+ Requires-Dist: pandas
27
+ Requires-Dist: matplotlib
28
+ Provides-Extra: dev
29
+ Requires-Dist: coverage; extra == "dev"
30
+ Requires-Dist: mypy; extra == "dev"
31
+ Requires-Dist: pytest; extra == "dev"
32
+ Requires-Dist: ruff; extra == "dev"
33
+ Dynamic: license-file
34
+
35
+ xarray-n1-asar
36
+ ================
37
+
38
+
39
+ Python library to read ASAR SLC product from ENVISAT mission (2002-2012).
40
+ Currently, the library supports the ASA_WVI_1P and ASA_WVW_2P file formats.
41
+
42
+ * Free software: MIT license
43
+
44
+
45
+ Installation
46
+ --------
47
+ ```bash
48
+ pip install git+https://github.com/umr-lops/xarray-n1-asar.git
49
+ ```
50
+
51
+ Usage
52
+ --------
53
+ In a python script:
54
+ ```python
55
+ from n1_asar.asa_wvi_1p_reader import ASA_WVI_1P_Reader
56
+ from n1_asar.asa_wvw_2p_reader import ASA_WVW_2P_Reader
57
+
58
+ file_1p = 'ASA_WVI_1PNPDK20110108_145524_000007653098_00183_46318_5828.N1'
59
+ reader_1p = ASA_WVI_1P_Reader(file)
60
+
61
+ file_2p = 'ASA_WVW_2PPIFR20110102_001940_000001053098_00088_46223_8874.N1'
62
+ reader_2p = ASA_WVW_2P_Reader(file)
63
+ ```
64
+
65
+
66
+
67
+
68
+
69
+
@@ -0,0 +1,35 @@
1
+ xarray-n1-asar
2
+ ================
3
+
4
+
5
+ Python library to read ASAR SLC product from ENVISAT mission (2002-2012).
6
+ Currently, the library supports the ASA_WVI_1P and ASA_WVW_2P file formats.
7
+
8
+ * Free software: MIT license
9
+
10
+
11
+ Installation
12
+ --------
13
+ ```bash
14
+ pip install git+https://github.com/umr-lops/xarray-n1-asar.git
15
+ ```
16
+
17
+ Usage
18
+ --------
19
+ In a python script:
20
+ ```python
21
+ from n1_asar.asa_wvi_1p_reader import ASA_WVI_1P_Reader
22
+ from n1_asar.asa_wvw_2p_reader import ASA_WVW_2P_Reader
23
+
24
+ file_1p = 'ASA_WVI_1PNPDK20110108_145524_000007653098_00183_46318_5828.N1'
25
+ reader_1p = ASA_WVI_1P_Reader(file)
26
+
27
+ file_2p = 'ASA_WVW_2PPIFR20110102_001940_000001053098_00088_46223_8874.N1'
28
+ reader_2p = ASA_WVW_2P_Reader(file)
29
+ ```
30
+
31
+
32
+
33
+
34
+
35
+
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line.
5
+ SPHINXOPTS =
6
+ SPHINXBUILD = python -msphinx
7
+ SPHINXPROJ = n1_asar
8
+ SOURCEDIR = .
9
+ BUILDDIR = _build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1 @@
1
+ .. include:: ../AUTHORS.rst