maybe_mem_map
maybe_mem_map(
fid: IOBase ,
dtype = <u1,
)-> ‘np.ndarray | np.memmap’
Try to get a memory map array from fid, otherwise just return array.
Parameters
| Parameter | Description |
|---|---|
| fid | A buffered reader, e.g. from open(file) as fid. |
| function of dascore.utils.misc | source |
maybe_mem_map(
fid: IOBase ,
dtype = <u1,
)-> ‘np.ndarray | np.memmap’
Try to get a memory map array from fid, otherwise just return array.
| Parameter | Description |
|---|---|
| fid | A buffered reader, e.g. from open(file) as fid. |