Skip to main content

Processes output of qa4sm.eodc.eu (NetCDF file), creating plots and providing the data in other formats.

Project description

ci cov pip

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qa4sm_reader-0.11.2.tar.gz (29.5 MB view details)

Uploaded Source

Built Distribution

qa4sm_reader-0.11.2-py2.py3-none-any.whl (111.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file qa4sm_reader-0.11.2.tar.gz.

File metadata

  • Download URL: qa4sm_reader-0.11.2.tar.gz
  • Upload date:
  • Size: 29.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for qa4sm_reader-0.11.2.tar.gz
Algorithm Hash digest
SHA256 654786b9c439d7521e37644e239985618df19ad66d105c9c8f858ac1c3bdd341
MD5 4ad3be3c793b470c097f580be8345688
BLAKE2b-256 5904197c208e84286532ff356eb3a883267512731cf3130619883b433545ed62

See more details on using hashes here.

File details

Details for the file qa4sm_reader-0.11.2-py2.py3-none-any.whl.

File metadata

  • Download URL: qa4sm_reader-0.11.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 111.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for qa4sm_reader-0.11.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d5b9b26afebc44f8d79882bb084eedc4abe185396460a024145c19928c7347d2
MD5 57910f35814226ee3c3b4b0f2b5e4fab
BLAKE2b-256 125dc193306559b6be1d60665a0757e37e6550b912e28beb5106bf814bf39806

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page