Skip to main content

Radio occultations

Project description

radiocc

license badge version badge python badge coverage badge pre-commit badge

Radio occulation


Installation | Roadmap | Contributing | License


Installation

The code is still in development, hence you can only get it on ROB Gitlab repo

You need to:

  • clone it
  • download poetry (a tool for dependency management and packaging in Python)
  • run
    poetry install
    
    inside the project to install the dependencies in a virtual environment (it should be done automatically, long time I didn't do it, if it does not let us know and we will do it together)
  • to check the virtual env is correctly set, use
    poetry env info
    
    and confirm you have something similar to:
    Virtualenv
    Python:         3.9.6
    Implementation: CPython
    Path:           /home/greg/.cache/pypoetry/virtualenvs/radiocc-6zeAPCek-py3.9
    Valid:          True
    
  • run
    poetry shell
    
    to activate the virtual environment, it can be useful for IDE and linters but not necessary because it is automatically activated at runtime.
  • create a folder RESULTS and a folder TO_PROCESS and place in the latter your MEX or MVN scenarios to be run run poetry run radiocc to run the code automatically on the scenarios to be processed.

Roadmap

  • improve old code for lisibility, portability and testing
  • improve CLI interface for parameter tuning
  • provide GUI interface for parameter tuning
  • provide GUI tool on graphs to set thresholds and corrections
  • provide a pip library and binary installation

Contributing

Evaluate code before commiting

We use the powerful tool pre-commit to automatically run a battery of tests on the code at commit runtime to:

  • avoid pushing code with warnings and errors
  • unify code formatting between developpers

The list of tests and hook scripts can be found here.

They consist in:

  • few git and file-system checks
  • flake8 (python static linter)
  • isort (python imports linter & fixer)
  • mypy (python type checker)
  • black (python code fixer)
  • running tests with pytest

You can install this development environment using

poetry run pre-commit install

Commiting

You can fork and ask for pull request on the dev branch (or any other excepted the main branch).

Depending on your access rights, you can also create a new branch from dev, develop on it and ask for a merge into the dev branch.

License

Licensed under the Apache 2.0 license.

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

radiocc-0.4.1.tar.gz (48.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

radiocc-0.4.1-py3-none-any.whl (57.8 kB view details)

Uploaded Python 3

File details

Details for the file radiocc-0.4.1.tar.gz.

File metadata

  • Download URL: radiocc-0.4.1.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for radiocc-0.4.1.tar.gz
Algorithm Hash digest
SHA256 35c7cee02f89eb5d26e3a2f5f4c2e1975883764b3cee2715a66345b52e15f498
MD5 ac22dcf1aee6691828bb7ad32ca26900
BLAKE2b-256 84f77f8726484a44ce51f599df9cf896145a4c1b99d73ef5b336f0e61111de02

See more details on using hashes here.

File details

Details for the file radiocc-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: radiocc-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 57.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for radiocc-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e1d19d43a4198b50bb17c966e4c2c3926bdfc892a25c48e8fd55be9eaa18f2c
MD5 fa1a69faedf561b2a183ef5b24f3b64a
BLAKE2b-256 104bd60fd1e32feb612e1c62d3965416b069ab5ee37f6e4b55f63713cce04e22

See more details on using hashes here.

Supported by

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