-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMPR] added windshear processing for lidar data
- Loading branch information
Showing
510 changed files
with
220,443 additions
and
242,302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.