Move snapshot_grid and get_xy_dim_coords.
Remove circular dependency.

 - Move extend_circular_[coord|coord_and_data|data]
 - Duplicate _LINEAR_EXTRAPOLATION_MODES.