[](https://deepwiki.com/joshua-wx/pyhail)
# Python Hail Retrieval Toolkit (pyhail) ⛈️📡🧊
This toolkit provides a collection of hail retrieval techniques for weather radar data.
### Library Dependencies
- numpy
- scipy
- numba
### Supporter radar file readers
- [PyART](https://github.com/ARM-DOE/pyart)
- [PyOdim](https://github.com/vlouf/pyodim)
### Notebook plotting Dependencies
- matplotlib
### Hail Retrivals
- *Hail Size Discrimination Algorithm - HSDA ([Ortega et al. 2016](https://journals.ametsoc.org/doi/10.1175/JAMC-D-15-0203.1))
- Hail Differential Reflectivity - HDR ([Depue et al. 2007](https://doi.org/10.1175/JAM2529.1))
- Maximum Expected Size of Hail - MESH witt1998 ([Witt et al. 1998](https://journals.ametsoc.org/doi/10.1175/1520-0434%281998%29013%3C0286%3AAEHDAF%3E2.0.CO%3B2))
- Maximum Expected Size of Hail - MESH mh2019_75/mh2019_95 ([Murillo and Homeyer 2019](https://journals.ametsoc.org/view/journals/apme/58/5/jamc-d-18-0247.1.xml))
- Accumulated Hail - hAcc ([Wallace et al. 2019](https://journals.ametsoc.org/view/journals/wefo/34/1/waf-d-18-0053_1.xml))
*Note that the Q confidence vector from Park et al. 2009 has not been implemented and all pixels are assigned a value of q=1.
MESH is implemented for both pyart radar (PPI) and grid (Cartesian) data!
### Install using pypi
`pip install pyhail`
### Install from source
To install pyhail, you can either download and unpack the zip file of the source code or use git to checkout the repository:
`git clone git@github.com:joshua-wx/pyhail.git`
To install in your home directory, use:
`python setup.py install --user`
### Use
- [Example Notebook](https://github.com/joshua-wx/pyhail/blob/master/notebooks/example.ipynb)
This project is maintained by Joshua Soderholm. Any problems? Please use the Github issue tracker.
Raw data
{
"_id": null,
"home_page": "https://github.com/joshuass/pyhail",
"name": "pyhail",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "radar, weather, meteorology, calibration",
"author": "Joshua Soderholm",
"author_email": "Joshua Soderholm <joshua.soderholm@bom.gov.au>",
"download_url": "https://files.pythonhosted.org/packages/3f/99/2c56770ca81cf1d401aaf177dcba2b68a43a5ed3a73d8d03fe36db84b915/pyhail-3.3.0.tar.gz",
"platform": null,
"description": "[](https://deepwiki.com/joshua-wx/pyhail)\n\n# Python Hail Retrieval Toolkit (pyhail) \u26c8\ufe0f\ud83d\udce1\ud83e\uddca\n\nThis toolkit provides a collection of hail retrieval techniques for weather radar data.\n\n### Library Dependencies\n- numpy\n- scipy\n- numba\n\n### Supporter radar file readers\n- [PyART](https://github.com/ARM-DOE/pyart)\n- [PyOdim](https://github.com/vlouf/pyodim)\n\n### Notebook plotting Dependencies\n- matplotlib\n\n### Hail Retrivals\n- *Hail Size Discrimination Algorithm - HSDA ([Ortega et al. 2016](https://journals.ametsoc.org/doi/10.1175/JAMC-D-15-0203.1))\n- Hail Differential Reflectivity - HDR ([Depue et al. 2007](https://doi.org/10.1175/JAM2529.1))\n- Maximum Expected Size of Hail - MESH witt1998 ([Witt et al. 1998](https://journals.ametsoc.org/doi/10.1175/1520-0434%281998%29013%3C0286%3AAEHDAF%3E2.0.CO%3B2))\n- Maximum Expected Size of Hail - MESH mh2019_75/mh2019_95 ([Murillo and Homeyer 2019](https://journals.ametsoc.org/view/journals/apme/58/5/jamc-d-18-0247.1.xml))\n- Accumulated Hail - hAcc ([Wallace et al. 2019](https://journals.ametsoc.org/view/journals/wefo/34/1/waf-d-18-0053_1.xml))\n\n*Note that the Q confidence vector from Park et al. 2009 has not been implemented and all pixels are assigned a value of q=1.\n\nMESH is implemented for both pyart radar (PPI) and grid (Cartesian) data!\n\n### Install using pypi\n\n`pip install pyhail`\n\n### Install from source\nTo install pyhail, you can either download and unpack the zip file of the source code or use git to checkout the repository:\n\n`git clone git@github.com:joshua-wx/pyhail.git`\n\nTo install in your home directory, use:\n\n`python setup.py install --user`\n\n### Use\n- [Example Notebook](https://github.com/joshua-wx/pyhail/blob/master/notebooks/example.ipynb)\n\nThis project is maintained by Joshua Soderholm. Any problems? Please use the Github issue tracker.\n",
"bugtrack_url": null,
"license": null,
"summary": "Python hail retreivals",
"version": "3.3.0",
"project_urls": {
"Bug Tracker": "https://github.com/joshua-wx/pyhail/issues",
"Homepage": "https://github.com/joshua-wx/pyhail"
},
"split_keywords": [
"radar",
" weather",
" meteorology",
" calibration"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "dc478e55bddda51a57e3c529b20bbc99737b27cf4d6806e6a7327d0ba4b64046",
"md5": "2cc0ecc9108c918693e7fdd713566444",
"sha256": "1c0dfd82c04b88706b459621f497eb22f80ffbfc7d0c107f42d31605e333a64a"
},
"downloads": -1,
"filename": "pyhail-3.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2cc0ecc9108c918693e7fdd713566444",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 27964,
"upload_time": "2025-07-18T04:06:01",
"upload_time_iso_8601": "2025-07-18T04:06:01.816263Z",
"url": "https://files.pythonhosted.org/packages/dc/47/8e55bddda51a57e3c529b20bbc99737b27cf4d6806e6a7327d0ba4b64046/pyhail-3.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "3f992c56770ca81cf1d401aaf177dcba2b68a43a5ed3a73d8d03fe36db84b915",
"md5": "f87c9aa18dfd7f2fbe938af3a949c80f",
"sha256": "28abc5f4f5b8a79aa822d2e0369b64489e2741034a5f868de916c660cc9c6b02"
},
"downloads": -1,
"filename": "pyhail-3.3.0.tar.gz",
"has_sig": false,
"md5_digest": "f87c9aa18dfd7f2fbe938af3a949c80f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 422484,
"upload_time": "2025-07-18T04:06:03",
"upload_time_iso_8601": "2025-07-18T04:06:03.641841Z",
"url": "https://files.pythonhosted.org/packages/3f/99/2c56770ca81cf1d401aaf177dcba2b68a43a5ed3a73d8d03fe36db84b915/pyhail-3.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-18 04:06:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "joshuass",
"github_project": "pyhail",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyhail"
}