standardize_header#

mhm_tools.common.esri_grid.standardize_header(header)[source]#

Standardize an ASCII grid header dictionary.

Parameters:

header (dict) – Raw header as dictionary.

Returns:

Standardized header as dictionary.

Return type:

dict

Raises:

ValueError – If the header is missing required information. See ESRI_REQ