writeResultToAsc(header, resultArray, outFileName, flip=False)[source]

Write 2D array to an ascii file with header and save to location of outFileName

  • header (class) – class with methods that give cellsize, nrows, ncols, xllcenter yllcenter, noDataValue

  • resultArray (2D numpy array) – 2D numpy array of values that shall be written to file

  • outFileName (str) – path incl. name of file to be written