Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Update xradar branch to be even with main #1455

Closed
wants to merge 113 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
f0ca09b
add cookbook section (#1199)
mgrover1 Jul 8, 2022
b7559c9
TST: Adding unitests for rain rate module. (#1200)
zssherman Jul 8, 2022
2a79d6b
fix missing < symbol in link (#1201)
mgrover1 Jul 8, 2022
5ab59db
add pypi stats to readme (#1206)
mgrover1 Jul 18, 2022
4bfa4dc
FIX: update join_radar to also append instrument parameters (#1204)
wolfidan Jul 19, 2022
ffa1b74
TST: Moving tests to test module within Py-ART main directory. (#1207)
zssherman Jul 19, 2022
7b2092d
FIX: Fix for only python 3.10 being used. (#1208)
zssherman Jul 19, 2022
4c298c5
remove pinning for specific cftime (#1211)
mgrover1 Jul 19, 2022
c6b552c
DOC: Updating Py-ART's how to release doc and removing most of ci_set…
zssherman Jul 21, 2022
0a4a9af
ENH: Corrected Height Gates to be height above sea level (#1215)
jrobrien91 Jul 22, 2022
5ea116f
TST: Fix median filter depreciation warnings as well as more tests fo…
zssherman Jul 22, 2022
2b19cd6
fix writing IRIS sigmet files to UF (#1216)
wx4stg Jul 23, 2022
0a71096
FIX: join_radar also joins pulse repititon times iparam (#1218)
wx4stg Jul 24, 2022
6029a86
Add pyrad to the readme (#1220)
mgrover1 Jul 25, 2022
8ecf212
FIX: Return zero phase for sweeps completely filtered out with gatefi…
rcjackson Jul 27, 2022
c9a410f
Trmm test (#1228)
zssherman Aug 10, 2022
4d8b4d6
remove load module section (#1234)
mgrover1 Aug 10, 2022
7e71ca6
DOC: Updated pyart doc to include column code, fix incorrect syntax a…
zssherman Aug 10, 2022
a623736
ADD: addition of subset_radar function in radar_utils (#1227)
wolfidan Aug 12, 2022
25786f2
MNT: Remove trmm_rsl from CI optional, remove from debug info. (#1239)
zssherman Aug 16, 2022
2d622cd
FIX: Pin previous version of shapely (#1240)
mgrover1 Aug 17, 2022
e02ab59
FIX: Fix path to modules for API Reference Guide (#1241)
mgrover1 Aug 17, 2022
6289c05
make datetime parsing more general for columnsect (#1261)
mgrover1 Sep 15, 2022
42642ef
ENH: Add column example to docs (#1263)
mgrover1 Sep 16, 2022
12e65e4
ENH: Composite Reflectivity Function (#1235)
dopplerchase Sep 21, 2022
68cd89c
ADD: Add composite reflectivity citation (#1264)
mgrover1 Sep 21, 2022
5041ab0
ADD: Add changelog from previous releases (#1265)
mgrover1 Sep 21, 2022
2244c05
MNT: Update to find namespace packages to fix setuptools warning. (#1…
zssherman Sep 26, 2022
bd5e65e
Update changelog for v1.13.0 (#1276)
mgrover1 Sep 26, 2022
082efd6
ENH: Add cibuildwheel to build wheels (#1267)
mgrover1 Sep 26, 2022
21a303c
FIX: Fix for backwards compatibility for matplotlib 3.6. (#1278)
zssherman Sep 26, 2022
286e283
FIX: Fix matplotlib label location error (#1279)
mgrover1 Sep 29, 2022
05fa996
DOC: Add a new colormap example (#1284)
mgrover1 Oct 3, 2022
ba9a117
remove old list of colormaps (#1285)
mgrover1 Oct 3, 2022
34fb9e3
Fix title of dealias example (#1287)
mgrover1 Oct 7, 2022
68306c9
ENH: Add cross section functionality (#1290)
mgrover1 Oct 13, 2022
7527140
FIX: Update join radar to account for target_scan_rate (#1292)
nguy Oct 18, 2022
517bbcf
ENH: Check for sector scans and use ppi. (#1294)
zssherman Oct 20, 2022
d9ead58
ADD: TRACER blog post (#1296)
rcjackson Oct 21, 2022
cdfb279
ENH: Add fix to blog post, add docs on how to write a blog post (#1299)
mgrover1 Oct 21, 2022
7d40170
Add image muting citation to function and example (#1304)
lauratomkins Oct 28, 2022
57b76d0
FIX: Add check for when instrument parameters is None. (#1306)
zssherman Oct 28, 2022
e47e9bb
ENH: Adding simple antivirus workflow similiar to what Adam implement…
zssherman Oct 28, 2022
83d0cdb
ADD: Add add_grid_lines as an argument for plotting (#1311)
jfigui Nov 3, 2022
661bdb2
FIX: Phase processing code throwing deprecation warnings for scipy.nd…
rcjackson Nov 4, 2022
befcd36
DOC: Added two pyart examples (VAD and hydrometeors) (#1317)
wolfidan Nov 8, 2022
3be6036
ENH: Adding fields parameter to specify list of writing to file. (#1319)
zssherman Nov 8, 2022
996206d
ENH: Improved convective stratiform functions (#1314)
lauratomkins Nov 9, 2022
bec4907
ENH: Add gatefilter to attenuation module (#1324)
mgrover1 Nov 9, 2022
4b38cb0
ADD: Adding add_filter function to radar.py. (#1326)
zssherman Nov 15, 2022
67cf380
Add ci for Python 3.11 (#1303)
mgrover1 Nov 16, 2022
6572100
Add Spectral-like colormaps based on pyart#1320 (#1325)
jthielen Nov 16, 2022
d2aea4a
ADD: Colorbar Manipulation Example (#1300)
jrobrien91 Nov 16, 2022
679e186
FIX: Update changelog for version 1.14.x (#1327)
mgrover1 Nov 17, 2022
e1556f6
ADD: Add blog post on SPC hail reports and NEXRAD (#1335)
mgrover1 Nov 23, 2022
97ca799
FIX: use max_num_gates for calculation of data shape (#1337)
kmuehlbauer Nov 26, 2022
831f754
FIX: check uniformity of range_step, get consistent range_step for ga…
kmuehlbauer Dec 1, 2022
913230d
DOC: Update convective stratiform example (#1339)
lauratomkins Dec 2, 2022
34237ee
FIX: Update link to cookbooks (#1342)
mgrover1 Dec 5, 2022
e1255fb
FIX: Unused variable in region based dealiasing (#1343)
rcjackson Dec 5, 2022
d37677c
FIX: read_sigmet time_ordered bug (#1351)
zouihao Dec 9, 2022
fbbcd88
MNT: Revert setuptools, to avoid unwanted behavior. (#1356)
zssherman Dec 14, 2022
b0a0aa1
DOC: Adding an example on how to read older nexrad data. (#1355)
zssherman Dec 14, 2022
c6cd0ff
DOC: Cleanup as some text was not being generated correctly. (#1357)
zssherman Dec 15, 2022
a9d83d5
Assign boolean to list, not boolean (#1361)
mgrover1 Dec 20, 2022
f2e182c
Fix the CI badge (#1363)
mgrover1 Dec 21, 2022
61fe772
Add pre-commit hooks, black formatting, and style fixes (#1341)
mgrover1 Jan 4, 2023
0714f46
MNT: Move to exec_module instead of load_module (#1369)
mgrover1 Jan 5, 2023
80bb072
remove deprecation line in init file (#1372)
mgrover1 Jan 7, 2023
b15eafa
FIX: Fix for when radar azimuths wrap for get_gate_area. (#1375)
zssherman Jan 13, 2023
af1fd3d
ENH: Small correction to GateMapper example for the API (#1379)
jrobrien91 Jan 19, 2023
f79eb90
REL: fix build for Python 3.11 wheels (#1380)
neutrinoceros Jan 23, 2023
317f52d
FIX: A fix for vpt mismatch array error for matplotlib shading. (#1381)
zssherman Jan 24, 2023
7d14c3d
Remove cython from requirements.txt (#1382)
mgrover1 Jan 24, 2023
fc95dcc
FIX: Fix a link to the old docs in the readme (#1383)
mgrover1 Jan 30, 2023
cb36e2c
Drop Support for Python 3.8 in CI (#1384)
mgrover1 Feb 2, 2023
8d7da85
BUG: Fix to broken link (#1385)
jrobrien91 Feb 2, 2023
5649815
ENH: Add ruff python linting (#1388)
mgrover1 Feb 16, 2023
a9ddc63
FIX: Fix wrong coordinate configuration for xarray (#1390)
mgrover1 Feb 22, 2023
8e83a1b
ADD: Add codeowners, issue, and pr template (#1391)
mgrover1 Feb 22, 2023
c150db0
MNT: Remove VAD warning. (#1392)
zssherman Feb 23, 2023
ce3c7b9
Update link to mailing list (#1393)
mgrover1 Feb 27, 2023
73d9c91
drop pkg_resources as a runtime requirement (#1394)
neutrinoceros Mar 6, 2023
06f2159
CI: Remove python 3.8 and update documentation to reflect releases an…
zssherman Mar 7, 2023
ceab4e2
FIX: Up python version in readme (#1397)
mgrover1 Mar 9, 2023
4f4ce03
DEL: Remove old conda_recipe dir (#1399)
mgrover1 Mar 13, 2023
446a838
colorbar_orient option to plot_ppi_map functions (#1401)
joshua-hampton Mar 16, 2023
75cb884
FIX: Fix new linting issues (#1407)
mgrover1 Mar 24, 2023
362bb40
ADD: Add cfradial 1.4 version to io (#1409)
mgrover1 Mar 29, 2023
3ca1210
Add xradar accessor class (#1411)
mgrover1 Apr 6, 2023
67ee1a0
Add a Blog Post Visualizing Severe Weather in Wisconsin (#1413)
mgrover1 Apr 7, 2023
50c14cb
ADD: Add open radar data as a dependency (#1416)
mgrover1 Apr 11, 2023
6c8bc9c
Add xradar as a dependency (#1417)
mgrover1 Apr 12, 2023
1c8d989
FIX: GateMapper will now map source field to destination radar even i…
rcjackson Apr 13, 2023
9e2690f
MNT: Update commit hooks changelog (#1419)
mgrover1 Apr 14, 2023
a3d07fd
fix: memory leak in grid mappers (#1421)
Vforcell Apr 17, 2023
52f1e1b
Ensure units are in feet for nexrad references (#1423)
mgrover1 Apr 26, 2023
3fffcd3
FIX: Fix type of time for odim reader (#1425)
mgrover1 May 3, 2023
3727e6e
DOC: Add first cut of new theme (#1427)
mgrover1 May 16, 2023
143c756
FIX: Fix masking issue in VAD michelson (#1428)
mgrover1 May 17, 2023
60c3e97
MNT: Remove pandas pinning, testing. (#1430)
zssherman Jun 7, 2023
6dfc60e
Create codeql.yml (#1433)
AdamTheisen Jun 9, 2023
e89aca0
Minor adjustments to convective-stratiform algorith, documentation, a…
lauratomkins Jun 15, 2023
9eeb0f1
FIX: Fix linting errors (#1437)
mgrover1 Jul 15, 2023
7667557
MNT: Support Cython 3.0 (#1440)
mgrover1 Jul 20, 2023
6acc618
DOC: Add dedicated developers guide section (#1442)
mgrover1 Aug 1, 2023
5f04168
ADD: Add to existing developers guide (#1443)
mgrover1 Aug 3, 2023
35d6013
FIX: Add isinstance checks to improve linting (#1444)
mgrover1 Aug 11, 2023
6d48f1b
FIX: change deprecated np.str in arm_vpt to str (#1445)
isilber Aug 14, 2023
70c314c
ENH: optional rectangular window dims for velocity texture analysis a…
isilber Aug 17, 2023
172bbcf
FIX: Fix RSL Cython Interface (#1447)
mgrover1 Aug 17, 2023
ba7f353
FIX: Fix failing ci isinstance (#1448)
mgrover1 Aug 18, 2023
3cd0acb
ADD: Update changelog for recent releases (#1450)
mgrover1 Sep 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ omit =
*/setup.py
*/tests*
pyart/aux_io/*
tests/io/test_rsl.py
tests/correct/test_dealias.py
pyart/io/rsl.py
pyart/correct/dealias.py
pyart/graph/gridmapdisplay_basemap.py
pyart/graph/radarmapdisplay_basemap.py

[report]
exclude_lines =
Expand Down
10 changes: 10 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,

* @mgrover1
* @zssherman

# any files in the intake_esm directory at the root of the
# repository and any of its subdirectories.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
* Py-ART version:
* Python version:
* Operating System:

### Description

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.

### What I Did

```
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
```
5 changes: 5 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- Please remove check-list items that aren't relevant to your changes -->

- [ ] Closes #xxxx
- [ ] Tests added
- [ ] Documentation reflects changes
14 changes: 14 additions & 0 deletions .github/workflows/antivirus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
pull_request:
types: [assigned, opened, synchronize, reopened, closed]

jobs:
gitavscan:
runs-on: ubuntu-latest
name: AV scan
steps:
- uses: actions/checkout@v3
- name: Git AV Scan
uses: djdefi/gitavscan@main
with:
full: '--full'
23 changes: 6 additions & 17 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,24 @@ jobs:
steps:
- uses: actions/checkout@v2

# Install dependencies
- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2
# Create environment using micromamba
- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: doc/environment.yml
activate-environment: pyart-docs
auto-activate-base: false
mamba-version: '*'
use-mamba: true
miniforge-variant: Mambaforge
environment-name: pyart-docs
cache-downloads: true

- name: Fetch all history for all tags and branches
run: |
git fetch --prune --unshallow

- name: Set TRMM RSL path
env:
RSL_PATH: ${{ env.CONDA_PKGS_DIR }}/trmm_rsl-1.49-3
run: echo "$RSL_PATH"

- name: Install PyART
env:
RSL_PATH: ${{ env.CONDA_PKGS_DIR }}/trmm_rsl-1.49-3
run: |
pip install -e .

# Build the website
- name: Build the site
env:
RSL_PATH: ${{ env.CONDA_PKGS_DIR }}/trmm_rsl-1.49-3
run: |
cd doc
make html
Expand Down
49 changes: 12 additions & 37 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,65 +27,40 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
os: [macOS, ubuntu, Windows]
python-version: ["3.9", "3.10", "3.11"]
os: [macos, ubuntu, windows]

steps:
- uses: actions/checkout@v2

# Install dependencies
- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2
uses: mamba-org/setup-micromamba@v1
with:
environment-file: continuous_integration/environment-ci.yml
activate-environment: pyart-dev
auto-activate-base: false
mamba-version: '*'
use-mamba: true
miniforge-variant: Mambaforge

- name: Set TRMM RSL path
shell: bash -l {0}
run: |
echo "$RUNNER_OS"
echo "$RUNNER_OS" == 'Windows'
if [ "$RUNNER_OS" == 'Windows' ]; then
echo 'Trmm will not be installed for Windows'
elif [ "$RUNNER_OS" == 'Linux' ]; then
mamba install -c conda-forge trmm_rsl
export RSL_PATH=$CONDA/pkgs/trmm_rsl-1.49-3
elif [ "$RUNNER_OS" == 'macOS' ]
then
mamba install -c conda-forge trmm_rsl
export RSL_PATH=$CONDA/pkgs/trmm_rsl-1.49-3
else
mamba install -c conda-forge trmm_rsl
export RSL_PATH=$CONDA/pkgs/trmm_rsl-1.49-3
fi
conda list
echo "$RSL_PATH"

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
env:
RSL_PATH: ${{ env.CONDA_PKGS_DIR }}/trmm_rsl-1.49-3
shell: bash -l {0}
run: |
python -m pip install -e . --no-deps --force-reinstall

- name: Run Linting
shell: bash -l {0}
run: |
python -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

ruff .

- name: Run Tests
id: run_tests
env:
RSL_PATH: ${{ env.CONDA_PKGS_DIR }}/trmm_rsl-1.49-3
shell: bash -l {0}
run: |
python -m pytest -v --pyargs pyart --cov=./ --cov-report=xml
python -m pytest -v --cov=./ --cov-report=xml

- name: Upload code coverage to Codecov
uses: codecov/[email protected]
Expand Down
77 changes: 77 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '39 13 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ['python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
31 changes: 31 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: linting

on:
push:
pull_request:
workflow_dispatch:

jobs:
pre-job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
concurrent_skipping: 'same_content'
skip_after_successful_duplicate: 'false'
do_not_skip: '["workflow_dispatch", "schedule"]'
linting:
needs: pre-job
runs-on: ubuntu-latest
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/[email protected]
Loading