Skip to main content

read_non_record_variable

Function read_non_record_variable 

Source
pub fn read_non_record_variable<T: NcReadType>(
    file_data: &[u8],
    var: &NcVariable,
) -> Result<ArrayD<T>>
Expand description

Read the entire data for a non-record variable into an ndarray.

The data is located at a contiguous region starting at var.data_offset with total size var.data_size.