qa4sm_reader is a python package to read and plot the result files of the qa4sm service.
Installation
This package should be installable through pip
pip install qa4sm_reader
Usage
This package is used to analyze a qa4sm netCDF output file and produce all relevant plots and maps.
Development Setup
The project was setup using pyscaffold and closely follows the recommendations.
Install Dependencies
For Development we recommend creating a conda environment.
cd qa4sm-reader
conda env create python=3.10 # create environment from requirements.rst
conda activate qa4sm_reader
conda env update -f environment.yml -n qa4sm_reader
pip install -e .
To remove the environment again, run:
conda deactivate
conda env remove -n qa4sm_reader
Code Formatting
To apply pep8 conform styling to any changed files [we use yapf](https://github.com/google/yapf). The correct settings are already set in setup.cfg. Therefore the following command should be enough:
yapf file.py --in-place
Testing
For testing, we use py.test:
pytest
The dependencies are automatically installed by pytest-runner when you run the tests. The test-dependencies are listed in the testing field inside the [options.extras_require] section of setup.cfg. For some reasons, the dependencies are not installed as expected. To workaround, do:
pip install pytest-cov
The files used for testing are included in this package. They are however subject to other terms and conditions.
Known Issues
No known issues - please open an issue in case you come across a malfunctioning in the package.
Release files for qa4sm-reader 0.12.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qa4sm_reader-0.12.3.tar.gz | 29.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qa4sm_reader-0.12.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.7 MB
Release files / qa4sm_reader-0.12.3.tar.gz
| Download URL | qa4sm_reader-0.12.3.tar.gz |
|---|---|
| Size | 29.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d759a903fc09ba1688ca64be6680c2a9bb69f39ffc6eb537eb5282ecfeaa391
|
|
BLAKE2b-256 checksum How to use checksums |
e3a71c5e5eb174db63bf04c3ad06db0b9b6b2d3dfe7b716f2f7be488841f1aa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / qa4sm_reader-0.12.3-py3-none-any.whl
| Download URL | qa4sm_reader-0.12.3-py3-none-any.whl |
|---|---|
| Size | 163.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
422e05f3b117a1705dab7372095cf377e81d69fa2aecfbde63f9bf99477ea197
|
|
BLAKE2b-256 checksum How to use checksums |
a98ecd180aaa16fe3f7f2a1faba916f043940dc1d64485d680cd0607189e4db1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|