It appears the code is bombing if it can't find data, rather than skipping (the preferred result):
ref is: all
refs: [u'default', u'alternate', u'ref3']
OBS SHAPE IS (12, 72, 144)
psl GFDL-CM4 (12, 72, 144) (12, 72, 144) default
/home/Paul.Durack/140701_metrics/WGNE/bin/wgne_metrics_driver.py:241: UserWarning: Model and observation units differed, converted model (hPa) to observation unit (Pa)
warnings.warn("Model and observation units differed, converted model (%s) to observation unit (%s)" % (dm.units,do.units))
---- shapes (12, 72, 144) (12, 72, 144)
psl annual mean bias is 19.1959297534
---- shapes (12, 24, 144) (12, 24, 144)
psl annual mean bias is -199.580140365
---- shapes (12, 24, 144) (12, 24, 144)
psl annual mean bias is 100.163863037
---- shapes (12, 24, 144) (12, 24, 144)
psl annual mean bias is 157.004066588
Traceback (most recent call last):
File "/home/Paul.Durack/140701_metrics/WGNE/bin/wgne_metrics_driver.py", line 171, in <module>
metrics_dictionary["References"][ref] = obs_dic[var][obs_dic[var][ref]]
KeyError: u'rnl_ncep'