-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Is your feature request related to a problem? Please describe.
This feature request is related to the new implementation of tiered cmor checks that we now have in #374 and directly related to the --dry-run optionality in #307 -- it would be very useful if the tool created a data_report.txt a la all the main_log.txt and main_log_debug.txt; this report should contain only the warnings and critical warnings resulted from the cmor checks with relevant information on the dataset that created those warnings eg:
2019-12-03 16:26:34,241 UTC [2177] WARNING There were warnings in variable tas:
longitude: does not exist
lat: standard_name should be latitude, not grid_latitude
tas: does not match coordinate rank
Dataset:
([<iris 'Cube' of convection_time_fraction / (K) (time: 1872; grid_latitude: 96; -- : 192)>], {'project': 'CMIP5', 'dataset': 'MPI-ESM-LR', 'short_name': 'tas', 'cmor_table': 'CMIP5', 'mip': 'Amon', 'frequency': 'mon', 'check_level': <CheckLevels.CRITICAL: 4>})
They are retrievable from the logs yes, but a user will be much happier to grab this info straight from a dedicated log file.
These type of logs can also be used to produce correct dataset issues using our new dataset issue template.
Would you be able to help out?
Would you have the time and skills to implement the solution yourself?
Yeps, just waiting on both #307 and #374 to be merged