Generic read module which determines format from extension.
read_grid(filename, cache_dir=None)
Read a grid file and optionally cache it for faster future reads.
Parameters:
Name |
Type |
Description |
Default |
filename
|
str
|
Name of the grid file to read, including path.
|
required
|
cache_dir
|
str
|
Path to a directory where a cache of the grid may be stored to ensure faster read next time.
|
None
|