Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task summary no longer available in debug log #980

Closed
bouweandela opened this issue Feb 2, 2021 · 0 comments · Fixed by #981
Closed

Task summary no longer available in debug log #980

bouweandela opened this issue Feb 2, 2021 · 0 comments · Fixed by #981
Labels
bug Something isn't working
Milestone

Comments

@bouweandela
Copy link
Member

There used to be a summary of the generated tasks including all preprocessor settings etc. available in the debug log. It looks like this went missing in #957 and #962.

Example:

2021-02-02 11:40:11,183 UTC [12256] DEBUG   esmvalcore._main:101 Recipe summary:
DiagnosticTask: map/script1
script: examples/diagnostic.py
settings:
{'auxiliary_data_dir': '/home/bandela/esmvaltool_extra_data',
 'log_level': 'info',
 'output_file_type': None,
 'plot_dir': '/home/bandela/esmvaltool_output/recipe_python_20210202_114010/plots/map/script1',
 'profile_diagnostic': False,
 'quickplot': {'cmap': 'Reds', 'plot_type': 'pcolormesh'},
 'realms': ['atmos'],
 'recipe': 'recipe_python.yml',
 'run_dir': '/home/bandela/esmvaltool_output/recipe_python_20210202_114010/run/map/script1',
 'script': 'script1',
 'themes': ['phys'],
 'version': '2.1.0',
 'work_dir': '/home/bandela/esmvaltool_output/recipe_python_20210202_114010/work/map/script1',
 'write_netcdf': True,
 'write_plots': True}
ancestors:
        PreprocessingTask:
        order: ['fix_file', 'load', 'fix_metadata', 'concatenate', 'cmor_check_metadata', 'clip_start_end_year', 'fix_data', 'cmor_check_dat
a', 'extract_month', 'save', 'cleanup']
        PreprocessorFile: /home/bandela/esmvaltool_output/recipe_python_20210202_114010/preproc/map/tas/CMIP5_CanESM2_Amon_historical_r1i1p1
_tas_2000-2000.nc
        {'cleanup': {'remove': ['/home/bandela/esmvaltool_output/recipe_python_20210202_114010/preproc/map/tas/CMIP5_CanESM2_Amon_historical
_r1i1p1_tas_2000-2000_fixed']},
         'clip_start_end_year': {'end_year': 2000, 'start_year': 2000},
         'cmor_check_data': {'check_level': <CheckLevels.DEFAULT: 3>,
                             'cmor_table': 'CMIP5',
                             'frequency': 'mon',
                             'mip': 'Amon',
                             'short_name': 'tas'},
         'cmor_check_metadata': {'check_level': <CheckLevels.DEFAULT: 3>,
                                 'cmor_table': 'CMIP5',
                                 'frequency': 'mon',
                                 'mip': 'Amon',
                                 'short_name': 'tas'},
         'concatenate': {},
         'extract_month': {'month': 1},
         'fix_data': {'check_level': <CheckLevels.DEFAULT: 3>,
                      'dataset': 'CanESM2',
                      'frequency': 'mon',
                      'mip': 'Amon',
                      'project': 'CMIP5',
                      'short_name': 'tas'},
         'fix_file': {'dataset': 'CanESM2',
                      'mip': 'Amon',
                      'output_dir': '/home/bandela/esmvaltool_output/recipe_python_20210202_114010/preproc/map/tas/CMIP5_CanESM2_Amon_histor
ical_r1i1p1_tas_2000-2000_fixed',
                      'project': 'CMIP5',

... etc ...
@bouweandela bouweandela added the bug Something isn't working label Feb 2, 2021
@bouweandela bouweandela added this to the v2.2.0 milestone Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant