ARM-DOE / pyart

The Python-ARM Radar Toolkit. A data model driven interactive toolkit for working with weather radar data.
https://arm-doe.github.io/pyart/
Other
516 stars 268 forks source link

Probability of hail using pyart #1568

Closed MohitDahliya closed 6 months ago

MohitDahliya commented 6 months ago

Description

How can I create a spatial plot of 'probability of hail' (POH) using pyart? There are some algorithms available such as TITAN which can compute POH, but can I create a similar code using pyart ?

What I Did

Haven't really done any programming yet for this purpose. Hoping to get a headstart on how to begin.

zssherman commented 6 months ago

I dont believe there currently is an exact code in Py-ART that calculates that, however I believe PyHail might which uses Py-ART as a dependency, you could always give that a look. Can also see if anyone else states anything here

scollis commented 6 months ago

Hey Mohit this is more a radar science question. Suggest you visit the open radar discourse https://openradar.discourse.group/t/welcome-to-open-radar-discourse/7

Get Outlook for iOShttps://aka.ms/o0ukef


From: MohitDahliya @.> Sent: Wednesday, April 24, 2024 9:59:31 AM To: ARM-DOE/pyart @.> Cc: Subscribed @.***> Subject: [ARM-DOE/pyart] Probability of hail using pyart (Issue #1568)

Description

How can I create a spatial plot of 'probability of hail' (POH) using pyart? There are some algorithms available such as TITAN which can compute POH, but can I create a similar code using pyart ?

What I Did

Haven't really done any programming yet for this purpose. Hoping to get a headstart on how to begin.

— Reply to this email directly, view it on GitHubhttps://github.com/ARM-DOE/pyart/issues/1568, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGJQBZYQVHOK62JTGUBUYDY67CFHAVCNFSM6AAAAABGXC4ZKSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DCNJRGE2DIMY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

MohitDahliya commented 6 months ago

@zssherman I am working with PyHail currently. Seems like a useful package. Thanks for the heads up. Let's see how it progress.

MohitDahliya commented 6 months ago

run pipeline for a single tilt (may not be the lowest sweep)

import time t0 = time.time() pipeline(radar_fn, 2, close_fig=False)
t1 = time.time() print('elapsed time:', t1-t0, 's')

This should have given the plots of MESH and Accumulated hail, but instead it gives file failed: <pyart.core.radar.Radar object at 0x0000023D14BF8810> elapsed time: 0.0 s

why has the file failed ? I don't understand.

mgrover1 commented 6 months ago

Without seeing your pipeline function, we are not able to troubleshoot here - if you are using PyHail, I encourage you to open an issue there with a detailed code snippet

MohitDahliya commented 6 months ago

Okay, thanks for the reply.

On Thu, 25 Apr, 2024, 5:01 pm Max Grover, @.***> wrote:

Without seeing your pipeline function, we are not able to troubleshoot here - if you are using PyHail, I encourage you to open an issue there with a detailed code snippet

— Reply to this email directly, view it on GitHub https://github.com/ARM-DOE/pyart/issues/1568#issuecomment-2076968365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQACDYXEJQGPDE46BZHI4ZTY7DSSHAVCNFSM6AAAAABGXC4ZKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWHE3DQMZWGU . You are receiving this because you authored the thread.Message ID: @.***>

mgrover1 commented 6 months ago

Closing since this is more of a discussion