pub struct Header {Show 19 fields
pub version: Version,
pub comments: Comments,
pub satellite: String,
pub program: Option<String>,
pub run_by: Option<String>,
pub date: Option<String>,
pub observer: Option<String>,
pub agency: Option<String>,
pub cospar: Option<COSPAR>,
pub receiver: Option<Receiver>,
pub antenna: Option<Antenna>,
pub license: Option<String>,
pub doi: Option<String>,
pub l1_l2_date_offset: Duration,
pub observables: Vec<Observable>,
pub scaling_factors: HashMap<Observable, f64>,
pub ground_stations: Vec<GroundStation>,
pub time_of_first_observation: Option<Epoch>,
pub time_of_last_observation: Option<Epoch>,
}Expand description
DORIS Header
Fields§
§version: VersionVersion describes the file revision
comments: CommentsComments found in the Header section
satellite: StringName of the DORIS satellite
program: Option<String>Software program name.
run_by: Option<String>Software operator.
date: Option<String>Date of publication.
observer: Option<String>Observer name
agency: Option<String>Production agency
cospar: Option<COSPAR>Possible COSPAR number (launch information)
receiver: Option<Receiver>Possible information about Receiver hardware
antenna: Option<Antenna>Possible information about receiver Antenna
license: Option<String>Possible file license
doi: Option<String>Possible Digital Object Identifier (DOI)
l1_l2_date_offset: DurationDORIS L1/L2 date offset
observables: Vec<Observable>Describes measurements contained in following Record
scaling_factors: HashMap<Observable, f64>Possible scalings to apply to attached Observables
ground_stations: Vec<GroundStation>DORIS GroundStations
time_of_first_observation: Option<Epoch>Possible indication of the first measurement
time_of_last_observation: Option<Epoch>Possible indication of the last measurement
Implementations§
Source§impl Header
impl Header
Sourcepub fn ground_station(&self, station_code: u16) -> Option<GroundStation>
pub fn ground_station(&self, station_code: u16) -> Option<GroundStation>
Identify a GroundStation from u16 (unique) identification code, which is file or network dependent.
Sourcepub fn with_version(&self, version: Version) -> Self
pub fn with_version(&self, version: Version) -> Self
Sourcepub fn with_run_by(&self, run_by: &str) -> Self
pub fn with_run_by(&self, run_by: &str) -> Self
Copies and returns Header with “Run By” field
Sourcepub fn with_receiver(&self, receiver: Receiver) -> Self
pub fn with_receiver(&self, receiver: Receiver) -> Self
Sourcepub fn push_comment(&mut self, comment: &str)
pub fn push_comment(&mut self, comment: &str)
Adds one comment to mutable Self
Sourcepub fn with_comment(&self, comment: &str) -> Self
pub fn with_comment(&self, comment: &str) -> Self
Copies and returns Header with one new comment.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Header
impl<'de> Deserialize<'de> for Header
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more