def METHOD_NAME(ds : nc.Dataset, pos : int, cat_name : str, df: pd.DataFrame):
    # set the id for this position
    ds['ids'][pos] = cat_name
    # set other variables from csv data
    for var in df.columns:
        var_name = var
        if var.lower() == "time": 
            var_name = "Time"
        ds[var_name][pos,:] = df[var]
    # release memory
    del df