Skip to content

Commit

Permalink
Update release 2.0 (#1662)
Browse files Browse the repository at this point in the history
* FIX: Update accessor.py (#1457)

* DOC: Update outdated installation instructions (#1462)

* FIX: Add isinstance checks to improve linting

* FIX: Update the installation instructions

* FIX: Update python versions

* FIX: Update master to main in contributors guide

* ADD: Add new xradar functionality (#1456)

* FIX: Add isinstance checks to improve linting

* ADD: Add suite of new utilities to xradar accessor

* ADD: Add new xradar tests

* ADD: Add gridding support from the xradar object (#1468)

* FIX: Add isinstance checks to improve linting

* ADD: Add support for gridding from the xradar object

* FIX: Fix failing tests

* FIX: Cleanup the type hinting

* FIX: Use allclose instead of assert equal

* DOC: Add docs for using xradar and Py-ART together (#1469)

* DOC: Add docs for xradar and Py-ART

* DOC: Add docs on using xradar with Py-ART

* FIX: Fix small bugs

* DOC: Add xradar gridding example (#1470)

* FIX: Fix the small typo in xradar grid example (#1471)

* DOC: Add dealias example with xradar (#1472)

* ADD: Add dealias example with xradar

* Fix misspelling of velocities

* ADD: Add python 3.12 to ci and wheels (#1473)

* ADD: Add python 3.12 to ci and wheels

* ADD: Add additional docs on updated python versions

* FIX: Fix the colormap in xradar examples (#1474)

* ADD: Add updated changelog for new release (#1475)

* ENH: Column Vertical Profile (CVP) Addition (#1478)

* ENH: Update for column vertical profile subset

* ENH: inclusion of column_vertical_profile

* ENH: inclusion of column_vertical_profile and associated functions

* ENH: Addition of tests for column_vertical_profile

* ENH: Linting corrections to columnsect. used ruff

* ENH: linting corrections to test_columnsect; used ruff

* ENH: Pre-commit linting corrections

* ENH: Pre-commit linting corrections

* ENH: Further columnsect linting corrections

* ENH: removal of trailing whitespace..

* ENH: testing why pre-commit is giving me linting issues

* ENH: Requested Corrections

* MNT: Few more docstring changes.

* CI: Temporary pin python 3.11 until datattree does a release.

* Remove python version pin

* FIX: Upgrade the version of precommit linter

* update python v

---------

Co-authored-by: zssherman <[email protected]>
Co-authored-by: Max Grover <[email protected]>

* FIX: Fix python version used in CI system (#1482)

* FIX: Fix python version used in CI system

* FIX: Fix incorrect arg in ci workflow

* DEL: Remove pinning of libnetcdf

* ADD: Ability to create a Py-ART Grid FROM an xarray object (#1479)

* ADD: Xarray to Py-ART Grid interface

* FIX: Pre-commit hooks

* DOC: Parameters for Xgrid

* ADD: Close dataset to test_accessor

---------

Co-authored-by: Robert Jackson <[email protected]>

* FIX: Fix setting scan_mode when scan_name is empty (#1484)

* FIX: Fix python version used in CI system

* FIX: Fix incorrect arg in ci workflow

* DEL: Remove pinning of libnetcdf

* FIX: Fix when sweep_name is an empty attribute

* FIX: Add more robust check

* ADD: function to rescale reflectivity to a precipitation rate (#1486)

* Create precip_rate.py

* Update __init__.py

* Create test_precip_rate.py

* Update precip_rate.py

* Linting formatting

* Update test_precip_rate.py

* Update test_precip_rate.py

* Move functions and change math to numpy

* Update formatting

* Update formatting

* FIX: Fix the testing suite to avoid nans

---------

Co-authored-by: mgrover1 <[email protected]>

* ENH: updated feature detection function and example (#1487)

* Rename functions and variables to remove "convective-stratiform"

We want to make this function more generic so it can be used on a wide variety of fields and not just to detect convective and stratiform elements. I renamed most of the functions and some of the variables to reflect this and hopefully make it easier to use.

* Add new reference

* Incorporate binary closing option to functions

* Add author to functions

* Slight reformat for linting

* More linting formatting

* Add alternate option for getting under/over estimate field

* Create plot_feature_detection.py

* Delete plot_convective_stratiform.py

* Update echo_class.py

* Update plot_feature_detection.py

* Update plot_feature_detection.py

* Update test_echo_class.py

* Keep original function and add warning

* Revert "Delete plot_convective_stratiform.py"

This reverts commit 2bff81ac0d8c33b3a51c4d6485d43994d52956ad.

* Update __init__.py

* Update echo_class.py

* Update dictionary keys

* Update plot_convective_stratiform.py

* Fix issues

* Update plot_convective_stratiform.py

* Minor metadata correction to core.radar.get_elevation (#1489)

* FIX: change deprecated np.str in arm_vpt to str

* Update default wind_size in calculate_velocity_texture from 4 to 3
Using an odd number prevents single index offsets in placement in
case of an even size

* ADD: optional rectangular window dims for velocity texture analysis.
Also, modify the default window size to 3 instead of the previous
value of 4 (even number resulting in a potential offset).

* FIX: nyquist velocity dtype in radar obj loaded with read_kazr

* pep8

* line reformatting per black

* TST: unit tests for rectangular texture window

* STY: linting (black)

* FIX: Add in linting fixes

* FIX: metadata in core.radar.get_elevation

---------

Co-authored-by: mgrover1 <[email protected]>

* FIX: outdated text in masking_data_with_gatefilters.ipynb (#1490)

* FIX: change deprecated np.str in arm_vpt to str

* Update default wind_size in calculate_velocity_texture from 4 to 3
Using an odd number prevents single index offsets in placement in
case of an even size

* ADD: optional rectangular window dims for velocity texture analysis.
Also, modify the default window size to 3 instead of the previous
value of 4 (even number resulting in a potential offset).

* FIX: nyquist velocity dtype in radar obj loaded with read_kazr

* pep8

* line reformatting per black

* TST: unit tests for rectangular texture window

* STY: linting (black)

* FIX: Add in linting fixes

* FIX: metadata in core.radar.get_elevation

* FIX: outdated text in masking_data_with_gatefilters.ipynb

---------

Co-authored-by: mgrover1 <[email protected]>

* ENH: Add method to automatically determine radar sweep indices (#1493)

* FIX: change deprecated np.str in arm_vpt to str

* Update default wind_size in calculate_velocity_texture from 4 to 3
Using an odd number prevents single index offsets in placement in
case of an even size

* ADD: optional rectangular window dims for velocity texture analysis.
Also, modify the default window size to 3 instead of the previous
value of 4 (even number resulting in a potential offset).

* FIX: nyquist velocity dtype in radar obj loaded with read_kazr

* pep8

* line reformatting per black

* TST: unit tests for rectangular texture window

* STY: linting (black)

* FIX: Add in linting fixes

* FIX: metadata in core.radar.get_elevation

* FIX: outdated text in masking_data_with_gatefilters.ipynb

* ADD: method to automatically determine sweep number and sweep start and end indices

* add comment to 'determine_sweeps' method

* FIX: indexing bug in 'determine_sweeps' method

* ADD: unit tests for 'determine_sweeps'

* linting

* FIX: nsweeps wasn't updated when calling 'determine_sweeps'; tests were updated accordingly

* line reformatting per black

* FIX: update multiple radar object attributes to ensure its full utilization with Py-ART after 'determine_sweeps' is called

* line reformatting per black

* linting

* ENH: add antenna_transition to the testing module's sample objects

* ENH: update unit tests to reflect antenna_transition allocation in sample_objects

* Update pyart/util/radar_utils.py

Co-authored-by: Max Grover <[email protected]>

* Update pyart/util/radar_utils.py

Co-authored-by: Max Grover <[email protected]>

---------

Co-authored-by: mgrover1 <[email protected]>

* FIX: Fix failing CI by pinning older metpy versions (#1501)

* FIX: Fix the failing build of the gallery (#1503)

* ENH: Speed up IO for nexrad level2 file (#1504)

* Update rainbow_wrl.py (#1497)

* Update rainbow_wrl.py

Prevent program from crashing when bins changes between sweeps.

* ADD: Add new properties for _range in rainbow_wrl.py

Add two properties, "meters_between_gates" and "meters_to_center_of_first_gate", required by the uf format file.

* Update rainbow_wrl.py

Raise error when range resolution changes between sweeps.

* refactor: Fix linting

* refactor: Fix linting

* DOC: Add pre-commit section to docs (#1506)

* ENH: Addition of New Radar Echo Classification Function (#1495)

* ADD: _echo_class_wt.py: RadarEchoClass module with all methods/code from PyREClass.

* ADD:wrapper function for wt_reclass

* REFORMAT: Function names comply with PyART & PEP8 standards.

* REFORMAT: Function names comply with PyART & PEP8 standards.

* Revert "REFORMAT: Function names comply with PyART & PEP8 standards."

This reverts commit 6ce7cc8c711256c1047ff6596e93896a66274ff0.

* REFORMAT: Function names comply with PyART & PEP8 standards.

* ADD: masked array, detailed func arguments

* MOD:func user arguments used,class num changed.

* DOC:function and user arguments.

* MOD: added metadata to field dictinery.

* order of classes changed

* cappi level added;better description of calsses

* REFORMAT: PEP8 style

* FORMAT:PEP8

* MOD:sanity check for conv core threshold

* MOD:More sanity check for thresholds

* MOD:Added override to sanity check+documentation

* MOD:minor

* invalid grid raises exception

* first unit test added

* ADD:func make_gaussian_storm_grid

* ADD: test for  output validity

* ADD:utest for results of classification

* ENH: test documentation and apply black formatting

* ENH:small test func  merged;name change

* ADD: Stat-based tests for Gaussian storm grid function

* ADD: example

* FORMAT:Black

* FIX: issues for #1495 the code review

- aded TypeError handling in `_echo_class_wt.py`
- Left tab docstring in `echo_class.py`
- Added blank line in `_echo_class_wt.py`
- Did not check `reflectivity_to_rainrate` function for duplication
- Spellcheck Done
- Confirmed grid object check in `echo_class.py`
- Added `#noqa` comment in `__init__.py`

* FIX:unused imports andvariables removed

* Removed two line func sum_conv_wavelets();

* minor

* Removed reflectivity_to_rainrate()

* Test PAssed reflectivity_to_rainrate():

* minor:autosummary

* ADD:conv_wavelet_sum()

* Func Renamed: get_reclass -> wavelet_reclas

* Refined documentation and Descriptive user arguments

* FMT: Black

* ENH:Docstring

* DOC:Better description & ordering  of classification categories

* REFACTOR:scale_break now computed in calling function

Moved scale break calculation to calling function, outputting scale_break as a parameter for the user. Adjusted related functions and variables.

* ENH:scale_break is adaptive to resolution

* ENH:atol added, tests default function arguments

* FROMAT:black

* MINOR:corrected tab in docstring

* used new scaling and added description

* MINOR: alignment in docstring

* FORAMT:linting error corrected

* 'LINTING ERR:import-block sorted;extra'()' removed'

Follwing errors are fixed:
pyart/retrieve/_echo_class_wt.py:192:26: UP034 [*] Avoid extraneous parentheses
pyart/retrieve/echo_class.py:6:1: I001 [*] Import block is un-sorted or un-formatted
Found 2 errors.
[*] 2 fixable with the `--fix` option.
Error: Process completed with exit code 1.

* FIX: Fix linting error

* FIX: Fix more linting errors

* DOCS:minor docstrig chages from Zach

* DOCS: testing precommit

---------

Co-authored-by: mgrover1 <[email protected]>
Co-authored-by: Max Grover <[email protected]>

* FIX: Remove the metpy pin for doc build and CI (#1507)

* ENH: Add 'zdist_factor' input parameter to 'map_gates_to_grid'. (#1509)

* FIX: change deprecated np.str in arm_vpt to str

* Update default wind_size in calculate_velocity_texture from 4 to 3
Using an odd number prevents single index offsets in placement in
case of an even size

* ADD: optional rectangular window dims for velocity texture analysis.
Also, modify the default window size to 3 instead of the previous
value of 4 (even number resulting in a potential offset).

* FIX: nyquist velocity dtype in radar obj loaded with read_kazr

* pep8

* line reformatting per black

* TST: unit tests for rectangular texture window

* STY: linting (black)

* FIX: Add in linting fixes

* FIX: metadata in core.radar.get_elevation

* FIX: outdated text in masking_data_with_gatefilters.ipynb

* ADD: method to automatically determine sweep number and sweep start and end indices

* add comment to 'determine_sweeps' method

* FIX: indexing bug in 'determine_sweeps' method

* ADD: unit tests for 'determine_sweeps'

* linting

* FIX: nsweeps wasn't updated when calling 'determine_sweeps'; tests were updated accordingly

* line reformatting per black

* FIX: update multiple radar object attributes to ensure its full utilization with Py-ART after 'determine_sweeps' is called

* line reformatting per black

* linting

* ENH: add antenna_transition to the testing module's sample objects

* ENH: update unit tests to reflect antenna_transition allocation in sample_objects

* Update pyart/util/radar_utils.py

Co-authored-by: Max Grover <[email protected]>

* Update pyart/util/radar_utils.py

Co-authored-by: Max Grover <[email protected]>

* ENH: add 'zdist_factor' input parameter to 'map_gates_to_grid'.
This parameter scales the distance in the z-dimension when calculating
weights upon gridding. It is a semi-equivalent to the scaling factors in
the RoI class methods. Example for using this parameter would be setting
a 'zdist_factor' value of 0.0 combined with an h_factor=0.0 (if calling
DistBeamRoI) or z_factor=0.0 (if calling DistRoI), resulting in the
exclusion of the z dimension in gridding weighting, which could serve as
a potential solution for gridding a single PPI sweep from a single radar.
In that case, the distance in the weighting function effectively serves as
the distance of a given point from the PPI sweep's cone.

* DEL: remove a redundant (liekly residual) input parameter (toa) from map_gates_to_grid

* MNT: set a consistent nomenclature for the distance squared parameter.
In parts of the 'map_grid' method it was referred to as 'dist' whereas
in another as 'dist2' (parameter calculation lines differ in style but
identical in value), resulting in an unnecessary scalar allocation,
and a confusing nomenclature.

* DOC: Add example for gridding data

* Update pyart/map/gates_to_grid.py

Co-authored-by: Max Grover <[email protected]>

---------

Co-authored-by: mgrover1 <[email protected]>

* ADD: Function to create CFADs (#1492)

* Create cfad.py

* Update __init__.py

* Create test_cfad.py

* Create plot_cfad.py

* Update plot_cfad.py

* Update plot_feature_detection.py

* Update cfad.py

* Update test_cfad.py

* Update plot_cfad.py

* linting updates

* linting update

* Update to use grid or radar object

* corrections

* update example

* Update test_cfad.py

* Update test_cfad.py

* Update test_cfad.py

* add spaces

---------

Co-authored-by: Zach Sherman <[email protected]>

* FIX: Update codeql.yml (#1515)

Update the code quality actions

* ADD: Add dependabot to track new github actions (#1518)

* FIX: Fix warning errors for scipy and numpy (#1519)

* FIX: Fix use of round in region dealias

* FIX: Fix use of cumulative trapezoid with scipy in attenuation

* Build(deps): Bump the actions group with 10 updates (#1520)

* Build(deps): Bump the actions group with 10 updates

Bumps the actions group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `2` | `4` |
| [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) | `3.8.0` | `3.9.3` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action) | `2.1.0` | `4.1.0` |
| [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) | `0.9.1` | `0.12.1` |
| [actions/setup-python](https://github.com/actions/setup-python) | `4` | `5` |
| [pre-commit/action](https://github.com/pre-commit/action) | `3.0.0` | `3.0.1` |
| [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) | `2.9.0` | `2.16.5` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `3` | `4` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `3` | `4` |
| [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) | `1.4.2` | `1.8.12` |


Updates `actions/checkout` from 2 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

Updates `peaceiris/actions-gh-pages` from 3.8.0 to 3.9.3
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3.8.0...v3.9.3)

Updates `codecov/codecov-action` from 2.1.0 to 4.1.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v4.1.0)

Updates `styfle/cancel-workflow-action` from 0.9.1 to 0.12.1
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.9.1...0.12.1)

Updates `actions/setup-python` from 4 to 5
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

Updates `pre-commit/action` from 3.0.0 to 3.0.1
- [Release notes](https://github.com/pre-commit/action/releases)
- [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1)

Updates `pypa/cibuildwheel` from 2.9.0 to 2.16.5
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.9.0...v2.16.5)

Updates `actions/upload-artifact` from 3 to 4
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

Updates `actions/download-artifact` from 3 to 4
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

Updates `pypa/gh-action-pypi-publish` from 1.4.2 to 1.8.12
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.4.2...v1.8.12)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: pre-commit/action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>

* ADD: Add setuptools to setup requires

* ADD: Add the python installation part

* add older version of cibuildwheel

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mgrover1 <[email protected]>

* FIX: Fix the name of download-upload-artifact action (#1524)

* ADD: Add new xdrlib drop in replacement (#1525)

* FIX: Possible fix for upload failure for wheels. (#1526)

* FIX: Possible fix for upload failure for wheels.

* STY: Fix for ruff linting.

* Build(deps): Bump the actions group with 3 updates (#1528)

Bumps the actions group with 3 updates: [actions/setup-python](https://github.com/actions/setup-python), [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).


Updates `actions/setup-python` from 3 to 5
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v5)

Updates `pypa/cibuildwheel` from 2.9.0 to 2.16.5
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.9.0...v2.16.5)

Updates `pypa/gh-action-pypi-publish` from 1.8.12 to 1.8.14
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.12...v1.8.14)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* FIX: Use existing time extraction in Py-ART in columnsect (#1529)

* Build(deps): Bump the actions group with 1 update (#1530)

Bumps the actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).


Updates `pypa/cibuildwheel` from 2.16.5 to 2.17.0
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.16.5...v2.17.0)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ENH: Add instrument parameter check for sinarame. (#1532)

* ENH: Add check fro instrument parameters.

* FIX: Add dict definition.

* ADD: Add blog post on EPCAPE (#1534)

* ADD: Add blog post on EPCAPE

* ADD: Add missing image

* FIX: Add more robust xradar/Py-ART bridge (#1537)

* FIX: Fix handling of instrument params

* ADD: Add xradar to deps for doc

* update xradar version

* Make sure to specify min vesion

* CI: Use conda over pip for xradar

* Build(deps): Bump the actions group with 1 update (#1539)

Bumps the actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).


Updates `codecov/codecov-action` from 4.1.0 to 4.1.1
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* FIX: consistent sweep determination for RHI at 0 degrees azimuth (#1541)

* FIX: consistent sweep determination for RHI at 0 degrees azimuth

* STY: linting (black)

* STY: linting (black)

* FIX: Update xradar requirements (#1542)

* FIX: Fix handling of instrument params

* ADD: Add xradar to requirements

* FIX: Specify the version of h5py used

* FIX: Remove the h5py dep as it is redundant with the latest xradar release

* ENH: Remove the pins for xradar in the conda env files

* FIX: Fix scipy gaussian deprecation in testing (#1544)

* FIX: Fix handling of instrument params

* FIX: Fix the numpy module used in spectra

* FIX: Add get_azimuth xradar (#1547)

* FIX: Fix handling of instrument params

* ADD: Add get_azimuth method to xradar

* ENH: Dimension-dependent weighting factor flexibility in gridding (#1545)

* ENH: Dimension-dependent weighting factor flexibility in gridding
(previously, weighting scaling was optional only for the z-dim)

* TST: modify tests to align with new mapping scaling factor flexibility

* FIX: dist2 bug fix + STY

* FIX: optional conversion of  h_factor and dist_factor to array (compatibility)

* DOC: Update recent changelog for up to version 1.18.1 (#1549)

* Build(deps): Bump codecov/codecov-action in the actions group (#1551)

Bumps the actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).


Updates `codecov/codecov-action` from 4.1.1 to 4.2.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.1.1...v4.2.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ADD: Add code of conduct (#1554)

* FIX: Fix handling of instrument params

* ADD: Add code of conduct to the repo

* ADD: Add enforcement section

* FIX: physically consistent RoI calculation for gridding; updated gridding input parameters to mitigate smearing (#1552)

* ENH: Dimension-dependent weighting factor flexibility in gridding
(previously, weighting scaling was optional only for the z-dim)

* TST: modify tests to align with new mapping scaling factor flexibility

* FIX: dist2 bug fix + STY

* FIX: optional conversion of  h_factor and dist_factor to array (compatibility)

* FIX: physically consistent RoI calculation for gridding; updated gridding input parameters to mitigate smearing

* ENH: `min_radius` smaller for ARM radars reflecting higher resolution
FIX: consistent default values in `map_to_grid`

* STY: liniting (black)

* Increase min_radius default to necessarily cover 250 m resolution fluctuations

* FIX: `try` statement for using/testing metadata information

* TST: update a few tests which were to rigid without flexibility to consider any changes to the gridding methods

* STY: linting (black)

* FIX: specific AttributeError; explicit default input parameter values

* ADD: Support build wheels for numpy 2.0 (#1555)

Co-authored-by: Zach Sherman <[email protected]>

* FIX: Updates datetime.utcnow to .now using timezone object. (#1556)

* ADD: Add frequency in sigmet/iris IO (#1557)

* Build(deps): Bump the actions group with 2 updates (#1560)

Bumps the actions group with 2 updates: [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) and [codecov/codecov-action](https://github.com/codecov/codecov-action).


Updates `peaceiris/actions-gh-pages` from 3.9.3 to 4.0.0
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3.9.3...v4.0.0)

Updates `codecov/codecov-action` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* DOCS: Add more documentation on adding frequency for hydroclass (#1563)

* ENH:Docs:hydroclass

* Fix:linting

* ADD: Add updated cython and flags for numpy (#1564)

* FIX: Update for multiple warnings. (#1569)

* FIX: Update for multiple warnings.

* FIX: PEP8 fixes.

* FIX: One last PEP8.

* FIX: Fix linting percent (#1572)

* FIX: Fix linting errors causing errors in CI

* ADD: Add pin for ruff version in ci

* CI: Update ruff syntax. (#1571)

* Gridding RHI and PPI sweeps of single radar objects separately into xarray.Dataset objects (#1567)

* ENH: Dimension-dependent weighting factor flexibility in gridding
(previously, weighting scaling was optional only for the z-dim)

* TST: modify tests to align with new mapping scaling factor flexibility

* FIX: dist2 bug fix + STY

* FIX: optional conversion of  h_factor and dist_factor to array (compatibility)

* FIX: physically consistent RoI calculation for gridding; updated gridding input parameters to mitigate smearing

* ENH: `min_radius` smaller for ARM radars reflecting higher resolution
FIX: consistent default values in `map_to_grid`

* STY: liniting (black)

* Increase min_radius default to necessarily cover 250 m resolution fluctuations

* FIX: `try` statement for using/testing metadata information

* TST: update a few tests which were to rigid without flexibility to consider any changes to the gridding methods

* STY: linting (black)

* FIX: specific AttributeError; explicit default input parameter values

* ENH: A util sub-module for mapping methods: currently adding the option of gridding RHI and PPI sweeps of single radar objectes separately into xarray.Dataset objects

* FIX: bug fixes in single sweep gridding methods; moving methods from the util to the map module

* ENH: add `make_target_rhi_radar` to generate a target RHI radar object for testing

* TST: Tests for grid_ppi_sweeps and grid_rhi_sweeps

* STY: linting (black)

* STY: linting (black)

* STY: pep8

* STY: pep8

* STY: linting

* DOC: information about ARM radars in method metadata

* FIX: Fix dimensions for grid origin (#1574)

* Build(deps): Bump codecov/codecov-action in the actions group (#1575)

Bumps the actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).


Updates `codecov/codecov-action` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* MNT: Update to_xarray to show nradar info. (#1576)

* Build(deps): Bump pypa/cibuildwheel in the actions group (#1577)

Bumps the actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).


Updates `pypa/cibuildwheel` from 2.17.0 to 2.18.0
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.17.0...v2.18.0)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* MNT: Update arm_scan_name to be optional. Also dep warning fix. (#1578)

* MNT: Update arm_scan_name to be optional. Also dep warning fix.

* STY: PEP8 fixes.

* FIX: Warning import was mispelled.

* DOC: Update the attenuation docs to reflect where the formula comes (#1579)

from.

* ADD: Adding new gatefilter method to remove last gates. (#1580)

This is useful for removing artificial rings near the end of data.
Closes #407

* BUG: Update to Column Vertical Profile Handling of Defining Radar Basetime (#1581)

* BUG: update column vertical profile handling of radar basetime

* ENH: Correct call of datetime_from_radar

* Build(deps): Bump codecov/codecov-action in the actions group (#1583)

Bumps the actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).


Updates `codecov/codecov-action` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.3.1...v4.4.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build(deps): Bump the actions group with 2 updates (#1587)

Bumps the actions group with 2 updates: [codecov/codecov-action](https://github.com/codecov/codecov-action) and [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).


Updates `codecov/codecov-action` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.4.0...v4.4.1)

Updates `pypa/cibuildwheel` from 2.18.0 to 2.18.1
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.18.0...v2.18.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* FIX: Update pyproj functions to take string. (#1589)

* FIX: Update pyproj functions to take string.

* STY: Update to use isinstance.

* ENH: Update nexrad level 3 reader to read super resolution data. (#1591)

* ENH: Update nexrad level 3 reader to read super resolution data.

* STY: PEP8 fixes.

* STY: More PEP8 changes that somehow weren't caught.

* STY: ..........

* FIX: Fix for numpy nan calls for 2.0. (#1597)

* FIX: Fix for numpy nan calls for 2.0.

* FIX: Change numpy inf calls.

* FIX: Update more nan calls.

* CI: Update pyproject for deprecation warnings.

* FIX: Fix for indexing issue.

* FIX: Fix changing apis in xarray + numpy

* ADD: Add pyproject fix again

* Put the linting back in

* FIX: Fix cfradial linting

* ADD: Add numpy 2.0 in ci env

* FIX: Fix percent issues with scripts

* FIX: Fix check on maximum data point in array

* FIX: Fix the numpy 2.0 pin

* FIX: Fix lower bound of array

* DEL: Remove erraneuous test

* FIX: Fix test for sigmet within 2 sigfig

* Be within one decimal

* FIX: Ensure check is for a float32 for sigmet freq

---------

Co-authored-by: mgrover1 <[email protected]>

* ADD: Addition of above_toa_filter. (#1586)

* ADD: Addition of above_toa_filter.
This filter replaces toa parameter in gridding code and allows for the
user to specify their own remove above toa filter by using the
gatefilter for consistency between both gridding functions.

* STY: PEP8 line fix.

* DOC: Update docstring for toa.

* MNT: Include toa for backwards compatability.

* MNT: Add back old comments.

* MNT: Add back in toa.

* ADD: `radar_freq` param in `hydroclass_semisupervised` (#1573)

* reformated, tests working

* warnings

* docs string

* docs changed

* old Note changed to reflect new addition

* more description added

* MOD: ipynb to py script

* Delete:ipynb

* comments added as per sphinx

* comments added

* example file renamed

* used open_radar_data

---------

Co-authored-by: Zach Sherman <[email protected]>

* Build(deps): Bump the actions group with 3 updates (#1596)

* Build(deps): Bump the actions group with 3 updates

Bumps the actions group with 3 updates: [codecov/codecov-action](https://github.com/codecov/codecov-action), [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).


Updates `codecov/codecov-action` from 4.4.1 to 4.5.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.4.1...v4.5.0)

Updates `pypa/cibuildwheel` from 2.18.1 to 2.19.1
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.18.1...v2.19.1)

Updates `pypa/gh-action-pypi-publish` from 1.8.14 to 1.9.0
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.14...v1.9.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>

* ADD: Add refined netcdf requirement

* DEL: Remove the setup.cfg

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mgrover1 <[email protected]>
Co-authored-by: Max Grover <[email protected]>

* CI: Update wheels to use macos14. (#1601)

* CI: Update wheels to use macos14.

* CI: Update to use macos-13 as well.

* FIX: Fix builds for latest scipy (#1604)

* FIX: Ensure apple builds on its own systems (#1606)

* ADD: Animated GIF PPI Blog notebook (#1598)

* ADD: Animated GIF PPI Blog notebook

This is the Making animated GIFs for radar PPI plots blog. This is in relation to the Summer 2024 SULI project and it covers a convective event over Lemont, IL on June 5th, 2024

* PPI notebook reformatted

* Fixed PPI notebook yet again. Should properly work this time

* Pre-commit fixes on my end should let it work correctly

* removed the duplicate notebook

* Updated Metadata to add a date

* Requested changes were made

---------

Co-authored-by: Zach Sherman <[email protected]>

* Build(deps): Bump pypa/cibuildwheel in the actions group (#1607)

Bumps the actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).


Updates `pypa/cibuildwheel` from 2.19.1 to 2.19.2
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.19.1...v2.19.2)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Rename Animated_GIFS_With_PyART.ipynb to animated-gifs-with-pyart.ipynb

* FIX: Renaming and opening PR in attemps to fix generation issue. (#1610)

* FIX: Renaming and opening PR in attemps to fix generation issue.

* FIX: Update metadata and title and tags.

* Build(deps): Bump pypa/cibuildwheel in the actions group (#1611)

Bumps the actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).


Updates `pypa/cibuildwheel` from 2.19.2 to 2.20.0
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.19.2...v2.20.0)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update _sigmetfile.pyx (#1612)

add decoding for corrected velocity

* FIX: Add fix for matplotlib updated version (#1614)

* Updated Documentation for retrieve/hydroclass_semisupervised function (#1616)

* class names added to the documentation

* example added

* description

* description refined

* Corrected spelling/punctuations

* Add more references (#1620)

* ADD: Add reference for compute_cdf

* ADD: Add reference for computations

* ADD: Add qpe references

* Addition of qvp functions from MeteoSwiss Py-ART + support of demixing in hydroclass_semisupervised (#1618)

* ENH: addition of qvp functions from MeteoSwiss Py-ART + entropy computation in hydroclass_semisupervised

* FIX: fixing est_rain_rate_hydro to match ARM original

* ENH: black formatting

* FIX: modified pyart examples to handle new hydroclass_semisupervised output

* FIX: fix in plot_hydrometeor_class_x_band.py example which was using wrong hydroclass labels

* ENH: updated defaut_config.py to account for new outputs of hydroclass_semisupervised

* FIX: adapted hydroclass_semisupervised to account for specified radar_freq

* FIX: adapted hydroclass_semisupervised to account for specified radar_freq

* ADD: new tests for missing fcts

* ENH: add support for more scan modes in qvp fcts

* FIX: docstring correction in cartesian_to_antenna

* FIX: missing hydrometeor variables in default_config.py

* fixes to make tests pass

* fixes to make tests pass

* FIX: changed value in ZDR standardization from -5 to 5 to -1.5 to 5 according to Besic (2016)

* ENH: Improve performance for xradar interface (#1621)

* ADD: Add to_radar() method to xradar objects (#1622)

* ADD: Add to_radar() method

* FIX: Fix the examples to use new to_radar() interface

* DOC: Enable readthedocs (#1629)

* ADD: Adding cloud mask code. (#1628)

* ADD: Adding cloud mask code.

* MNT: Update change suggested by max.

Co-authored-by: Max Grover <[email protected]>

---------

Co-authored-by: Max Grover <[email protected]>

* Rename .readthedocs.yaml to readthedocs.yaml

* FIX: Add local install of pyart to doc env file (#1631)

* FIX: Add local install of pyart to doc env file

Add a local install of pyart to docs environment

* Update environment.yml

* CI: Update to have pint to fix build wheels failure. (#1634)

* ENH: Max CAPPI (#1633)

* ENH: xarray grid compatibility

* ENH: xarray grid output

* adding back xarray availablity check

* pre-commit run

* fix minor error in grid_to_xarary

* modified coords in function to_xarray()

* modified coords in function to_xarray() + pre-commit

* Add plot_max_cappi example and update related modules

* Update tests and fix Example

* drop a few  args

* Fix grid.to_xarray()

* FIX: Fixed some tests and to_xarray() function

* FIX: Fixed to_xarray() for more than one radar

---------

Co-authored-by: Zach Sherman <[email protected]>

* ADD: Adding cloud mask example. (#1632)

* ADD: Adding cloud mask example.

* MNT: Wrong field.

* DOC: Add pyart 2.0 migration guide (#1625)

* DOC: Add pyart 2.0 migration guide

* ADD: Add revised structure to py-art 2.0

* ADD: Add cartopy as a dependency (#1636)

* ADD: Add cartopy as a dependency

* ADD: Add cartopy in readme as dependency

* FIX: Remove skipping test for not install cartopy

* FIX: Remove last couple mentions of cartopy and test locally

* ADD: ZDR bias code from RadTraQ (#1630)

* ADD: ZDR bias calculations from Radtraq

* ADD: Example for gallery

* ADD: ZDR bias calculations

* FIX: Revert back for spectra_calculations.py

* FIX: Restore phase proc from main branch

* STY: Black and ruff changes.

* FIX: Duplicate entries in __init__ and obj to radar

* FIX: Reinsert calc_bias

* FIX: Never mind, there were two calc_biases

---------

Co-authored-by: Zach Sherman <[email protected]>

* ADD: Add corner reflector example (#1637)

* Build(deps): Bump pypa/gh-action-pypi-publish in the actions group (#1641)

Bumps the actions group with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).


Updates `pypa/gh-action-pypi-publish` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* FIX: Minor fix in plot_maxcappi (#1639)

* FIX: Minor fix in plot_maxcappi

* Update pyart/graph/max_cappi.py

Co-authored-by: Zach Sherman <[email protected]>

* FIX: Remove un-necessary commented lines

---------

Co-authored-by: Zach Sherman <[email protected]>

* FIX: Fixed angle incorrect in xradar PyART radar object wrapper (#1642)

* ADD: Create CAPPI from Radar (#1640)

* ADD: New function to create a CAPPI product

* FIX: Fixed some minor errors

* FIX: Citation

* FIX: Added  AMS Glossary citation

* ADD: Added example of PPI vs CAPPI

---------

Co-authored-by: Max Grover <[email protected]>

* FIX: Used wrong field in plot. (#1643)

* Build(deps): Bump pypa/gh-action-pypi-publish in the actions group (#1644)

Bumps the actions group with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).


Updates `pypa/gh-action-pypi-publish` from 1.10.0 to 1.10.1
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build(deps): Bump pypa/cibuildwheel from 2.20.0 to 2.21.0 in the actions group (#1648)

* Build(deps): Bump pypa/cibuildwheel in the actions group

Bumps the actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).


Updates `pypa/cibuildwheel` from 2.20.0 to 2.21.0
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.20.0...v2.21.0)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>

* FIX: Add missing txt files for colormaps in MANIFEST.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zssherman <[email protected]>

* FIX: Fix errors in docstrings and comments in CAPPI and MAX_CAPPI (#1649)

* FIX: Fix errors in docstrings and comments in CAPPI and MAX_CAPPI

* Update pyart/graph/max_cappi.py

Co-authored-by: Zach Sherman <[email protected]>

* Update pyart/graph/max_cappi.py

Co-authored-by: Zach Sherman <[email protected]>

---------

Co-authored-by: Zach Sherman <[email protected]>

* FIX: Update doc of grid_rhi and fix None sweeps. (#1647)

* Build(deps): Bump the actions group with 2 updates (#1652)

Bumps the actions group with 2 updates: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).


Updates `pypa/cibuildwheel` from 2.21.0 to 2.21.1
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.21.0...v2.21.1)

Updates `pypa/gh-action-pypi-publish` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.1...v1.10.2)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ADD: Transparency options for geotiff writer (#1496)

* ADD: Transparency options for geotiff writer

* FIX: Format input block

* FIX: Format import block

* FIX: PEP8 format fixes

* STY: Update PEP8 formatting.

---------

Co-authored-by: Zach Sherman <[email protected]>
Co-authored-by: zssherman <[email protected]>

* ADD: Add a few lines to ci workflow to resolve issues (#1656)

* ADD: Add a few lines to ci workflow to resolve issues

* FIX: Stop caching downloads

* ADD: Add open-radar-data pip install

* FIX: Go back to caching

* pin micromamba version

* DEL: remove env name in ci

* FIX: Move all packages to use conda-forge

* TST: Update test for windows builds, remove try statement for geotiff. (#1660)

* TST: Update test for windows builds.

* MNT: Remove unused parameter.

* FIX: Update with statement.

* FIX: Update colormap.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Hamid Ali Syed <[email protected]>
Co-authored-by: Max Grover <[email protected]>
Co-authored-by: Joe O'Brien <[email protected]>
Co-authored-by: Max Grover <[email protected]>
Co-authored-by: Bobby Jackson <[email protected]>
Co-authored-by: Robert Jackson <[email protected]>
Co-authored-by: lauratomkins <[email protected]>
Co-authored-by: Israel Silber <[email protected]>
Co-authored-by: HappyXiaoAnAn <[email protected]>
Co-authored-by: Bhupendra Raut <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bhupendra Raut <[email protected]>
Co-authored-by: BrandonWeart <[email protected]>
Co-authored-by: gransen312 <[email protected]>
Co-authored-by: Daniel Wolfensberger <[email protected]>
Co-authored-by: qubitqualia <[email protected]>
  • Loading branch information
17 people authored Oct 8, 2024
1 parent 00dd386 commit a4d34af
Show file tree
Hide file tree
Showing 177 changed files with 13,041 additions and 1,692 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
actions:
patterns:
- "*"
2 changes: 1 addition & 1 deletion .github/workflows/antivirus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
name: AV scan
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Git AV Scan
uses: djdefi/gitavscan@main
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Create environment using micromamba
- name: Install Conda environment with Micromamba
Expand All @@ -41,7 +41,7 @@ jobs:
make html
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.8.0
uses: peaceiris/actions-gh-pages@v4.0.0
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,23 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [macos, ubuntu, windows]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Install dependencies
- name: Setup Conda Environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v1.9.0
with:
environment-file: continuous_integration/environment-ci.yml
activate-environment: pyart-dev
micromamba-version: '2.0.0-0'
init-shell: >-
bash
cache-downloads: true
python-version: ${{ matrix.python-version }}
post-cleanup: "all"
create-args: python=${{ matrix.python-version }}

- name: Fetch all history for all tags and branches
run: |
Expand All @@ -54,7 +57,7 @@ jobs:
- name: Run Linting
shell: bash -l {0}
run: |
ruff .
ruff check .
- name: Run Tests
id: run_tests
Expand All @@ -63,7 +66,7 @@ jobs:
python -m pytest -v --cov=./ --cov-report=xml
- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v2.1.0
uses: codecov/codecov-action@v4.5.0
with:
file: ./coverage.xml
flags: unittests
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -59,7 +59,7 @@ jobs:
# 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
uses: github/codeql-action/autobuild@v3

# ℹ️ 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
Expand All @@ -72,6 +72,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
10 changes: 6 additions & 4 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ jobs:
if: ${{ needs.pre-job.outputs.should_skip != 'true' }}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/[email protected]
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: pre-commit/[email protected]
30 changes: 17 additions & 13 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,49 +28,52 @@ jobs:
os: [
ubuntu-20.04,
windows-2019,
macos-11,
macos-14,
macos-13,
]
fail-fast: false

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install python
uses: actions/setup-python@v5

- name: Fetch all history for all tags and branches
run: |
git fetch --prune --unshallow
- name: Build wheels for CPython
uses: pypa/cibuildwheel@v2.9.0
uses: pypa/cibuildwheel@v2.21.1
with:
output-dir: dist
env:
CIBW_BUILD: "cp39-* cp310-* cp311-*"
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312*"
CIBW_SKIP: "*-musllinux_*" # numpy doesn't have wheels for musllinux so we can't build some quickly and without bloating
CIBW_ARCHS_LINUX: "x86_64"
CIBW_ARCHS_MACOS: x86_64 arm64
MACOSX_DEPLOYMENT_TARGET: "10.9" # as of CIBW 2.9, this is the default value, pin it so it can't be bumped silently
CIBW_ARCHS_WINDOWS: "auto64"
CIBW_BUILD_VERBOSITY: 1
CIBW_ENVIRONMENT: PIP_ONLY_BINARY=":all:"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.os }}
path: ./dist/*.whl

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build sdist
run: pipx run build --sdist

- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/*.tar.gz
Expand All @@ -83,19 +86,20 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
steps:
- name: Download sdist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sdist
path: dist

- name: Download wheels
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wheels
pattern: wheels-*
path: dist
merge-multiple: true

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.4.2
uses: pypa/gh-action-pypi-publish@v1.10.2
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
- id: black-jupyter

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.239'
rev: 'v0.4.9'
hooks:
- id: ruff
args: [ "--fix" ]
129 changes: 129 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Treating others with dignity and respect
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address or phone number, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[email protected].
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
Loading

0 comments on commit a4d34af

Please sign in to comment.