def METHOD_NAME(filename : str, num_catchments : int, variable_names):
    ds = create_netcdf(filename, num_catchments, variable_names)
    ds.createVariable("offset",'i4',('catchment-id'))
    return ds