hydromt_sfincs.utils.read_binary_map# hydromt_sfincs.utils.read_binary_map(fn: str | Path, ind: ndarray, shape: Tuple[int], mv: float = -9999.0, dtype: str = 'f4') → ndarray[source]# Read binary map. Parameters: fn (str, Path) – Path to map file. ind (np.ndarray) – 1D array of flat index of binary maps. shape (tuple of int) – (nrow, ncol) shape of output map. mv (int or float) – missing value, by default -9999.0. dtype (str, np.dtype, optional) – Data type, by default “f4”. For sfincs.msk file use dtype=”u1”. Returns: ind – 1D array of flat index of binary maps. Return type: np.ndarray