def wrap_data(data):
    if len(data.shape) == 1:
        return data
    elif len(data.shape) == 2:
        return glue_2d(data)
    elif len(data.shape) == 3:
        return glue_3d(data)
    else:
        return data


# dictionary get/put
Invoked by the ModelAPIRequestHandler.post method prior to taking
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/glue.py/wrap_data--crossover with--dataset/ETHPy150Open gmr/tinman/tinman/handlers/mixins.py/ModelAPIMixin.initialize_post