Open
Description
Add exp and variable name in the error line:
for file in tqdm(exp_files):
ctag=' exp: {:10}, var: {:15} : '.format(experiment_name,file.split('_')[0])
then for all the relevant error messages:
f.write(' - ERROR: '+ctag+' ...
then
grep ERROR ismip6/compliance_checker_log.txt > error_summary.txt
output:
- ERROR: exp: expAE02 , var: libmassbfgr : The maximum value (5.067233360023238e-06) is out of range. Max value accepted: 0.0
- ERROR: exp: expAE02 , var: libmassbfgr : the experiment ends on 2300-06-01. The date should be comprised between 2300-06-30 and 2301-01-01
- ERROR: exp: expAE02 , var: acabf : the experiment ends on 2300-06-01. The date should be comprised between 2300-06-30 and 2301-01-01
- ERROR: exp: expAE02 , var: lifmassbf : The minimum value (-0.14250321686267853) is out of range. Min value accepted: 0.0
- ERROR: exp: expAE02 , var: lifmassbf : the experiment ends on 2300-06-01. The date should be comprised between 2300-06-30 and 2301-01-01
- ERROR: exp: expAE02 , var: libmassbffl : the experiment ends on 2300-06-01. The date should be comprised between 2300-06-30 and 2301-01-01
- ERROR: exp: expAE02 , var: dlithkdt : the experiment ends on 2300-06-01. The date should be comprised between 2300-06-30 and 2301-01-01
- ERROR: exp: expAE02 , var: strbasemag : The maximum value (3776740.0) is out of range. Max value accepted: 200000.0
- ERROR: exp: expAE02 , var: yvelmean : The maximum value (0.00043485936475917697) is out of range. Max value accepted: 0.0004
- ERROR: exp: expAE02 , var: ligroundf : The minimum value (-0.055594418197870255) is out of range. Min value accepted: 100000.0
- ERROR: exp: expAE02 , var: ligroundf : the experiment ends on 2300-06-01. The date should be comprised between 2300-06-30 and 2301-01-01
Now it is very easy to see the error and to check what variable, what experience is raising error and then check and decide what to do.
Metadata
Metadata
Assignees
Labels
No labels