def _maybe_wrap_data(data):
    if isinstance(data, pd.Index):
        return PandasIndexAdapter(data)
    return data
scale is a DOWNSCALING factor.
dataset/ETHPy150Open pydata/xarray/xarray/core/variable.py/_maybe_wrap_data--crossover with--dataset/ETHPy150Open benanne/kaggle-ndsb/data.py/perturb_multiscale