rescale_grid#
- mhm_tools.common.esri_grid.rescale_grid(header, cellsize, in_name='LA', out_name='LB')[source]#
Rescale grid from given header to a coarser cell-size with matching extend.
- Parameters:
- Returns:
header – New ASCII grid header as dictionary.
- Return type:
- Raises:
ValueError – If given cell-size is not compatible with given grid header.