Processes output of qa4sm.eodc.eu (NetCDF file), creating plots and providing the data in other formats.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qa4sm_reader-0.10.tar.gz
.
File metadata
- Download URL: qa4sm_reader-0.10.tar.gz
- Upload date:
- Size: 29.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 681569f631920d778b42d7edbbbffe2615fec72206c63f23803c97cc4bf27134 |
|
MD5 | 3fb738e1d4aadb269365b6cc671f0e39 |
|
BLAKE2b-256 | a7a08b9bab37eab266c69f10cd6df49e7f13e702eb6ed3f9a3bb08a5f8f7ecff |
File details
Details for the file qa4sm_reader-0.10-py2.py3-none-any.whl
.
File metadata
- Download URL: qa4sm_reader-0.10-py2.py3-none-any.whl
- Upload date:
- Size: 109.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f17c3c8b5122e4ed01245455dd52574b4db22a6f38723624ea356ed2ef1f143a |
|
MD5 | 7df09ee2abe20edc9401b5e28d2396bc |
|
BLAKE2b-256 | a4199d4bd72e4b9c17abb92da84bc9204e5117ebe8bad5f2e2d3299ac6410664 |