pub struct ColumnArray {
pub id: String,
pub levels: Option<Vec<u32>>,
pub members: Vec<ColumnMember>,
pub unit_seconds: u32,
pub offsets: Vec<u16>,
pub layout: ColumnLayout,
}Expand description
One array of the store, its document held to the block.
Fields§
§id: String§levels: Option<Vec<u32>>Pressure levels in hPa, strictly descending, index for index with
members; None on a surface array, which has one member.
members: Vec<ColumnMember>§unit_seconds: u32The array’s axis: the store’s, unless it declares its own.
offsets: Vec<u16>§layout: ColumnLayoutImplementations§
Source§impl ColumnArray
impl ColumnArray
Sourcepub fn shard_path(&self, shard: u32) -> String
pub fn shard_path(&self, shard: u32) -> String
The object holding one shard, relative to the store. A shard spans the whole axis, every level and every column, so only its row band counts.
Sourcepub fn values<C: Copy + Into<u16>>(
&self,
codes: &[C],
) -> Result<Vec<f64>, DecodeError>
pub fn values<C: Copy + Into<u16>>( &self, codes: &[C], ) -> Result<Vec<f64>, DecodeError>
One cell’s codes (decode_column or decode_column_u16, frames × levels) as physical values through each level’s own codebook; NaN
for no value.
Trait Implementations§
Source§impl Clone for ColumnArray
impl Clone for ColumnArray
Auto Trait Implementations§
impl Forget for ColumnArray
impl Freeze for ColumnArraywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<u32>: Freeze,
PhantomData<ColumnMember>: Freeze,
PhantomData<u16>: Freeze,
impl Move for ColumnArray
impl RefUnwindSafe for ColumnArray
impl Send for ColumnArraywhere
RawVecInner: Send,
impl Sync for ColumnArraywhere
RawVecInner: Sync,
impl Unpin for ColumnArray
impl UnsafeUnpin for ColumnArraywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
PhantomData<ColumnMember>: UnsafeUnpin,
PhantomData<u16>: UnsafeUnpin,
impl UnwindSafe for ColumnArraywhere
RawVecInner: UnwindSafe,
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
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> ⓘ
Converts
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> ⓘ
Converts
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