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

ADD: Transparency options for geotiff writer #1496

Merged
merged 6 commits into from
Sep 24, 2024
Merged

Conversation

qubitqualia
Copy link
Contributor

Added options to the geotiff writer that allow RGB images to be created with a transparent background. An opacity setting was also added to control the overall transparency of the output image.

  • [X ] Tests added
  • [ X] Documentation reflects changes

@zssherman
Copy link
Collaborator

@qubitqualia Thanks for the PR! Looks reasonable to me! Think just some PEP8 fixes are needed for the nonewline etc

@qubitqualia
Copy link
Contributor Author

Should be good now. This is my first pull request so thank you for your patience!

@zssherman
Copy link
Collaborator

No worries! Rerunning the tests now

@zssherman
Copy link
Collaborator

Looks like a few more PEP8 changes.

@zssherman
Copy link
Collaborator

@qubitqualia I left a few more comments, and quick question, are we setting the default to transparent? Or are we setting it to normal prior to this PR and if a user wants to they can set it to transparent, I saw the transparent parameter set to true and wanted to make sure.

@zssherman zssherman requested a review from mgrover1 September 24, 2024 17:29
@zssherman
Copy link
Collaborator

@mgrover1 I got the tests passing now, If you can do a review on this when you have time?

Copy link
Collaborator

@mgrover1 mgrover1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This look good - thanks for the test here as well

@zssherman zssherman merged commit 14f625a into ARM-DOE:main Sep 24, 2024
18 checks passed
mgrover1 added a commit that referenced this pull request Oct 8, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants