Giter Club home page Giter Club logo

Comments (5)

scollis avatar scollis commented on June 15, 2024

Hey Joe,
The way we coded this up was to use the sign of the X component of R. So that if the RHI was to the west it is negative and +ive if to the east.. Perhaps we need an override for this..

One of the reasons is for HS-RHIs (0-90-0 over the top) which have a +ive and -ve part.

On Dec 12, 2013, at 1:16 PM, Joseph Hardin [email protected] wrote:

I'm not sure if this is something weird with my data, but when plotting RHI's I get a plot that is backward from what people normally use for rhi's. The normal convention is the radar is at 0, distance goes out to positive numbers towards the right. I don't remember seeing this issue before so it may just be the data.
If this is indeed the format pyart uses, would it be possible to get an optional argument to switch to the normal layout. I'm attaching a plot. I checked and teh elevations are correct(0, to 40'ish). Code to reproduce:

import pyart
radar =pyart.io.read_sigmet(filename)
radar.elevation['data'][radar.elevation['data']>80]=0 #Fix some Iris weirdness
display = pyart.graph.RadarDisplay(radar)
display.plot_rhi('reflectivity',3,vmin=0,vmax=60)

You can find the data file at https://www.dropbox.com/s/t0nw10izn2br9en/np1130504050139.RAW7WPK


Reply to this email directly or view it on GitHub.

from pyart.

jjhelmus avatar jjhelmus commented on June 15, 2024

We could pretty easily add a check to see if all the distances in a RHI plot are negative and flip the sign when this happens (all user-controllable by a few additional arguments). That would plot 0-90 RHI as all positive and 0-180 (over to top) RHI as the are now. Does this seem reasonable?

from pyart.

josephhardinee avatar josephhardinee commented on June 15, 2024

That would be great.
Joseph C. Hardin

On 12/16/2013 01:11 PM, Jonathan J. Helmus wrote:

We could pretty easily add a check to see if all the distances in a
RHI plot are negative and flip the sign when this happens (all
user-controllable by a few additional arguments). That would plot 0-90
RHI as all positive and 0-180 (over to top) RHI as the are now. Does
this seem reasonable?


Reply to this email directly or view it on GitHub
#111 (comment).

Joseph C. Hardin, MSEE
Research Assistant
Electrical and Computer Engineering
Colorado State University
AGEP Fellow
Ph.D. Intern Sandia National Laboratory
Phone (970)-491-1437

from pyart.

scollis avatar scollis commented on June 15, 2024

I personally would want an option to override that though..

I like to align my RHIs west-east as that is the way I see storms in my head :)

But yes, sounds reasonable and a lot more “Main stream”

On Dec 16, 2013, at 2:11 PM, Jonathan J. Helmus [email protected] wrote:

We could pretty easily add a check to see if all the distances in a RHI plot are negative and flip the sign when this happens (all user-controllable by a few additional arguments). That would plot 0-90 RHI as all positive and 0-180 (over to top) RHI as the are now. Does this seem reasonable?


Reply to this email directly or view it on GitHub.

from pyart.

jjhelmus avatar jjhelmus commented on June 15, 2024

Added a reverse_xaxis parameter to the plot_rhi method in commit 5e9bee1 . Set to False to get the old behavior on 0 to 90 RHIs.

from pyart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.