Skip to main content

ElevationDataBlock

Struct ElevationDataBlock 

Source
pub struct ElevationDataBlock {
Show 25 fields pub elevation_angle: u16, pub channel_configuration: u8, pub waveform_type: u8, pub super_resolution_control: u8, pub surveillance_prf_number: u8, pub surveillance_prf_pulse_count_radial: u16, pub azimuth_rate: u16, pub reflectivity_threshold: i16, pub velocity_threshold: i16, pub spectrum_width_threshold: i16, pub differential_reflectivity_threshold: i16, pub differential_phase_threshold: i16, pub correlation_coefficient_threshold: i16, pub sector_1_edge_angle: u16, pub sector_1_doppler_prf_number: u16, pub sector_1_doppler_prf_pulse_count_radial: u16, pub supplemental_data: u16, pub sector_2_edge_angle: u16, pub sector_2_doppler_prf_number: u16, pub sector_2_doppler_prf_pulse_count_radial: u16, pub ebc_angle: u16, pub sector_3_edge_angle: u16, pub sector_3_doppler_prf_number: u16, pub sector_3_doppler_prf_pulse_count_radial: u16, pub reserved: u16,
}
Expand description

A data block for a single elevation cut.

Fields§

§elevation_angle: u16

The elevation angle for this cut

§channel_configuration: u8

The channel configuration for this cut 0 => Constant Phase 1 => Random Phase 2 => SZ2 Phase

§waveform_type: u8

The waveform type for this cut 1 => Contiguous Surveillance 2 => Contiguous Doppler w/ Ambiguity Resolution 3 => Contiguous Doppler w/o Ambiguity Resolution 4 => Batch 5 => Staggered Pulse Pair

§super_resolution_control: u8

Super resolution control values for this cut Bit 0: 0.5 degree azimuth Bit 1: 1/4 km reflectivity Bit 2: Doppler to 300 km Bit 3: Dual polarization to 300 km

§surveillance_prf_number: u8

The pulse repetition frequency number for surveillance cuts

§surveillance_prf_pulse_count_radial: u16

The pulse count per radial for surveillance cuts

§azimuth_rate: u16

The azimuth rate of the cut

§reflectivity_threshold: i16

Signal to noise ratio (SNR) threshold for reflectivity

§velocity_threshold: i16

Signal to noise ratio (SNR) threshold for velocity

§spectrum_width_threshold: i16

Signal to noise ratio (SNR) threshold for spectrum width

§differential_reflectivity_threshold: i16

Signal to noise ratio (SNR) threshold for differential reflectivity

§differential_phase_threshold: i16

Signal to noise ratio (SNR) threshold for differential phase

§correlation_coefficient_threshold: i16

Signal to noise ratio (SNR) threshold for correlation coefficitn

§sector_1_edge_angle: u16

Sector 1 Azimuth Clockwise Edge Angle (denotes start angle)

§sector_1_doppler_prf_number: u16

Sector 1 Doppler PRF Number

§sector_1_doppler_prf_pulse_count_radial: u16

Sector 1 Doppler Pulse Count/Radial

§supplemental_data: u16

Supplemental Data Bit 0: SAILS Cut Bits 1-3: SAILS Sequence Number Bit 4: MRLE Cut Bits 5-7: MRLE Sequence Number Bit 8: Spare Bit 9: MPDA Cut Bit 10: BASE TILT Cut

§sector_2_edge_angle: u16

Sector 2 Azimuth Clockwise Edge Angle (denotes start angle)

§sector_2_doppler_prf_number: u16

Sector 2 Doppler PRF Number

§sector_2_doppler_prf_pulse_count_radial: u16

Sector 2 Doppler Pulse Count/Radial

§ebc_angle: u16

The correction added to the elevation angle for this cut

§sector_3_edge_angle: u16

Sector 3 Azimuth Clockwise Edge Angle (denotes start angle)

§sector_3_doppler_prf_number: u16

Sector 3 Doppler PRF Number

§sector_3_doppler_prf_pulse_count_radial: u16

Sector 3 Doppler Pulse Count/Radial

