def filters(inst):
    """Function to show availalbe filters

  Parameters
  ----------
  inst : str
    string of either niriss, nirspec, miri or nircam

  Returns
  -------
  list
    list with availalbe filters
  """
    print(
        "Filters field stored in inst_dict['configuration']['instrument']['filter']"
        )
    if inst.lower() == 'niriss':
        print('No filters for niriss soss, type None, or null in filter field')
        return [None]
    elif inst.lower() == 'nirspec':
        return ['f070lp', 'f100lp', 'f170lp', 'f290lp', 'clear']
    elif inst.lower() == 'miri':
        print('No filters for miri lrs, type None, or null in filter field')
        return [None]
    elif inst.lower() == 'nircam':
        return ['f322w2', 'f444w']
    else:
        raise Exception(
            'Only instruments are niriss, nirspec, miri, nircam. Pick one.')
