def plot_u(ref_stat,key0):
  """Determine whether to intermediate (between obs times) statistics are plotted.
  This is determine this by inspecting the reference statistic passed in.
  True if available (i.e. store_u) or if live.
  """
  return ref_stat.store_u or ref_stat.k_tmp==key0[0]