hydromt_sfincs.utils.write_ascii_map#

hydromt_sfincs.utils.write_ascii_map(fn: str | Path, data: ndarray, fmt: str = '%8.3f') None[source]#

Write ascii map

NOTE: The array should be in S->N and W->E orientation, with origin in the SW corner.

Parameters:
  • fn (str, Path) – Path to ascii map file.

  • data (np.ndarray) – 2D array of sfincs map.

  • fmt (str, optional) – Value format, by default “%8.3f”. See numpy.savetxt for more options.