pyissm.tools.archive
This module contains functions to read and write ISSM archive files.
Functions
|
Read data from an ISSM archive file. |
- pyissm.tools.archive.arch_read(filename, fieldname)
Read data from an ISSM archive file.
- Parameters:
- Returns:
Data read from the specified field in the archive.
- Return type:
np.ndarray
- Raises:
FileNotFoundError – If the archive file does not exist.
KeyError – If the specified field is not found in the archive.
Examples
>>> data = arch_read('test101.arch', 'fieldname')