Skip to main content

Header

Struct Header 

Source
pub struct Header {
    pub message_size: u16,
    pub pattern_type: u16,
    pub pattern_number: u16,
    pub number_of_elevation_cuts: u16,
    pub version: u8,
    pub clutter_map_group_number: u8,
    pub doppler_velocity_resolution: u8,
    pub pulse_width: u8,
    pub reserved_1: u32,
    pub vcp_sequencing: u16,
    pub vcp_supplemental_data: u16,
    pub reserved_2: u16,
}
Expand description

The volume coverage pattern header block

Fields§

§message_size: u16

Total message size in halfwords, including the header and all elevation blocks

§pattern_type: u16

Pattern type is always 2

§pattern_number: u16

Volume Coverage Pattern Number

§number_of_elevation_cuts: u16

Number of elevation cuts in the complete volume scan

§version: u8

Volume Coverage Pattern Version Number

§clutter_map_group_number: u8

Clutter map groups are not currently implemented

§doppler_velocity_resolution: u8

Doppler velocity resolution. 2 -> 0.5 4 -> 1.0

§pulse_width: u8

Pulse width values. 2 -> Short 4 -> Long

§reserved_1: u32

Reserved

§vcp_sequencing: u16

VCP sequencing values. Bits 0-4: Number of Elevations Bits 5-6: Maximum SAILS Cuts Bit 13: Sequence Active Bit 14: Truncated VCP

§vcp_supplemental_data: u16

VCP supplemental data. Bit 0: SAILS VCP Bits 1-3: Number SAILS Cuts Bit 4: MRLE VCP Bits 5-7: Number MRLE Cuts Bits 8-10: Spare Bit 11: MPDA VCP Bit 12: BASE TILT VCP Bits 13-15: Number of BASE TILTS

§reserved_2: u16

Reserved

Implementations§

Source§

impl Header

Source

pub fn pattern_type(&self) -> PatternType

The pattern type of the volume coverage pattern

Source

pub fn doppler_velocity_resolution(&self) -> Option<Velocity>

The doppler velocity resolution of this coverage pattern

Source

pub fn doppler_velocity_resolution_meters_per_second(&self) -> Option<f64>

The doppler velocity resolution of this coverage pattern in m/s

Source

pub fn pulse_width(&self) -> PulseWidth

The pulse width for this VCP

Source

pub fn vcp_sequencing_number_of_elevations(&self) -> u8

The number of elevations in the VCP

Source

pub fn vcp_sequencing_maximum_sails_cuts(&self) -> u8

The maximum number of SAILS cuts allowed in this VCP

Source

pub fn vcp_sequencing_sequence_active(&self) -> bool

Whether this VCP is a part of an active VCP sequence

Source

pub fn vcp_sequencing_truncated_vcp(&self) -> bool

Whether this VCP is truncated

Source

pub fn vcp_supplemental_data_sails_vcp(&self) -> bool

Whether this VCP uses SAILS cuts

Source

pub fn vcp_supplemental_data_number_sails_cuts(&self) -> u8

The number of SAILS cuts used by this VCP

Source

pub fn vcp_supplemental_data_mrle_vcp(&self) -> bool

Whether this VCP uses MRLE cuts

Source

pub fn vcp_supplemental_data_number_mrle_cuts(&self) -> u8

The number of MRLE cuts used by this VCP

Source

pub fn vcp_supplemental_data_mpda_vcp(&self) -> bool

Whether this VCP is a Multi-PRF Dealiasing Algorithm (MPDA) VCP

Source

pub fn vcp_supplemental_data_base_tilt_vcp(&self) -> bool

Whether this VCP contains BASE TILTS

Source

pub fn vcp_supplemental_data_base_tilts(&self) -> u8

The number of BASE TILTS in this VCP

Trait Implementations§

Source§

impl Clone for Header

Source§

fn clone(&self) -> Header

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 Header

Source§

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

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

impl<'de> Deserialize<'de> for Header

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 Header

Source§

fn eq(&self, other: &Header) -> 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 Header

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.