Skip to main content

Radial

Struct Radial 

Source
pub struct Radial { /* private fields */ }
Expand description

A single radar ray composed of a series of gates. This represents a single azimuth angle and elevation angle pair at a point in time and contains the Level II data (reflectivity, velocity, and spectrum width) for each range gate in that ray. The range of the radar and gate interval distance determines the resolution of the ray and the number of gates in the ray.

Implementations§

Source§

impl Radial

Source

pub fn new( collection_timestamp: i64, azimuth_number: u16, azimuth_angle_degrees: f32, azimuth_spacing_degrees: f32, radial_status: RadialStatus, elevation_number: u8, elevation_angle_degrees: f32, reflectivity: Option<MomentData>, velocity: Option<MomentData>, spectrum_width: Option<MomentData>, differential_reflectivity: Option<MomentData>, differential_phase: Option<MomentData>, correlation_coefficient: Option<MomentData>, specific_differential_phase: Option<MomentData>, ) -> Self

Create a new radial with the given properties.

Source

pub fn collection_timestamp(&self) -> i64

The collection timestamp in milliseconds since midnight Jan 1, 1970 (epoch/UNIX timestamp).

Source

pub fn azimuth_number(&self) -> u16

The index number for this radial’s azimuth in the elevation sweep, ranging up to 720 depending on the azimuthal resolution.

Source

pub fn azimuth_angle_degrees(&self) -> f32

Azimuth angle this radial’s data was collected at in degrees.

Source

pub fn azimuth_spacing_degrees(&self) -> f32

Azimuthal distance between radials in the sweep in degrees.

Source

pub fn radial_status(&self) -> RadialStatus

The radial’s position in the sequence of radials making up a scan.

Source

pub fn elevation_number(&self) -> u8

The elevation number for this radial in the volume scan.

Source

pub fn elevation_angle_degrees(&self) -> f32

Elevation angle this radial’s data was collected at in degrees.

Source

pub fn reflectivity(&self) -> Option<&MomentData>

Reflectivity data for this radial if available.

Source

pub fn velocity(&self) -> Option<&MomentData>

Velocity data for this radial if available.

Source

pub fn spectrum_width(&self) -> Option<&MomentData>

Spectrum width data for this radial if available.

Source

pub fn differential_reflectivity(&self) -> Option<&MomentData>

Differential reflectivity data for this radial if available.

Source

pub fn differential_phase(&self) -> Option<&MomentData>

Differential phase data for this radial if available.

Source

pub fn correlation_coefficient(&self) -> Option<&MomentData>

Correlation coefficient data for this radial if available.

Source

pub fn specific_differential_phase(&self) -> Option<&MomentData>

Specific differential phase data for this radial if available.

Trait Implementations§

Source§

impl Clone for Radial

Source§

fn clone(&self) -> Radial

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Radial

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Radial

Source§

fn eq(&self, other: &Radial) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Radial

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.