def default_index_coordinate(dim, size):
    return Coordinate(dim, LazyIntegerRange(size))
This is equivalent to np.arange(size), but waits to create the array until
dataset/ETHPy150Open pydata/xarray/xarray/core/variable.py/default_index_coordinate