Skip to content

Commit

Permalink
[IMPR] added windshear processing for lidar data
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfidan committed Aug 2, 2023
2 parents 868ddf6 + 94fe908 commit ffb78f6
Show file tree
Hide file tree
Showing 510 changed files with 220,443 additions and 242,302 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: build-deploy-site

on:
push:
branches:
- master
pull_request:
branches:
- master

permissions:
contents: write

# This job installs dependencies, build the website, and pushes it to `gh-pages`
jobs:
deploy-website:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2

# Create environment using micromamba
- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: doc/environment.yml
environment-name: pyart-docs
cache-downloads: true

- name: Fetch all history for all tags and branches
run: |
git fetch --prune --unshallow
- name: Install PyART
run: |
pip install -e .
# Build the website
- name: Build the site
run: |
cd doc
make html
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.8.0
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/build/html
cname: https:/meteoswiss.github.io/pyart/
71 changes: 71 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: CI

on:
push:
branches:
- dev
- master
pull_request:
branches:
- dev
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# This job installs dependencies, build the website, and pushes it to `gh-pages`
jobs:
build:
name: ${{ matrix.os }}-${{ matrix.python-version }}
if: github.repository == 'MeteoSwiss/pyart'
runs-on: ${{ matrix.os }}-latest
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: [macos, ubuntu]

steps:
- uses: actions/checkout@v2

# Install dependencies
- name: Setup Conda Environment
uses: mamba-org/setup-micromamba@v1
with:
environment-file: continuous_integration/environment-ci.yml
activate-environment: pyart-dev
cache-downloads: true
python-version: ${{ matrix.python-version }}

- name: Fetch all history for all tags and branches
run: |
git fetch --prune --unshallow
- name: Install PyART
shell: bash -l {0}
run: |
python -m pip install -e . --no-deps --force-reinstall
- name: Run Linting
shell: bash -l {0}
run: |
ruff .
- name: Run Tests
id: run_tests
shell: bash -l {0}
run: |
python -m pytest -v --cov=./ --cov-report=xml
- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v2.1.0
with:
file: ./coverage.xml
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false
22 changes: 19 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,28 @@ Installation
============
To install the MeteoSwiss Py-ART as part of the Pyrad superproject have a look at the `Pyrad user manual(pdf) <https://github.com/meteoswiss-mdr/pyrad/blob/master/doc/pyrad_user_manual.pdf>`_
=======
|docs users| |AnacondaCloud| |CondaLastUpdated| |CondaDownloads|
|GithubCI| |GithubDoc| |CodeCovStatus|

|DocsUsers| |DocsGuides|

|AnacondaCloud| |CondaLastUpdated| |CondaDownloads|

|CondaPlatforms| |License|

.. |docs users| image:: https://readthedocs.org/projects/pyart-mch/badge/?version=latest
:target: https://pyart-mch.readthedocs.io/en/latest/
.. |GithubCI| image:: https://github.com/MeteoSwiss/pyart/actions/workflows/ci.yml/badge.svg
:target: https://github.com/MeteoSwiss/pyart/actions?query=workflow%3ACI

.. |GithubDoc| image:: https://github.com/MeteoSwiss/pyart/actions/workflows/build_docs.yml/badge.svg
:target: https://github.com/MeteoSwiss/pyart/actions/workflows/build_docs.yml

.. |CodeCovStatus| image:: https://img.shields.io/codecov/c/github/MeteoSwiss/pyart.svg?logo=codecov
:target: https://codecov.io/gh/MeteoSwiss/pyart

.. |DocsUsers| image:: https://img.shields.io/badge/docs-users-4088b8.svg
:target: http://meteoswiss.github.io/pyart/API/index.html

.. |DocsGuides| image:: https://img.shields.io/badge/docs-guides-4088b8.svg
:target: https://github.com/meteoswiss/pyart/tree/master/guides/

.. |AnacondaCloud| image:: https://anaconda.org/conda-forge/pyart_mch/badges/version.svg
:target: https://anaconda.org/conda-forge/pyart_mch
Expand Down
88 changes: 0 additions & 88 deletions continuous_integration/appveyor/run_with_env.cmd

This file was deleted.

36 changes: 0 additions & 36 deletions continuous_integration/build_docs.sh

This file was deleted.

15 changes: 0 additions & 15 deletions continuous_integration/environment-3.6.yml

This file was deleted.

17 changes: 0 additions & 17 deletions continuous_integration/environment-3.7.yml

This file was deleted.

17 changes: 0 additions & 17 deletions continuous_integration/environment-3.8.yml

This file was deleted.

34 changes: 34 additions & 0 deletions continuous_integration/environment-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: pyart-dev
channels:
- conda-forge
dependencies:
- numpy
- scipy
- matplotlib
- gdal
- netcdf4
- pandas
- pytest
- wradlib
- cartopy
- cvxopt
- xarray
- metpy
- pytest-cov
- pytest-mpl
- coveralls
- flake8
- Cython
- fsspec
- glpk
- cftime
- setuptools
- shapely
- ruff
- pip
- pip:
- cibuildwheel
- pooch
- versioneer
- black
- git+https://github.com/openradar/open-radar-data
Loading

0 comments on commit ffb78f6

Please sign in to comment.