Function py_decompress

Source
pub fn py_decompress(path: &str) -> Vec<(PyMetaData, PyGridArray)>
Expand description

Decompresses and loads all GridArrays and shared metadata from a file.

Loads and decompresses all grid arrays and their associated metadata from the specified file.

§Parameters

  • path: The path to the compressed file.

§Returns

Returns a vector of tuples, each containing the metadata and grid array for a member.

§Panics

Panics if the file cannot be read or is not in the expected format.