Python map_coordinates() equivalent in Julia

thanks for sharing...