def convert_ds_name(ds):
  """Convert from dataset ID to more easily understood string."""
  ref_name = ['T','C','V','L']

  if isinstance(ds, str):
    ds = ds[-4:]
  else:
    ds = f'{int(ds):04d}'

  for c_idx, c in enumerate(ds):
    if c == '0':
      ref_name[c_idx] = '-'

  return ''.join(ref_name)