docs: def is_timeseries_profile_single_station(nc, variable):
      '''
      Returns true if the variable is a time-series profile that represents a
      single station and each profile is the same length.
  
      :param netCDF4.Dataset nc: An open netCDF dataset
      :param str variable: name of the variable to check
      '''
  
      # x, y, z(z), t(t)
      # X(t, z)
      dims = nc.variables[variable].dimensions
      cmatrix = coordinate_dimension_matrix(nc)
  
      for req in ('x', 'y', 'z', 't'):
          if req not in cmatrix:
              return False
      if len(cmatrix['x']) != 0:
          return False
      if cmatrix['x'] != cmatrix['y']:
          return False
  
      z = get_z_variable(nc)
      if cmatrix['z'] != (z,):
          return False
      t = get_time_variable(nc)
      if cmatrix['t'] != (t,):
          return False
  
      if dims == (t, z):
          return True
      return False