§reserved: u16

Reserved

Implementations§

Source§

impl ElevationDataBlock

Source

pub fn elevation_angle(&self) -> Angle

The elevation angle for this cut

Source

pub fn elevation_angle_degrees(&self) -> f64

The elevation angle for this cut, in degrees

Source

pub fn channel_configuration(&self) -> ChannelConfiguration

The channel configuration for this cut

Source

pub fn waveform_type(&self) -> WaveformType

The waveform type for this cut

Source

pub fn super_resolution_control_half_degree_azimuth(&self) -> bool

Whether this cut uses super resolution 0.5 degree azimuth

Source

pub fn super_resolution_control_quarter_km_reflectivity(&self) -> bool

Whether this cut uses super resolution 0.25 km reflectivity

Source

pub fn super_resolution_control_doppler_to_300km(&self) -> bool

Whether this cut uses super resolution doppler to 300 km

Source

pub fn super_resolution_control_dual_polarization_to_300km(&self) -> bool

Whether this cut uses super resolution dual polarization to 300km

Source

pub fn azimuth_rate(&self) -> AngularVelocity

The azimuth rate used for this cut

Source

pub fn azimuth_rate_degrees_per_second(&self) -> f64

The azimuth rate used for this cut, in degrees per second

Source

pub fn reflectivity_threshold(&self) -> f64

The reflectivity threshold for this cut

Source

pub fn velocity_threshold(&self) -> f64

The velocity threshold for this cut

Source

pub fn spectrum_width_threshold(&self) -> f64

The spectrum width threshold for this cut

Source

pub fn differential_reflectivity_threshold(&self) -> f64

The differential reflectivity threshold for this cut

Source

pub fn differential_phase_threshold(&self) -> f64

The differential phase threshold for this cut

Source

pub fn correlation_coefficient_threshold(&self) -> f64

The correlation coefficient threshold for this cut

Source

pub fn sector_1_edge_angle(&self) -> Angle

Sector 1 Azimuth Clockwise Edge Angle (denotes start angle)

Source

pub fn sector_1_edge_angle_degrees(&self) -> f64

Sector 1 Azimuth Clockwise Edge Angle (denotes start angle), in degrees

Source

pub fn sector_2_edge_angle(&self) -> Angle

Sector 2 Azimuth Clockwise Edge Angle (denotes start angle)

Source

pub fn sector_2_edge_angle_degrees(&self) -> f64

Sector 2 Azimuth Clockwise Edge Angle (denotes start angle), in degrees

Source

pub fn sector_3_edge_angle(&self) -> Angle

Sector 3 Azimuth Clockwise Edge Angle (denotes start angle)

Source

pub fn sector_3_edge_angle_degrees(&self) -> f64

Sector 3 Azimuth Clockwise Edge Angle (denotes start angle), in degrees

Source

pub fn ebc_angle(&self) -> Angle

The correction added to the elevation angle for this cut

Source

pub fn ebc_angle_degrees(&self) -> f64

The correction added to the elevation angle for this cut, in degrees

Source

pub fn supplemental_data_sails_cut(&self) -> bool

Whether this cut is a SAILS cut

Source

pub fn supplemental_data_sails_sequence_number(&self) -> u8

The SAILS sequence number of this cut

Source

pub fn supplemental_data_mrle_cut(&self) -> bool

Whether this cut is an MRLE cut

Source

pub fn supplemental_data_mrle_sequence_number(&self) -> u8

The MRLE sequence number of this cut

Source

pub fn supplemental_data_mpda_cut(&self) -> bool

Whether this cut is an MPDA cut

Source

pub fn supplemental_data_base_tilt_cut(&self) -> bool

Whether this cut is a BASE TILT cut

Trait Implementations§

Source§

impl Clone for ElevationDataBlock

Source§

fn clone(&self) -> ElevationDataBlock

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 ElevationDataBlock

Source§

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

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

impl<'de> Deserialize<'de> for ElevationDataBlock

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for ElevationDataBlock

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ElevationDataBlock

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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

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> Same for T

Source§

type Output = T

Should always be Self
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.