in2Trans.ascUtils.readASCheader

readASCheader(fname)[source]

return a class with information from an ascii file header

Parameters

fname (str or pathlib object) – path to ascii file

Returns

headerInfo – information that is stored in header (ncols, nrows, xllcenter, yllcenter, nodata_value)

Return type

class