Skip to content

empty ancestor list in recipe_esacci_lst #1967

@remi-kazeroni

Description

@remi-kazeroni

Describe the bug
The recipe_esacci_lst.yml fails at the diagnostic level because an ancestor list seems empty. The end of the log.txt of the only diagnostic ends with:

Traceback (most recent call last):
  File "/home/b/b309192/ESMValTool/esmvaltool/diag_scripts/lst/lst.py", line 232, in <module>
    _diagnostic(config)
  File "/home/b/b309192/ESMValTool/esmvaltool/diag_scripts/lst/lst.py", line 170, in _diagnostic
    ancestor_list.append(ancestors['ts'][0])
KeyError: 'ts'

We got the same type of errors when testing recipes for #1609. I thought we had covered all possible cases. But it seems the list of ancestors is empty for the OBS dataset, see main_log_debug.txt:

   'save': {'compress': False,
            'filename': PosixPath('/work/bd0854/b309192/recipe_testing/recipe_testing_v2p8/v08rc1/scripts/esmvaltool_output/recipe_esacci_lst_20230306_230232/preproc/timeseries/ts/OBS_ESACCI-LST_sat_1.00_Amon_ts_2004-2005.nc')}}
  ancestors:
  None

Any idea what's happening here @bouweandela and @schlunma?

Please attach

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions