pub struct StormRelativeVelocity { /* private fields */ }Expand description
Storm-relative velocity — subtracts a storm motion vector from radial velocity.
This makes it easier to identify rotation signatures (mesocyclones) in storm systems by removing the bulk storm motion. The input field should contain radial velocity data.
The storm motion is specified as a direction (degrees from north) and speed (m/s). The component of the storm motion along each gate’s radial direction is subtracted from the measured velocity.
§Example
ⓘ
use nexrad_process::derived::StormRelativeVelocity;
// Storm moving from 240° at 15 m/s
let srv = StormRelativeVelocity::new(240.0, 15.0)?;
let sr_velocity = srv.process(&velocity_field)?;Implementations§
Trait Implementations§
Source§impl SweepProcessor for StormRelativeVelocity
impl SweepProcessor for StormRelativeVelocity
Source§fn process(&self, input: &SweepField) -> Result<SweepField>
fn process(&self, input: &SweepField) -> Result<SweepField>
Process the input field, producing a new field with the same geometry.
Auto Trait Implementations§
impl Freeze for StormRelativeVelocity
impl RefUnwindSafe for StormRelativeVelocity
impl Send for StormRelativeVelocity
impl Sync for StormRelativeVelocity
impl Unpin for StormRelativeVelocity
impl UnsafeUnpin for StormRelativeVelocity
impl UnwindSafe for StormRelativeVelocity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more