“cmd.map_halve” resamples a map at half the current resolution.
def map_halve(name, state=0, smooth=1):
map_halve | cmd.map_double | api